mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[13.0][MIG] rma_purchase
This commit is contained in:
committed by
Chanakya Soni
parent
55c0b05234
commit
c76a65f887
@@ -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