Notes |
|
(0107268)
|
hgbot
|
2018-10-15 10:10
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5fc1593194f81626b9c3c2cd3c242ae56e03cbde
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Aug 02 09:50:50 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fc1593194f81626b9c3c2cd3c242ae56e03cbde [^]
Related to issue 39082: Be able to configure manual discounts to be applied after
automatic discounts
This commit includes:
* Manual promotions are not set in applyPromotionsLat anymore.
* Manual promotions with “Apply after automatic” unchecked are applied in
preAction function.
* Manual promotions with “Apply after automatic” checked are applied in
postAction function.
* Implement new flag “Apply after automatic” to be set in the rule.
---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/executor.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0107269)
|
hgbot
|
2018-10-15 10:10
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 494891672c6394837f20462495f089d65a5c4f2b
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Oct 08 13:16:29 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/494891672c6394837f20462495f089d65a5c4f2b [^]
Related to issue 39082: Be able to configure manual discounts to be applied after
automatic discounts
This commit includes:
* Move manual promotion application to discount executor.
* In preAction function, we apply those manual promotions without
“Apply after automatic” flag checked.
* In postAction function, we apply those manual promotions with
“Apply after automatic” flag checked.
* Modify fillPromotionsStandard function to use the same line as calculated
during applyPromotions to set manual promotions.
---
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/executor.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0107270)
|
hgbot
|
2018-10-15 10:10
|
|
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: b63f0e638df8f4616c92890ff2bfcfd16e27b303
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Aug 02 09:45:18 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/b63f0e638df8f4616c92890ff2bfcfd16e27b303 [^]
Fixed issue 39082: Be able to configure manual discounts to be applied after
automatic discounts
This commit includes:
* Added new column in m_offer called “EM_OBDISC_APPLYAFTER”.
* Added new field in “Discounts and Promotions” window only shown for
discretionary promotions:
* User Defined Percentage
* User Defined Amount
* Discretionary Fixed Amount
* Discretionary Fixed Percentage
---
M src-db/database/model/modifiedTables/M_OFFER.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
|
|
|
(0107271)
|
hgbot
|
2018-10-15 10:11
|
|
|
|
(0107272)
|
hgbot
|
2018-10-15 10:11
|
|
|
|
(0107282)
|
hgbot
|
2018-10-15 10:26
|
|
Repository: tools/automation/pi-mobile
Changeset: 9402e3471b500c248457ec582b183f3f334943a4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Sep 19 09:29:47 2018 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9402e3471b500c248457ec582b183f3f334943a4 [^]
Verifies issue 39082: Be able to configure manual discounts to be applied after
automatic discounts
Add some new automated test.
---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/ManualAfterAutomatic_DiscretionaryDiscountAfterAutomatic.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/ManualAfterAutomatic_DiscretionaryDiscountAfterAutomaticPercent.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/ManualAfterAutomatic_VerifyDiscountWithAmount.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/ManualAfterAutomatic_VerifyDiscountWithoutAmount.java
---
|
|
|
(0108323)
|
hgbot
|
2018-12-07 10:37
|
|
|