diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-09-03 10:18:13 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-09-03 10:18:13 +0700 |
| commit | 1e460c8ed2bc6cf3c72813c37129abca981d4b44 (patch) | |
| tree | a29d0a4c1ea26f059399064624fcf32d2cbc8481 | |
| parent | 0b2e64dd95b42eb26c5ae92d08b176591d542a0b (diff) | |
| parent | 836936b33c8206cf5344df189642e7a65f095480 (diff) | |
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
| -rw-r--r-- | indoteknik_custom/models/dunning_run.py | 4 | ||||
| -rw-r--r-- | indoteknik_custom/views/dunning_run.xml | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/indoteknik_custom/models/dunning_run.py b/indoteknik_custom/models/dunning_run.py index d75d7c51..90159cd0 100644 --- a/indoteknik_custom/models/dunning_run.py +++ b/indoteknik_custom/models/dunning_run.py @@ -27,6 +27,10 @@ class DunningRun(models.Model): shipper_faktur_id = fields.Many2one('delivery.carrier', string='Shipper Faktur') is_validated = fields.Boolean(string='Validated') notification = fields.Char(string='Notification') + is_paid = fields.Boolean(string='Paid') + description = fields.Char(string='Description') + comment = fields.Char(string='Comment') + def copy_date_faktur(self): if not self.is_validated: diff --git a/indoteknik_custom/views/dunning_run.xml b/indoteknik_custom/views/dunning_run.xml index 567d5e8c..dd5bb120 100644 --- a/indoteknik_custom/views/dunning_run.xml +++ b/indoteknik_custom/views/dunning_run.xml @@ -77,6 +77,13 @@ <page id="invoice_tab" string="Invoices"> <field name="dunning_line"/> </page> + <page id="others_tab" string="Others"> + <group> + <field name="is_paid" readonly="1"/> + <field name="description" readonly="1"/> + <field name="comment" readonly="1"/> + </group> + </page> </notebook> </sheet> <div class="oe_chatter"> |
