04-17-2013, 05:23 PM,
(This post was last modified: 04-17-2013, 05:29 PM by PakRicard.)
|
|
PakRicard
Senior Member
   
|
Posts: 252
Threads: 81
Joined: Jan 2012
|
|
Credit_Invoice.php in 4.10.1 won't credit
Hi:
Just after upgrading from 4.09.1 to 4.10.1 Credit_Invoice will not credit properly.
-Select one customer
-Customer Transactions Inquiry
-Click on credit on any of customer's invoice (with more than 1 item, pls)
-Delete one item from the Credit note
Then the list of items of the credit note appears empty (and it should not be an empty list).
Also the PDF created is an empty page.
Using old 4.09.1 script works fine.
Regards,
Pak Ricard
|
|
04-18-2013, 11:18 AM,
(This post was last modified: 04-18-2013, 11:22 AM by PakRicard.)
|
|
PakRicard
Senior Member
   
|
Posts: 252
Threads: 81
Joined: Jan 2012
|
|
RE: Credit_Invoice.php in 4.10.1 won't credit
Tim just sent me the fix by email. Already updated to SVN.
All credit to Tim.
UPDATE: I was too fast. i've got error commiting via TortoiseSVN, so could not commit the fix.
Line 408 should read
Code: <td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?identifier=' . $identifier . '&Delete=' . $LnItm->LineNumber . '" onclick="return confirm(\'' . _('Are you sure you wish to delete this item from the credit?') . '\');">' . _('Delete') . '</a></td>
Regards,
Pak Ricard
|
|
04-30-2013, 12:36 PM,
|
|
PakRicard
Senior Member
   
|
Posts: 252
Threads: 81
Joined: Jan 2012
|
|
RE: Credit_Invoice.php in 4.10.1 won't credit
Hi Phil:
After these 2 weeks of test we realized it now does the credit BUT it does not take into account the right location.
If user selects the default credit note type ==> Goods returned to store BUT changes the default location shown, the goods are always returned to the default location, not the desired one.
Never got this bug report from my team, so I suppose was due to the 4.09 to 4.10 change of script.
Regards,
Pak Ricard
|
|
04-30-2013, 11:40 PM,
(This post was last modified: 05-01-2013, 12:29 PM by MacPhotoBiker.)
|
|
MacPhotoBiker
Senior Member
   
|
Posts: 149
Threads: 34
Joined: Dec 2012
|
|
RE: Credit_Invoice.php in 4.10.1 won't credit
Hi guys,
please let me use the above example for a more generic question: I´ve seen there was a bug fix now. In general, what´s the best way to get all bug fixes? Probably it´s waiting for the next release, but I was wondering if there was another way.
MacPhotoBiker
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
|
|
05-01-2013, 09:26 AM,
|
|
phil
Administrator
      
|
Posts: 1,239
Threads: 14
Joined: Jan 2012
|
|
RE: Credit_Invoice.php in 4.10.1 won't credit
Several ways... you can see the new code committed here:
https://sourceforge.net/p/web-erp/code/commit_browser
You can then download the various updated scripts as required
OR
You can subscribe to the list at
https://lists.sourceforge.net/lists/list...eb-erp-svn
as for every change in the code a message is sent to this list showing what the change was - you can then download the changed files as necessary.
OR
You can subscribe to the svn (Subversion Repository) using Tortoise SVN or similar (assuming you are a windows user.
There is some info at:
http://www.weberp.org/Development.html
and
http://tortoisesvn.net/
If you are using linux then most distros would have an svn client
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
|
|
05-01-2013, 12:15 PM,
|
|
MacPhotoBiker
Senior Member
   
|
Posts: 149
Threads: 34
Joined: Dec 2012
|
|
RE: Credit_Invoice.php in 4.10.1 won't credit
Phil,
thank you very much, now that is really a valuable source of information. Regarding webERP, I´m usually more interested in the frontend than in the backend, but since I´m running my own VPS web server on a LAMP stack, I just started to dig a bit into PHP. (Interesting you mentioned Linux, I´m just waiting any day now to receive my fancy new "Linux only" laptop, and the SVN client will certainly be one of the first programs I´ll set up  )
The longer I use webERP, the more I like it. Sure, there are issues and even one or the other bug (like in any software), but it´s great to see that there is a lively forum, and even more important that you take comments and suggestions into consideration. To me this adds significantly to the usability of the software - and to the fun factor, obviously!
Thanks a lot.
MacPhotoBiker
Just Core Business Inc.
[url]http://www.justcorebusiness.com[/url]
|
|
05-01-2013, 05:44 PM,
|
|
PakRicard
Senior Member
   
|
Posts: 252
Threads: 81
Joined: Jan 2012
|
|
RE: Credit_Invoice.php in 4.10.1 won't credit
(04-30-2013, 12:36 PM)PakRicard Wrote: Hi Phil:
After these 2 weeks of test we realized it now does the credit BUT it does not take into account the right location.
If user selects the default credit note type ==> Goods returned to store BUT changes the default location shown, the goods are always returned to the default location, not the desired one.
Never got this bug report from my team, so I suppose was due to the 4.09 to 4.10 change of script.
Hi: tried to strip this script but could not find the offending lines. I suppose it should be a wrong variable assignment but couldn't find it.
Any help will be appreciated.
Regards,
Pak Ricard
|
|
|