Few issues with purchase orders - Printable Version +- webERP Forum (http://www.weberp.org/forum) +-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1) +--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8) +--- Thread: Few issues with purchase orders (/showthread.php?tid=1935) |
Few issues with purchase orders - MacPhotoBiker - 10-08-2013 I just recently upgraded to version 4.11.0. When processing purchase orders, I'm finding the following issues: 1) When creating a purchase order based on a sales order, I get a confirmation that the PO was created. However, when I try to print it, I get "PO can not be located" (we had this issue also in 4.10) 2) When creating a PO from scratch, it's now more restrictive than before on the phone number. I usually put the area code in brackets for better readability, but I now get "please match the format requested". I understand that usually input patterns should be rather restrictive, but disallowing brackets in phone numbers is maybe a bit too resctrictive RE: Few issues with purchase orders - phil - 10-08-2013 Thanks MacPhotoBiker for the report - if you open up the script PO_Header.php and go to line 1018 - and change to: Code: <td><input type="tel" name="Tel" pattern="[0-9+()\-\s]*" size="31" maxlength="30" value="' . $_SESSION['PO' . $identifier]->Tel . '" /></td> the key bit is: Code: pattern="[0-9+()\-\s]*" I will need to look in more detail at the first issue. RE: Few issues with purchase orders - MacPhotoBiker - 10-08-2013 Thanks a lot Phil. Btw., I (finally) decided to dive into PHP, so I hope that one day I might improve my comments from "constructive criticisim" to "constructive contributions" RE: Few issues with purchase orders - phil - 10-08-2013 Hopefully you will enjoy playing with the code as much as I have :-) RE: Few issues with purchase orders - MacPhotoBiker - 10-10-2013 Hi Phil, sorry, I had a look at an older thread, and I thought maybe it relates to the same issue? http://www.weberp.org/forum/showthread.php?tid=981 Thank you! Gert RE: Few issues with purchase orders - phil - 10-10-2013 It does too .... bum I didn't update the code with that fix. I see Exson has though now :-) RE: Few issues with purchase orders - MacPhotoBiker - 10-11-2013 Great Phil, thanks a lot. I will then update via SVN, that should do the job. Thanks again! |