diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-09-22 22:12:59 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-09-22 22:12:59 +0000 |
| commit | 3ca958274d357d5e76d4bca7b141ffa2acc5b228 (patch) | |
| tree | 0491bbfe2517570617cd2cc658dd62043b55745d /indoteknik_custom/models/res_partner.py | |
| parent | 84bfce78983a3bac22e647740aeeda2e88426310 (diff) | |
| parent | 68594ca366d77396d9d2c8e707043fcb28a303f7 (diff) | |
Merged in cbd_lock (pull request #429)
Cbd lock
Diffstat (limited to 'indoteknik_custom/models/res_partner.py')
| -rw-r--r-- | indoteknik_custom/models/res_partner.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/models/res_partner.py b/indoteknik_custom/models/res_partner.py index 36570e8f..8aaee47e 100644 --- a/indoteknik_custom/models/res_partner.py +++ b/indoteknik_custom/models/res_partner.py @@ -194,6 +194,12 @@ class ResPartner(models.Model): default=_default_payment_term, tracking=3 ) + previous_payment_term_id = fields.Many2one( + 'account.payment.term', + string='Previous Payment Term', + readonly=True + ) + @api.depends("street", "street2", "city", "state_id", "country_id", "blok", "nomor", "rt", "rw", "kelurahan_id", "kecamatan_id") |
