fix: refs #6942 toBook/toUnbook
This commit is contained in:
parent
3e2abfea2c
commit
798b4f9df0
|
@ -3799,5 +3799,3 @@ INSERT INTO `vn`.`ledgerCompany` SET
|
||||||
|
|
||||||
INSERT INTO `vn`.`ledgerConfig` SET
|
INSERT INTO `vn`.`ledgerConfig` SET
|
||||||
maxTolerance = 0.01;
|
maxTolerance = 0.01;
|
||||||
|
|
||||||
INSERT INTO `vn`.`ledgerConfig` (lastBookEntry, maxTolerance) VALUES (2,0.01);
|
|
||||||
|
|
|
@ -41,8 +41,8 @@ module.exports = Self => {
|
||||||
where: {
|
where: {
|
||||||
and: [
|
and: [
|
||||||
{key: invoiceInId},
|
{key: invoiceInId},
|
||||||
{enlazado: 0},
|
{enlazado: false},
|
||||||
{enlazadoSage: 0}
|
{enlazadoSage: false}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
Loading…
Reference in New Issue