diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-07-25 08:53:19 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-07-25 08:53:19 +0000 |
| commit | 5ead2c84fb9b56d51520f77af8227160b56aeaca (patch) | |
| tree | 4c0e32918e1ddf4e7a3e9116d3abb186ad417c7f /indoteknik_custom/models/account_move.py | |
| parent | c344ccd81208b5b466ae047dbb9e084dd5d0f358 (diff) | |
| parent | e933a05e9b03e489b581f27d1aa304774aafc320 (diff) | |
Merged in production (pull request #68)
Production
Diffstat (limited to 'indoteknik_custom/models/account_move.py')
| -rw-r--r-- | indoteknik_custom/models/account_move.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py index 33fb73b5..4db97706 100644 --- a/indoteknik_custom/models/account_move.py +++ b/indoteknik_custom/models/account_move.py @@ -115,4 +115,11 @@ class AccountMove(models.Model): add_days += line.days due_date = tukar_date + timedelta(days=add_days) invoice.invoice_date_due = due_date -
\ No newline at end of file + + def open_form_multi_update(self): + action = self.env['ir.actions.act_window']._for_xml_id('indoteknik_custom.action_account_move_multi_update') + action['context'] = { + 'move_ids': [x.id for x in self] + } + return action +
\ No newline at end of file |
