Merge lp:~openerp-dev/openobject-addons/6.1-opw-584326-han into lp:openobject-addons/6.1
Proposed by
Xavier ALT
Status: | Merged |
---|---|
Approved by: | Xavier ALT |
Approved revision: | no longer in the source branch. |
Merged at revision: | 7165 |
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-584326-han |
Merge into: | lp:openobject-addons/6.1 |
Diff against target: |
45 lines (+17/-4) 2 files modified
point_of_sale/point_of_sale.py (+2/-2) point_of_sale/test/01_order_to_payment.yml (+15/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-584326-han |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xavier ALT (community) | Approve | ||
Review via email: mp+150806@code.launchpad.net |
Description of the change
Hi,
When a product has multiple default taxes (for different companies) when computing taxes for point-of-sale we should only consider taxes belonging to the company of the current POS Order - not child companies.
Example:
- You Company (EUR)
- Your Company - Shop0 (EUR)
- Product CPU1:
- Tax 5% (company: Your Company)
- Tax 7% (company: Your Company - Shop0)
When creating a POS Order with a session configure on company "Your Company", a line for "CPU1" should only get "Tax 5%", not "Tax 7%" which belongs to another company.
Regards,
Xavier
To post a comment you must log in.