[FIX] l10n_id_efaktur: Fix occurrences of account.move.type
Since the saas-13.3 account.move.type has been renamed to account.move.move_type, but there are still two places where move.type is missused. This commit will correct one of them. task id #2320980 closes odoo/odoo#57088 X-original-commit: fb8adec848921b4a13a8c5757e67df330d56a2e5 Related: odoo/enterprise#12949 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com> Signed-off-by: Nicolas Viseur <vin-odoo@users.noreply.github.com>
This commit is contained in:
@@ -56,7 +56,7 @@ class AccountMove(models.Model):
|
||||
@api.depends('partner_id')
|
||||
def _compute_need_kode_transaksi(self):
|
||||
for move in self:
|
||||
move.l10n_id_need_kode_transaksi = move.partner_id.l10n_id_pkp and not move.l10n_id_tax_number and move.type == 'out_invoice' and move.country_code == 'ID'
|
||||
move.l10n_id_need_kode_transaksi = move.partner_id.l10n_id_pkp and not move.l10n_id_tax_number and move.move_type == 'out_invoice' and move.country_code == 'ID'
|
||||
|
||||
@api.constrains('l10n_id_kode_transaksi', 'line_ids')
|
||||
def _constraint_kode_ppn(self):
|
||||
|
||||
Reference in New Issue
Block a user