Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0042961 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Delivery Modes | major | N/A | 2020-01-22 11:12 | 2020-02-06 09:16 | |||
Reporter | nicola_uva | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR20Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a9ff50929d98 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0042961: It's not possible show the delivery mode in the ticket line in red color | |||||||
Description | When the component "delivery mode" is created, missing the "name" property, so is not possible obtain the kind in the custom code. | |||||||
Steps To Reproduce | 1) Create a module 2) Crate a JS file with following code OB.UTIL.HookManager.registerHook('OBPOS_RenderOrderLine', function(args, callbacks) { if (OB.MobileApp.model.hasPermission('OBRDM_EnableDeliveryModes', true)) { var orderline = args.orderline.model; if(orderline.get('obrdmDeliveryMode') === 'PickupInStore'){ args.orderline.$.controlx.addClass('renderOrderLine-pickupstore'); } } }); As you can verify the "controlx" change every time. | |||||||
Proposed Solution | Check the attached file. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0117495) hgbot (developer) 2020-02-06 03:59 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 4405c9c9d9026fa3349497a0293c70a5eae79c6b Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Thu Jan 23 07:35:59 2020 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4405c9c9d9026fa3349497a0293c70a5eae79c6b [^] Fixed issue 42961: It's not possible show the delivery mode in the ticket line in red color - Added "name" property --- M web/org.openbravo.retail.posterminal/js/hookRenderOrderLine.js --- |
(0117496) hgbot (developer) 2020-02-06 04:01 |
Repository: tools/automation/pi-mobile Changeset: a9ff50929d98a154ae10a24f8cbf685f29b17cc0 Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Sun Feb 02 08:48:54 2020 -0500 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a9ff50929d98a154ae10a24f8cbf685f29b17cc0 [^] Fixed issue 42961: It's not possible show the delivery mode in the ticket line in red color - TestId updated --- M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/TestIdExtModules.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/deliverymodes/I39897_VerifyCRWithDeliveryModes.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/deliverymodes/deliveryrates/DeliveryRates_PayInDelivery_TwoDeliveryServices.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/deliverymodes/deliveryrates/DeliveryRates_PayInTicket_TwoDeliveryServices.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/orderpreparationawo/OP_Test12_PickingAndDeliveredQtyInOpenedTicket.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/orderpreparationawo/OP_Test18_PickingsFromDiferentWarehouses.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/orderpreparationawo/OP_Test19_PickingsWithProductWithServiceRelatedUniqueQuantity.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/orderpreparationawo/OP_Test20_PickingsWithProductWithServiceRelatedPerProduct.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2020-01-22 11:12 | nicola_uva | New Issue | |
2020-01-22 11:12 | nicola_uva | Assigned To | => Retail |
2020-01-22 11:12 | nicola_uva | File Added: suggestedSolution.diff | |
2020-01-22 11:12 | nicola_uva | OBNetwork customer | => Gold |
2020-01-22 11:12 | nicola_uva | Resolution time | => 1580684400 |
2020-01-22 11:12 | nicola_uva | Triggers an Emergency Pack | => No |
2020-01-22 11:38 | martinsdan | Issue Monitored: martinsdan | |
2020-01-22 12:58 | rqueralta | Assigned To | Retail => rqueralta |
2020-01-22 12:58 | rqueralta | Status | new => scheduled |
2020-02-06 03:59 | hgbot | Checkin | |
2020-02-06 03:59 | hgbot | Note Added: 0117495 | |
2020-02-06 03:59 | hgbot | Status | scheduled => resolved |
2020-02-06 03:59 | hgbot | Resolution | open => fixed |
2020-02-06 03:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4405c9c9d9026fa3349497a0293c70a5eae79c6b [^] |
2020-02-06 04:01 | hgbot | Checkin | |
2020-02-06 04:01 | hgbot | Note Added: 0117496 | |
2020-02-06 04:01 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4405c9c9d9026fa3349497a0293c70a5eae79c6b [^] => http://code.openbravo.com/tools/automation/pi-mobile/rev/a9ff50929d98a154ae10a24f8cbf685f29b17cc0 [^] |
2020-02-06 09:16 | guilleaer | Review Assigned To | => guilleaer |
2020-02-06 09:16 | guilleaer | Status | resolved => closed |
2020-02-06 09:16 | guilleaer | Fixed in Version | => RR20Q2 |
Copyright © 2000 - 2009 MantisBT Group |