mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[MIG] rma_operating_unit: migration to 14.0
This commit is contained in:
committed by
Aaron ForgeFlow
parent
cddc0324cf
commit
7737ceddfb
@@ -1,4 +1,4 @@
|
||||
# © 2017-19 Eficent Business and IT Consulting Services S.L.
|
||||
# Copyright 2017-23 ForgeFlow S.L.
|
||||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
||||
|
||||
from odoo import _, api, fields, models
|
||||
@@ -9,7 +9,6 @@ class RmaOrder(models.Model):
|
||||
|
||||
_inherit = "rma.order"
|
||||
|
||||
@api.multi
|
||||
@api.constrains("rma_line_ids", "rma_line_ids.operating_unit_id")
|
||||
def _check_operating_unit(self):
|
||||
for rma in self:
|
||||
|
||||
Reference in New Issue
Block a user