diff options
| author | Goffin Simon <sig@odoo.com> | 2016-05-12 10:52:40 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-05-12 13:05:52 +0200 |
| commit | 7061acd2c14fdde07633f6a78a0ab72a1aafc871 (patch) | |
| tree | 8c64e956aa6aae218faed7faafc00ba88bb4ec38 /addons/web/static/src/js | |
| parent | 3a32021122c503d64aee960124f0bc70222ce972 (diff) | |
[FIX] purchase: fiscal position from onchange_partner_id
Used case:
-Configure admin as multi-company user
-Create 2 fiscal positions (one for company "Odoo BE" and one for company "Odoo US")
-Set admin on company "Odoo BE"
-On supplier (Asustek) configure fiscal position Odoo BE
-Set admin on company "Odoo US"
-On supplier (Asustek) configure fiscal position Odoo US
-Configure a product (Laptop E5023) with:
*route "Buy"
*supplier (Asustek) without company
*reordering rules (min qty: 20, max qty: 40)
-Set admin on company "Odoo BE"
-Run scheduler via the cron
Behavior before the fix:
-Fiscal position on the created PO is the fiscal position for "Odoo BE" (and PO is for the company "Odoo US")
Behavior after the fix:
-Fiscal position on the create PO is the fiscal position for "Odoo US".
Closes #11537
opw:673288
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
