diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-09-03 10:16:32 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-09-03 10:16:32 +0700 |
| commit | 836936b33c8206cf5344df189642e7a65f095480 (patch) | |
| tree | 7ba554b6a583e9257093e369b37d437b006c1dc2 | |
| parent | 5b376d68e62b5d06ff5665b405acc99b89448f06 (diff) | |
add others info in dunning run
| -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"> |
