diff options
| -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"> |
