Merge lp:~alejandrosantana/ocb-addons/7.0-ocb-addons-fix-bug-1089229 into lp:ocb-addons
Proposed by
Alejandro Santana
Status: | Work in progress |
---|---|
Proposed branch: | lp:~alejandrosantana/ocb-addons/7.0-ocb-addons-fix-bug-1089229 |
Merge into: | lp:ocb-addons |
Diff against target: |
22 lines (+2/-2) 1 file modified
sale/report/sale_order.rml (+2/-2) |
To merge this branch: | bzr merge lp:~alejandrosantana/ocb-addons/7.0-ocb-addons-fix-bug-1089229 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alejandro Santana (community) | Needs Information | ||
Holger Brunn (Therp) | code review | Needs Fixing | |
Review via email: mp+202233@code.launchpad.net |
Commit message
[FIX] Fixes the sales order report to show correctly the unit price if UoS is definied.
Description of the change
[FIX] Fixes the sales order report to show correctly the unit price if UoS is definied.
Before, it showed the price of UoM, even if a UoS was defined, thus resulting in an invoice with wrong lines, which may be considered illegal.
To post a comment you must log in.
Unmerged revisions
- 9855. By Alejandro Santana
-
[FIX] Fixes the sales order report to show correctly the unit price if UoS is definied.
8: I think you should be using product_ id.uos_ coeff
16: don't you also have to do something with price_subtotal? If so, I'd better change _amount_line in sale.py. Otherwise, please avoid whitespace only changes.