This commit fixes premature usage of `purchase_price` field on sale.order.line model, before its definition in sale_margin module. Since this test requires both sale_mrp and sale_stock_margin to pass, this commit adds an auto-install bridge module that solely address this issue. Steps to reproduce: - Install sale_mrp module - Run tests (at least .test_kit_cost_calculation) Problem: Traceback: AttributeError: 'sale.order.line' object has no attribute 'purchase_price' See #100126 closes #104891 closes odoo/odoo#105458 X-original-commit: ac921c88909110deefa9b91be104244bda12458f Signed-off-by: Djamel Touati (otd) <otd@odoo.com> Co-authored-by: Thibault Libioulle <thibault.libioulle@aerospacelab.be>
3 lines
99 B
Python
3 lines
99 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|