diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-09-06 13:59:28 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-09-06 13:59:28 +0700 |
| commit | 4986c63d2a6bd8e2feadbd2403a211b0b0cf405f (patch) | |
| tree | b80d2d415b887a7ab66c9d55d5a4857d34142bea /indoteknik_custom/models/account_move.py | |
| parent | ea48748650d1abe7b9c09f961eaa3762750e21be (diff) | |
| parent | e07379886024a313695a56ebdd072bfd87b6626a (diff) | |
Merge branch 'production' into feature/voucher-group
Diffstat (limited to 'indoteknik_custom/models/account_move.py')
| -rw-r--r-- | indoteknik_custom/models/account_move.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py index 9e7266b1..18025b32 100644 --- a/indoteknik_custom/models/account_move.py +++ b/indoteknik_custom/models/account_move.py @@ -20,6 +20,8 @@ class AccountMove(models.Model): due_extension = fields.Integer(string='Due Extension', default=0) new_due_date = fields.Date(string='New Due') counter = fields.Integer(string="Counter", default=0) + cost_centre_id = fields.Many2one('cost.centre', string='Cost Centre') + analytic_account_ids = fields.Many2many('account.analytic.account', string='Analytic Account') due_line = fields.One2many('due.extension.line', 'invoice_id', compute='_compute_due_line', string='Due Extension Lines') def _compute_due_line(self): |
