'add tax' field on document item should be visible after removing an existing tax
This commit is contained in:
parent
3f3f2f86d1
commit
0d92d9ccd2
@ -390,10 +390,6 @@ const app = new Vue({
|
|||||||
this.items[item_index].tax_ids.splice(tax_index, 1);
|
this.items[item_index].tax_ids.splice(tax_index, 1);
|
||||||
this.form.items[item_index].tax_ids.splice(tax_index, 1);
|
this.form.items[item_index].tax_ids.splice(tax_index, 1);
|
||||||
|
|
||||||
if (!this.items[item_index].tax_ids.length) {
|
|
||||||
this.items[item_index].add_tax = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.onCalculateTotal();
|
this.onCalculateTotal();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user