diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-06-21 16:07:51 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-06-21 16:07:51 +0700 |
| commit | 75add2e5c1cc64d3b47fa4f40e22b05692ae18d0 (patch) | |
| tree | 084d0f961061b048c45e573017dda5ad28dcda2e /indoteknik_custom | |
| parent | c14bfc6a2651ccb41a84f3b5c0fc1041e516765c (diff) | |
refactor biaya kirim
Diffstat (limited to 'indoteknik_custom')
| -rw-r--r-- | indoteknik_custom/models/x_biaya_kirim.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/views/x_biaya_kirim.xml | 24 |
2 files changed, 12 insertions, 13 deletions
diff --git a/indoteknik_custom/models/x_biaya_kirim.py b/indoteknik_custom/models/x_biaya_kirim.py index 55e36bc2..5bf48c62 100644 --- a/indoteknik_custom/models/x_biaya_kirim.py +++ b/indoteknik_custom/models/x_biaya_kirim.py @@ -4,7 +4,6 @@ from odoo import models, fields class XBiayaKirim(models.Model): _name = "x_biaya_kirim" _description = "Biaya Kirim" - _rec_name = "x_name" name = fields.Char(string="Name") biaya_kirim = fields.Integer(string="Biaya Kirim") diff --git a/indoteknik_custom/views/x_biaya_kirim.xml b/indoteknik_custom/views/x_biaya_kirim.xml index 13393573..f8291b70 100644 --- a/indoteknik_custom/views/x_biaya_kirim.xml +++ b/indoteknik_custom/views/x_biaya_kirim.xml @@ -6,11 +6,11 @@ <field name="arch" type="xml"> <tree> <field name="id"/> - <field name="x_name"/> - <field name="x_studio_field_Ww89j"/> - <field name="x_studio_field_KKYEj"/> - <field name="x_studio_field_8GRtX"/> - <field name="x_studio_field_XusU9"/> + <field name="name"/> + <field name="delivery_carrier_id"/> + <field name="kecamatan_id"/> + <field name="biaya_kirim"/> + <field name="estimasi_kirim"/> </tree> </field> </record> @@ -23,17 +23,17 @@ <sheet> <div class="oe_title"> <h1> - <field name="x_name" required="1"/> + <field name="name" required="1"/> </h1> </div> <group> <group> - <field name="x_studio_field_Ww89j"/> - <field name="x_studio_field_KKYEj"/> - <field name="x_studio_field_8GRtX"/> - <field name="x_studio_field_XusU9"/> - <field name="x_studio_field_BSNiA"/> - <field name="x_studio_field_CxtaQ"/> + <field name="delivery_carrier_id"/> + <field name="kecamatan_id"/> + <field name="biaya_kirim"/> + <field name="estimasi_kirim"/> + <field name="gratis_ongkir"/> + <field name="minimum_kg"/> </group> <group/> </group> |
