From fe6b304a65fd7e576382d871558b3c404b9dd40a Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Mon, 7 Oct 2024 10:06:40 +0700 Subject: push --- indoteknik_custom/models/__init__.py | 1 + indoteknik_custom/models/partner.py | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 indoteknik_custom/models/partner.py (limited to 'indoteknik_custom/models') diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py index a0064c06..7b41a5fe 100755 --- a/indoteknik_custom/models/__init__.py +++ b/indoteknik_custom/models/__init__.py @@ -129,3 +129,4 @@ from . import approval_date_doc from . import account_tax from . import approval_unreserve from . import vendor_approval +from . import partner diff --git a/indoteknik_custom/models/partner.py b/indoteknik_custom/models/partner.py new file mode 100644 index 00000000..46dc751a --- /dev/null +++ b/indoteknik_custom/models/partner.py @@ -0,0 +1,7 @@ +from odoo import fields, models, api, _ +from odoo.exceptions import AccessError, UserError, ValidationError + +class kota(models.Model): + _inherit = 'vit.kota' + + is_jabodetabek = fields.Boolean(string='Jabodetabek', default=False) \ No newline at end of file -- cgit v1.2.3