Merge lp:~openerp-dev/openobject-addons/trunk-opw-578981-port-mma into lp:openobject-addons
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-opw-578981-port-mma |
Merge into: | lp:openobject-addons |
Diff against target: |
33 lines (+4/-1) 2 files modified
account/account_invoice.py (+1/-0) account_anglo_saxon/invoice.py (+3/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-578981-port-mma |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+135322@code.launchpad.net |
Description of the change
Hello,
==> journal entry is incorrect due to loop is executed twice if we have same product in two lines of supplier invoice"
Steps:
==>. Install account_
==>. Now make a supplier invoice with 2 line for same product with 1 quantity of 400(70 price difference) and validate the invoice.
You will see the residual amount is changed to 940 due to two extra move is created(of 70) for price difference so the residual is 940 instead of 800.
code is forward port from 6.1
Thanks,
Mayur
Unmerged revisions
- 8086. By Amit Dodiya (OpenERP)
-
[FIX]account: journal entry is incorrect due to loop is executed twice if we have same product in two lines of supplier invoice