diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-11-24 15:09:25 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-11-24 15:09:25 +0700 |
| commit | 61aabd2a7be015a19d9a16d8e160f5a3c3c6efaf (patch) | |
| tree | 8f72eff6248321320d8cb433769124a594f431b8 /indoteknik_custom/models | |
| parent | 25f4403de98f1494fb1d5952e9eb32bfe3bf061d (diff) | |
add salesperson on due extension line
Diffstat (limited to 'indoteknik_custom/models')
| -rw-r--r-- | indoteknik_custom/models/account_move_due_extension.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/account_move_due_extension.py b/indoteknik_custom/models/account_move_due_extension.py index 3c64aae3..828be824 100644 --- a/indoteknik_custom/models/account_move_due_extension.py +++ b/indoteknik_custom/models/account_move_due_extension.py @@ -195,6 +195,7 @@ class DueExtensionLine(models.Model): invoice_id = fields.Many2one('account.move', string='Invoice') date_invoice = fields.Date(string='Invoice Date') efaktur_id = fields.Many2one('vit.efaktur', string='Faktur Pajak') + user_id = fields.Many2one('res.users', string='Salesperson', related='invoice_id.invoice_user_id') reference = fields.Char(string='Reference') total_amt = fields.Float(string='Total Amount') open_amt = fields.Float(string='Open Amount') |
