Notes |
|
(0076942)
|
hgbot
|
2015-05-04 13:47
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 37235e8d729ae054946c4355d7cc74bf76168b11
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Mon May 04 13:47:04 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/37235e8d729ae054946c4355d7cc74bf76168b11 [^]
fixed issue 29747: removed execution of applypromotions when the receipt is cloning and the receipt is saved when calculate gross is executed
when the receipt is cloning, the apply promotions is disabled, because it is generating multiples calls to cloneReceipt method, and it generates that the receipt cloned is corrupted
So, we have problems of refresh of receipt, for example issue 28457 and 27983. To avoid this problems, the order is saved in database local, when calculate gross is executed (to fix of other way the issue 28457)
And removed the fix to issue 27983, now it is working fine with the change to save the receipt in database local when calculate gross is executed
---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
|
|
|
|
reopened. It is not working fine in the next case:
. new receipt R1
.. add line
. new receipt R2
.. add line
. go to cashup, and cancel cashup -> R1 is displayed
. change to R2
.. add new line -> total is not recalculated |
|
|
(0076986)
|
hgbot
|
2015-05-05 10:54
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e26bd6bc65dde648cf787ee514fe341ad8409d70
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Tue May 05 10:09:54 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e26bd6bc65dde648cf787ee514fe341ad8409d70 [^]
related to issue 29747: backout changeset 4679
It is not working fine when: receipt 1 is created, receipt 2 is created, go to cashup, cancel cashup (receipt 1 is displayed), change to receipt 2, add new line in receipt 2-> total is not refresh
It will be reviewed and fixed in RR15Q3
---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
|
|
|
(0077022)
|
hgbot
|
2015-05-05 16:27
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 89287782a16328b35318df6fb754ae4942d9881e
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Tue May 05 16:26:24 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89287782a16328b35318df6fb754ae4942d9881e [^]
Related to issue 29747: backed out of e26bd6bc65dd
This changeset is undoing a backed out of 37235e8d729a (4679). The fix is ok, but it is falling in one case:
receipt 1 is created, receipt 2 is created, go to cashup, cancel cashup (receipt 1 is displayed), change to receipt 2, add new line in receipt 2-> total is not refresh
---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
|
|
|
(0077041)
|
hgbot
|
2015-05-06 10:05
|
|
Repository: tools/automation/pi-mobile
Changeset: 6c469f043ee4291e5dc980dc0a7df2f9e84c539c
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed May 06 10:04:23 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6c469f043ee4291e5dc980dc0a7df2f9e84c539c [^]
Related to issue 29530, verifies issue 29747: Added the 'I29747_TotalNotUpdatedAfterCashupCancel' test
---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I29747_TotalNotUpdatedAfterCashupCancel.java
---
|
|
|
(0078548)
|
hgbot
|
2015-06-29 09:23
|
|
|
|
(0078550)
|
hgbot
|
2015-06-29 10:52
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 87b76c61d1a027db490ed3e7606c369dcd8f1acf
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jun 29 10:51:56 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87b76c61d1a027db490ed3e7606c369dcd8f1acf [^]
Fixed issue 29747. Prevent problems due to saving wrong property in the order model.
Previously, it could happen that the skipApplyPromotions property was persisted in the database due to calculateGross saving the receipt. Now that cannot happen, as the skipApplyPromotions property is reset to its previous value before calling calculateGross.
If skipApplyPromotions was saved to 'true', this could lead to serious problems as the promotions wouldn't be calculated, which means that in some cases even calculateGross would also not happen, so the ticket total would be wrong.
---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
|
|