From 75add2e5c1cc64d3b47fa4f40e22b05692ae18d0 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 21 Jun 2022 16:07:51 +0700 Subject: refactor biaya kirim --- indoteknik_custom/models/x_biaya_kirim.py | 1 - 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 @@ - - - - - + + + + + @@ -23,17 +23,17 @@

- +

- - - - - - + + + + + + -- cgit v1.2.3