-
- Downloads
[FIX] *: remove buggy calls to with_context
When .with_context() is called with a dictionary as 1st positional
argument, it will replace context (and not modify the referenced keys)
It may create bugs when losing the content of the context (e.g. remove
partner's language)
This is a cherry-pick to saas-12.5 of odoo/odoo#36164 of the logistic
part as discussed
closes odoo/odoo#36690
Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
Showing
- addons/purchase_requisition/models/purchase.py 4 additions, 4 deletionsaddons/purchase_requisition/models/purchase.py
- addons/purchase_stock/models/stock_rule.py 4 additions, 4 deletionsaddons/purchase_stock/models/stock_rule.py
- addons/sale_purchase/models/sale_order.py 4 additions, 4 deletionsaddons/sale_purchase/models/sale_order.py
- addons/stock/models/product.py 1 addition, 1 deletionaddons/stock/models/product.py
- addons/stock/models/stock_location.py 1 addition, 1 deletionaddons/stock/models/stock_location.py
- addons/stock/wizard/stock_backorder_confirmation.py 1 addition, 1 deletionaddons/stock/wizard/stock_backorder_confirmation.py
Loading
Please register or sign in to comment