Merge lp:~openerp-dev/openobject-addons/6.1-opw-581957-rha into lp:openobject-addons/6.1
Proposed by
Rifakat Husen (OpenERP)
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-581957-rha |
Merge into: | lp:openobject-addons/6.1 |
Diff against target: |
12 lines (+1/-1) 1 file modified
purchase/purchase.py (+1/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-581957-rha |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) | Pending | ||
Review via email: mp+135880@code.launchpad.net |
Description of the change
Hello,
Fixed issue for invoice rate of the purchase order. It cumulates amount of supplier
invoice and supplier refund invoice.
My fix calculates the rate by considering invoice amount - refund amount.
Please provide your remark if any.
Regards,
Rifakat Haradwala
To post a comment you must log in.
Unmerged revisions
- 7079. By Rifakat Husen (OpenERP)
-
[FIX] purchase: calculated rate for in invoice by excluding refund
Rifakat,
I recommend to take the code of sale.py as a reference.
The min() should better be used in order to limit it to 100%.
Thanks.