mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_reconciliation_widget: fix JS crash when there are not taxes
This commit is contained in:
@@ -601,6 +601,7 @@ odoo.define("account.ReconciliationRenderer", function (require) {
|
|||||||
}
|
}
|
||||||
if (fieldName === "tax_ids") {
|
if (fieldName === "tax_ids") {
|
||||||
if (
|
if (
|
||||||
|
state.createForm[fieldName] === undefined ||
|
||||||
!state.createForm[fieldName].length ||
|
!state.createForm[fieldName].length ||
|
||||||
state.createForm[fieldName].length > 1
|
state.createForm[fieldName].length > 1
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user