Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0042961 | Retail Modules | Delivery Modes | public | 2020-01-22 11:12 | 2020-02-06 09:16 |
Reporter | nicola_uva | ||||
Assigned To | rqueralta | ||||
Priority | normal | Severity | major | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | RR20Q2 | |||
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. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=13886&type=bug | ||||
Issue History | |||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|