diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-31 21:40:53 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-31 21:40:53 +0700 |
| commit | 5374f1741bc3c3718a89884d9c5b7f36aa1d1e25 (patch) | |
| tree | 80d88741ee5a652a4564dec6966a6c4a71fd007d | |
| parent | 2d46030560670a0d016012465447ea37b0242581 (diff) | |
| parent | b1cec830168ab113627bd10383f80d0e33c5b680 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into cr_renca_find
merge
| -rw-r--r-- | indoteknik_custom/models/account_move.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py index b05ec7ff..37808f94 100644 --- a/indoteknik_custom/models/account_move.py +++ b/indoteknik_custom/models/account_move.py @@ -776,10 +776,10 @@ class AccountMove(models.Model): # if not self.env.user.is_accounting: # raise UserError('Hanya Accounting yang bisa Posting') # if self._name == 'account.move': - for entry in self: - entry.date_completed = datetime.utcnow() - for line in entry.line_ids: - line.date_maturity = entry.date + # for entry in self: + # entry.date_completed = datetime.utcnow() + # for line in entry.line_ids: + # line.date_maturity = entry.date return res def button_draft(self): @@ -957,4 +957,4 @@ class SyncPromiseDateWizardLine(models.TransientModel): new_invoice_day_to_due = fields.Integer(related="invoice_id.new_invoice_day_to_due", string="New Day Due", readonly=True) date_terima_tukar_faktur = fields.Date(related="invoice_id.date_terima_tukar_faktur", string="Tanggal Terima Tukar Faktur", readonly=True) amount_total = fields.Monetary(related="invoice_id.amount_total", string="Total", readonly=True) - currency_id = fields.Many2one(related="invoice_id.currency_id", readonly=True)
\ No newline at end of file + currency_id = fields.Many2one(related="invoice_id.currency_id", readonly=True) |
