summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/dunning_run.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-11-15 10:32:45 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-11-15 10:32:45 +0700
commit4730df5bf97724cd906c8118178407bfbf206bca (patch)
tree7d5c418d1049204ecd21b2a5ac8e8cbae354a8ec /indoteknik_custom/models/dunning_run.py
parent132d4b80f3d5dad792468bd14961f6a9540122e2 (diff)
parent49846bc78d282516092c6c63db63d4ea01d42949 (diff)
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/models/dunning_run.py')
-rw-r--r--indoteknik_custom/models/dunning_run.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/dunning_run.py b/indoteknik_custom/models/dunning_run.py
index 8e5b2c19..abfd68be 100644
--- a/indoteknik_custom/models/dunning_run.py
+++ b/indoteknik_custom/models/dunning_run.py
@@ -10,6 +10,7 @@ class DunningRun(models.Model):
_name = 'dunning.run'
_description = 'Dunning Run'
_order = 'dunning_date desc, id desc'
+ _rec_name = 'number'
number = fields.Char(string='Document No', index=True, copy=False, readonly=True)
dunning_date = fields.Date(string='Dunning Date', required=True)