diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-06-24 10:05:58 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-06-24 10:05:58 +0700 |
| commit | c3557f2c8b5837285558c8742aa0eb8bb6be1353 (patch) | |
| tree | 64648a182916d904f889071ccea5b31ef10438cd | |
| parent | 4b26288b29d738f37b7e5eba0c88ab19f24b5c1f (diff) | |
change request alamat tempel
| -rw-r--r-- | indoteknik_custom/models/delivery_carrier.py | 1 | ||||
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/views/delivery_carrier.xml | 1 | ||||
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/models/delivery_carrier.py b/indoteknik_custom/models/delivery_carrier.py index b3ae44e9..0bf1f08d 100644 --- a/indoteknik_custom/models/delivery_carrier.py +++ b/indoteknik_custom/models/delivery_carrier.py @@ -6,3 +6,4 @@ class DeliveryCarrier(models.Model): pic_name = fields.Char(string='PIC Name') pic_phone = fields.Char(string='PIC Phone') + address = fields.Char(string='Address') diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index de61fb72..02ac4c5f 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -97,6 +97,7 @@ class SaleOrder(models.Model): ('cust_procurement', 'Customer Procurement') ], string='Web Approval', copy=False) compute_fullfillment = fields.Boolean(string='Compute Fullfillment', compute="_compute_fullfillment") + note_ekspedisi = fields.Char(string="Note Ekspedisi") def _compute_fullfillment(self): for rec in self: diff --git a/indoteknik_custom/views/delivery_carrier.xml b/indoteknik_custom/views/delivery_carrier.xml index 5b2f2c32..ba01b8f2 100644 --- a/indoteknik_custom/views/delivery_carrier.xml +++ b/indoteknik_custom/views/delivery_carrier.xml @@ -9,6 +9,7 @@ <field name="company_id" position="after"> <field name="pic_name"/> <field name="pic_phone"/> + <field name="address"/> </field> </field> </record> diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index d6738759..2ca4dcb3 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -140,6 +140,7 @@ <field name="carrier_id"/> <field name="estimated_arrival_days"/> <field name="picking_iu_id"/> + <field name="note_ekspedisi"/> </field> <field name="carrier_id" position="attributes"> <attribute name="attrs"> |
