-
- Downloads
[FIX] sale,account,purchase_requisition: multi-company
Use correct company to get fiscal positions and properties Ensure company used to fetch fiscal positions is always the correct one when coming from a company restricted model (company_id required, or related.required). purchase: get_fiscal_position doesn't consider company_id ctxt key others: properties were accessed with potentially the wrong company.
Showing
- addons/account/models/account_move.py 1 addition, 1 deletionaddons/account/models/account_move.py
- addons/purchase/models/purchase.py 6 additions, 2 deletionsaddons/purchase/models/purchase.py
- addons/purchase_requisition/models/purchase.py 1 addition, 1 deletionaddons/purchase_requisition/models/purchase.py
- addons/sale/models/account_invoice.py 1 addition, 1 deletionaddons/sale/models/account_invoice.py
- addons/sale/models/sale.py 4 additions, 1 deletionaddons/sale/models/sale.py
- addons/sale_purchase/models/sale_order.py 5 additions, 3 deletionsaddons/sale_purchase/models/sale_order.py
Loading
Please register or sign in to comment