mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[13.0][FIX/IMP] Make RMA Operation settings company dependent
This commit is contained in:
committed by
Carlos Vallés Fuster
parent
55fdf4508a
commit
80ea8e3c24
@@ -8,11 +8,14 @@ class ProductTemplate(models.Model):
|
||||
_inherit = "product.template"
|
||||
|
||||
rma_customer_operation_id = fields.Many2one(
|
||||
company_dependent=True,
|
||||
comodel_name="rma.operation", string="Default RMA Customer Operation"
|
||||
)
|
||||
rma_supplier_operation_id = fields.Many2one(
|
||||
company_dependent=True,
|
||||
comodel_name="rma.operation", string="Default RMA Supplier Operation"
|
||||
)
|
||||
rma_approval_policy = fields.Selection(
|
||||
related="categ_id.rma_approval_policy", readonly=True
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user