Merge lp:~akretion-team/openobject-addons/trunk_addons_ref_unit_price into lp:openobject-addons
Proposed by
Benoit Guillot - http://www.akretion.com
Status: | Needs review |
---|---|
Proposed branch: | lp:~akretion-team/openobject-addons/trunk_addons_ref_unit_price |
Merge into: | lp:openobject-addons |
Diff against target: |
78 lines (+16/-5) 2 files modified
account/account_invoice.py (+9/-3) sale/sale.py (+7/-2) |
To merge this branch: | bzr merge lp:~akretion-team/openobject-addons/trunk_addons_ref_unit_price |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Victor Tabuenca (OpenERP) (community) | Needs Fixing | ||
Review via email: mp+138190@code.launchpad.net |
Description of the change
Hello,
This merge adds a method : _unit_price_
This method calculate the unit price with the discount
It allows us to override this method in order to customize the unit price.
For instance to round the unit price with discount in order to fix rounding issues.
Best regards,
To post a comment you must log in.
Unmerged revisions
- 8213. By Benoit Guillot - http://www.akretion.com
-
[REF] add a method to calculate the unti price with the discount in sale order and account invoice.
I'm not able to see whatever you've done. Please fix it.