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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035931
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-05-04 16:332017-05-18 12:28
Reporterprakashmurugesan88View Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revision1f6301ff380a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035931: [SER-QA 2815] Business Partner's Invoice Address[CityName, CountryName and PostCode] is updated with Shipping Address Value

DescriptionIn WEBPOS,

If a particular Business partner has different Invoice Address and Shipping Address.
And if the preference "Enable Remote for Customer" is "Y".

While assigning the corresponding business partner to the receipt.
Invoice Address's CityName, CountryName and PostCode is updated with Shipping Address's CityName, CountryName and PostCode.
Steps To ReproduceSetup:
Configure Business Partner with different Invoicing and Shipping Address.
Set preference "Enable Remote for Customer" to "Y".

In WebPos:
Create a receipt by selecting the corresponding business partner.

Issue:
Once the business partner is added.
In WEB SQL of Browser,
Check value for Invoice Address's CityName, CountryName and PostCode.

eg to check city name:
select name, cityname, shipcityname from c_bpartner
Please refer image in attachment

These values are not same as the one that is configured.
TagsSER-QA
Attached Filespng file icon InvoiceAddrIssue.png [^] (87,810 bytes) 2017-05-04 16:33

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0096399)
adrianromero (manager)
2017-05-04 17:14

The problem is in the function setBPLocations: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/de1e76f7e93f/web/org.openbravo.retail.posterminal/js/model/businesspartner.js#l238 [^]

It seems that when remote customers is activated the fields cityName, postalName and postalCode are filled in with the shipment address details and not invoice address details
(0096474)
hgbot (developer)
2017-05-09 10:08

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1f6301ff380aaee5fc83a368c32b2b28ed88ac74
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 08 11:57:17 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1f6301ff380aaee5fc83a368c32b2b28ed88ac74 [^]

Fixed issue 35931: [SER-QA 2815] Business Partner's Invoice Address is
updated with Shipping Address Value

The solution is to use the billing address info if it exists. There is
necessary to update those fields if the billing address doesn’t exists
with the info of the shipping.

---
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
---
(0096476)
hgbot (developer)
2017-05-09 10:11

Repository: tools/automation/pi-mobile
Changeset: 8dd7eb4ccab1953a6f6a6c1f38730faacb6d4b63
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 08 13:12:39 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8dd7eb4ccab1953a6f6a6c1f38730faacb6d4b63 [^]

Verifies issue 35931: [SER-QA 2815] Business Partner's Invoice Address is
updated with Shipping Address Value

Added test I35931_SaveCorrectlyCustomerShipmentAndBillingInfo.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I35931_SaveCorrectlyCustomerShipmentAndBillingInfo.java
---
(0096493)
hgbot (developer)
2017-05-09 16:32

Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 3b2900c6333da9d60a195249e91f9e5ee4b8089b
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 08 13:23:44 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/3b2900c6333da9d60a195249e91f9e5ee4b8089b [^]

Related to issue 35931: [SER-QA 2815] Business Partner's Invoice Address is
updated with Shipping Address Value

Change locations from Stephane Cluster customer to set two different location
from shipping and invoicing.

---
M referencedata/sampledata/The_White_Valley_Group/C_BPARTNER_LOCATION.xml
M referencedata/sampledata/The_White_Valley_Group/C_LOCATION.xml
---

- Issue History
Date Modified Username Field Change
2017-05-04 16:33 prakashmurugesan88 New Issue
2017-05-04 16:33 prakashmurugesan88 Assigned To => Retail
2017-05-04 16:33 prakashmurugesan88 File Added: InvoiceAddrIssue.png
2017-05-04 16:33 prakashmurugesan88 Resolution time => 1495058400
2017-05-04 16:33 prakashmurugesan88 Triggers an Emergency Pack => No
2017-05-04 16:34 prakashmurugesan88 Tag Attached: SER-QA
2017-05-04 17:14 adrianromero Note Added: 0096399
2017-05-04 17:14 adrianromero Summary SER-QA <2815> Business Partner's Invoice Address[CityName, CountryName and PostCode] is updated with Shipping Address Value => [SER-QA 2815] Business Partner's Invoice Address[CityName, CountryName and PostCode] is updated with Shipping Address Value
2017-05-08 11:55 jorge-garcia Status new => scheduled
2017-05-08 11:55 jorge-garcia Assigned To Retail => jorge-garcia
2017-05-09 10:08 hgbot Checkin
2017-05-09 10:08 hgbot Note Added: 0096474
2017-05-09 10:08 hgbot Status scheduled => resolved
2017-05-09 10:08 hgbot Resolution open => fixed
2017-05-09 10:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1f6301ff380aaee5fc83a368c32b2b28ed88ac74 [^]
2017-05-09 10:11 hgbot Checkin
2017-05-09 10:11 hgbot Note Added: 0096476
2017-05-09 16:32 hgbot Checkin
2017-05-09 16:32 hgbot Note Added: 0096493
2017-05-18 12:26 marvintm Review Assigned To => marvintm
2017-05-18 12:26 marvintm Status resolved => closed
2017-05-18 12:26 marvintm Fixed in Version => RR17Q3
2017-05-18 12:26 marvintm Status closed => new
2017-05-18 12:26 marvintm Resolution fixed => open
2017-05-18 12:26 marvintm Fixed in Version RR17Q3 =>
2017-05-18 12:27 marvintm Status new => scheduled
2017-05-18 12:28 marvintm Status scheduled => resolved
2017-05-18 12:28 marvintm Fixed in Version => RR17Q3
2017-05-18 12:28 marvintm Resolution open => fixed
2017-05-18 12:28 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker