diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-05-21 10:18:32 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-05-21 10:18:32 +0700 |
| commit | d6fea32f48e1214768cb56a7f27f3f3bf309e29c (patch) | |
| tree | c948f64f29e7212e935c00d9f3015cf8242083fa | |
| parent | 8da2a7fe0de6f0abe4e35831e5e5560c20b5b627 (diff) | |
dont allow copy field delivery amount
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index fbb5e7a2..d246f37f 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -20,7 +20,7 @@ class SaleOrder(models.Model): ], string='Approval Status', readonly=True, copy=False, index=True, tracking=3) carrier_id = fields.Many2one('delivery.carrier', string='Shipping Method', tracking=3) have_visit_service = fields.Boolean(string='Have Visit Service', compute='_have_visit_service', help='To compute is customer get visit service') - delivery_amt = fields.Float('Delivery Amt') + delivery_amt = fields.Float(string='Delivery Amt', copy=False) shipping_cost_covered = fields.Selection([ ('indoteknik', 'Indoteknik'), ('customer', 'Customer') |
