6.0.2 Multicompany - Product Default Tax (ir.values) only for one company?
Bug #817430 reported by
conexus.at
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Low
|
Unassigned | ||
Odoo Server (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP's Framework R&D |
Bug Description
Hello,
If you setup two companies (A, then B) in 6.0.2 with differnt Chart of Accounts and then
- create a Product with a User from Company B, the Default Tax is applied.
- create a Product with a User from Company A, NO Default Tax is applied.
It seems like the Records (taxes_id, supplier_taxes) in ir.values from Company A are being replaced while configuring the second Chart of Accounts for Company B.
with kind regards,
Related branches
lp://staging/~openerp-dev/openobject-addons/trunk-bug-817430-ara
- Olivier Dony (Odoo): Disapprove
- Mustufa Rangwala (Open ERP) (community): Approve
- qdp (OpenERP): Pending requested
-
Diff: 16 lines (+2/-2)1 file modifiedaccount/account.py (+2/-2)
lp://staging/~openerp-dev/openobject-server/trunk-bug-817430-nch
- Olivier Dony (Odoo): Pending requested
- Vo Minh Thu: Pending requested
-
Diff: 54 lines (+13/-8)1 file modifiedopenerp/addons/base/ir/ir_values.py (+13/-8)
lp://staging/~openerp-dev/openobject-server/trunk-cleanup-ir-values
- Naresh(OpenERP): Pending requested
- OpenERP Core Team: Pending requested
-
Diff: 921 lines (+498/-250)5 files modifiedopenerp/addons/base/ir/ir.xml (+59/-82)
openerp/addons/base/ir/ir_values.py (+380/-162)
openerp/addons/base/security/base_security.xml (+7/-0)
openerp/addons/base/security/ir.model.access.csv (+1/-2)
openerp/addons/base/test/test_ir_values.yml (+51/-4)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-server: | |
status: | Confirmed → Triaged |
status: | Triaged → In Progress |
tags: | added: maintenance |
To post a comment you must log in.
For Testing I added replace=False to the ir_values.set calls in wizard_ multi_charts_ accounts.
After that there are Default Tax Records created for both Companies in ir.values.
But ir.values.get doesn't seem to filter on the company_id, I only get the first record returned that has been found...?