mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[MIG] rma_purchase: Migration to 14.0
This commit is contained in:
committed by
Jordi Ballester Alomar
parent
5e0d08aa5b
commit
1cb2277c5e
@@ -18,7 +18,6 @@ class RmaOperation(models.Model):
|
||||
default="no",
|
||||
)
|
||||
|
||||
@api.multi
|
||||
@api.constrains("purchase_policy")
|
||||
def _check_purchase_policy(self):
|
||||
if self.filtered(lambda r: r.purchase_policy != "no" and r.type != "supplier"):
|
||||
|
||||
Reference in New Issue
Block a user