Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0043534 | Retail Modules | Web POS | public | 2020-03-20 20:16 | 2020-03-20 20:16 |
Reporter | rtoledano | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | RR20Q1 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0043534: Add customer parameter to hook OBPOS_BeforeCustomerAddrSave | ||||
Description | Adding the customer parameter to the OBPOS_BeforeCustomerAddrSave hook will allow you to validate the edition or creation of addresses depending on other properties of the business partner. For example if the customer is loyalty or not,etc. | ||||
Steps To Reproduce | 1- Go to source code org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customeraddress/components/sharedcomponents.js 2- There are three places where the execution of the hook OBPOS_BeforeCustomerAddrSave is declared. 3-You can verify, that there is no access to the business partner properties | ||||
Proposed Solution | Add the customer parameter at the three points where hook execution is invoked. There is an attachment with the proposed patch. Proposed commit message: Add parameter customer during OBPOS_BeforeCustomerAddrSave hook executions. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Add-parameter-customer-during-OBPOS_BeforeCustomerAddrSave.patch (3,140) 2020-03-20 20:16 https://issues.openbravo.com/file_download.php?file_id=14186&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-03-20 20:16 | rtoledano | New Issue | |||
2020-03-20 20:16 | rtoledano | Assigned To | => Retail | ||
2020-03-20 20:16 | rtoledano | File Added: Add-parameter-customer-during-OBPOS_BeforeCustomerAddrSave.patch | |||
2020-03-20 20:16 | rtoledano | Triggers an Emergency Pack | => No |
There are no notes attached to this issue. |