diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-07-09 15:08:42 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-07-09 15:08:42 +0700 |
| commit | a8e8d2b14b4d039c5974250de96b84f6764d1bb6 (patch) | |
| tree | 73bf50e34f36256f12c67078b7634077a3081c55 | |
| parent | 9dba3deae4024bf083220076fccc9295a9ccecf3 (diff) | |
deactivate function sync purchase price po so
| -rwxr-xr-x | indoteknik_custom/models/purchase_order_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py index 8a3b3930..7af84b48 100755 --- a/indoteknik_custom/models/purchase_order_line.py +++ b/indoteknik_custom/models/purchase_order_line.py @@ -82,7 +82,7 @@ class PurchaseOrderLine(models.Model): 'sale_id': sale_id, } - @api.constrains('price_unit') + # @api.constrains('price_unit') def constrains_purchase_price(self): for line in self: matches_so = self.env['purchase.order.sales.match'].search([ |
