Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043534
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorN/A2020-03-20 20:162020-03-20 20:16
ReporterrtoledanoView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q1SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043534: Add customer parameter to hook OBPOS_BeforeCustomerAddrSave

DescriptionAdding 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 Reproduce1- 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 SolutionAdd 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.
TagsNo tags attached.
Attached Filespatch file icon Add-parameter-customer-during-OBPOS_BeforeCustomerAddrSave.patch [^] (3,140 bytes) 2020-03-20 20:16 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker