summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/sale_order.py
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-04-29 09:24:25 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-04-29 09:24:25 +0700
commit074b99031f5123976bb67aab1cf1a6286464e724 (patch)
tree2809d42a13b35c42ec00d93a40a414e7713a1bc2 /indoteknik_custom/models/sale_order.py
parentb5a42eda62ae2b3536a072b9cb21a61e91a7b49a (diff)
parentca03f0119e33dd62adbf998106378d8e0f4096b6 (diff)
Merge branch 'production' into feature/request-by-abl
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
-rwxr-xr-xindoteknik_custom/models/sale_order.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 88d9aec7..1c85914e 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -40,8 +40,7 @@ class SaleOrder(models.Model):
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]",
help="Dipakai untuk alamat tempel")
real_invoice_id = fields.Many2one(
- 'res.partner', string='Delivery Invoice Address', readonly=True, required=True,
- states={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]},
+ 'res.partner', string='Delivery Invoice Address', required=True,
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]",
help="Dipakai untuk alamat tempel")
fee_third_party = fields.Float('Fee Pihak Ketiga')