[FIX] accounting: cheat sheet reconcile
Before this commit, when doing the reconciliation of the table present in the cheat sheet, the second reconciliation was wrong because the "Invoice 1" should be reconciled with the twos partials payment. This Pr correct that by changing the find parameter to target the partials also. closes odoo/documentation#6896 Task: 3633468 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
a28339b44b
commit
053fb768e6
@ -26,7 +26,7 @@
|
|||||||
state = operations[state]();
|
state = operations[state]();
|
||||||
}).appendTo($rec);
|
}).appendTo($rec);
|
||||||
|
|
||||||
var $1 = $rec.find('td:contains("Invoice 1"), td:contains("Payment 1")')
|
var $1 = $rec.find('td:contains("Invoice 1"), td:contains("Partial payment 1/2"), td:contains("Partial payment 2/2")')
|
||||||
.parent()
|
.parent()
|
||||||
.addClass('invoice1');
|
.addClass('invoice1');
|
||||||
var $2 = $rec.find('td:contains("Invoice 2"), td:contains("Payment 2")')
|
var $2 = $rec.find('td:contains("Invoice 2"), td:contains("Payment 2")')
|
||||||
|
Loading…
Reference in New Issue
Block a user