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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030738
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-09-02 12:412016-02-01 09:37
ReporteradrianromeroView Statuspublic 
Assigned Tomtaal 
PriorityimmediateResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revisiona647b65c57da
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression levelCoding ( Testing )
Regression date
Regression introduced in releasepi
Regression introduced by commit459d9e531882
Triggers an Emergency PackNo
Summary

0030738: Creating a new customer and assigning to the current receipt raises an error in taxes calculation

DescriptionIn a new receipt a new customer created in POS and adding a product generates an error in taxes calculation.

This only happens in https://livebuilds.openbravo.com/retail_stable_pgsql_pi [^] .
3.0RR15Q3 works OK
Steps To Reproduce* login into https://livebuilds.openbravo.com/retail_stable_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]
* Tap on the Customer button
* Tap on * New Customer
* Fill in the required data and assign the new customer created to the receipt.
* Add a new product to the receipt
* Observe that an error is raised: Cannot calculate receipt taxes
Cannot find taxes for FF80818123B7FC160123B804AB88000B. The line affected will be deleted. Please ensure that there is at least one tax rate and tax rate zone configured for the partner address.
TagsNo tags attached.
Attached Filespng file icon Captura de pantalla de 2015-09-02 17:40:39.png [^] (243,599 bytes) 2015-09-02 17:43

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030691RR15Q4 closedmtaal Saving customer address not possible 
caused by defect 0030229 closedguilleaer JS error when location is updated 
blocks defect 0030794 closedRetail It is possible to create a business partner in a higher organization 

-  Notes
(0080027)
adrianromero (manager)
2015-09-02 17:46

See attached screenshot.

It seems the problem is because the business partner location is stored in the database without 'c_bpartner_id'. The 'c_bpartner_location' record is not related with 'c_bpartner' record.

See other fields are also empty.
(0080139)
hgbot (developer)
2015-09-04 15:52

Repository: tools/automation/pi-mobile
Changeset: aefb72f76abfc7a5a8ea79f30a506ef2b616e62b
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Fri Sep 04 15:51:47 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/aefb72f76abfc7a5a8ea79f30a506ef2b616e62b [^]

Verifies issue 30738: Added the 'I30738_NewCustomerAddProduct' test

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30738_NewCustomerAddProduct.java
---
(0080140)
Orekaria (administrator)
2015-09-04 15:53

The test will be automatically activated when the fix is ready.
Verify that it passes.
(0080141)
mtaal (manager)
2015-09-04 16:01

Seems to be caused by this line commit:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/459d9e531882#l1.7 [^]

the id and bpartner set was removed.
(0080233)
hgbot (developer)
2015-09-08 08:51

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e2228ca97e35122e7525b17186581e8940de1d18
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Sep 04 16:02:52 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e2228ca97e35122e7525b17186581e8940de1d18 [^]

Fixes issue 30738: Creating a new customer and assigning to the current receipt raises an error in taxes calculation
Set the id and bpartner of the location when it is created from the customer save

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
---
(0080244)
hgbot (developer)
2015-09-08 14:10

Repository: tools/automation/pi-mobile
Changeset: 5ce2b4eae16b8a37294e092d62a6f17cb04db943
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Sep 08 13:51:18 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5ce2b4eae16b8a37294e092d62a6f17cb04db943 [^]

Related to issue 30738: The test uses another user

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30738_NewCustomerAddProductUserAccessRights.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30738_NewCustomerAddProduct.java
---
(0080434)
guilleaer (manager)
2015-09-16 14:37

Tested and Verified
(0083559)
hgbot (developer)
2016-01-22 11:52

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a647b65c57dae85f14c9304f1d4fd8bb4c6650fe
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Sep 04 16:02:52 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a647b65c57dae85f14c9304f1d4fd8bb4c6650fe [^]

Fixes issue 30738: Creating a new customer and assigning to the current receipt raises an error in taxes calculation
Set the id and bpartner of the location when it is created from the customer save

---
M web/org.openbravo.retail.posterminal/js/data/datacustomersave.js
---

- Issue History
Date Modified Username Field Change
2015-09-02 12:41 adrianromero New Issue
2015-09-02 12:41 adrianromero Assigned To => Retail
2015-09-02 12:41 adrianromero Regression level => Coding ( Testing )
2015-09-02 12:41 adrianromero Regression introduced in release => pi
2015-09-02 12:41 adrianromero Triggers an Emergency Pack => No
2015-09-02 12:47 adrianromero Relationship added related to 0030691
2015-09-02 17:43 adrianromero File Added: Captura de pantalla de 2015-09-02 17:40:39.png
2015-09-02 17:46 adrianromero Note Added: 0080027
2015-09-04 14:02 mtaal Assigned To Retail => mtaal
2015-09-04 15:52 hgbot Checkin
2015-09-04 15:52 hgbot Note Added: 0080139
2015-09-04 15:53 Orekaria Note Added: 0080140
2015-09-04 16:01 mtaal Review Assigned To => guilleaer
2015-09-04 16:01 mtaal Regression introduced by commit => 459d9e531882
2015-09-04 16:01 mtaal Note Added: 0080141
2015-09-04 16:02 mtaal Relationship added caused by 0030229
2015-09-07 09:10 adrianromero Issue Monitored: adrianromero
2015-09-07 09:11 adrianromero Issue End Monitor: adrianromero
2015-09-08 08:51 hgbot Checkin
2015-09-08 08:51 hgbot Note Added: 0080233
2015-09-08 08:51 hgbot Status new => resolved
2015-09-08 08:51 hgbot Resolution open => fixed
2015-09-08 08:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e2228ca97e35122e7525b17186581e8940de1d18 [^]
2015-09-08 13:45 Orekaria Relationship added blocks 0030794
2015-09-08 14:10 hgbot Checkin
2015-09-08 14:10 hgbot Note Added: 0080244
2015-09-16 14:36 guilleaer Note Added: 0080433
2015-09-16 14:36 guilleaer Note Deleted: 0080433
2015-09-16 14:37 guilleaer Note Added: 0080434
2015-09-16 14:37 guilleaer Status resolved => closed
2015-09-16 14:37 guilleaer Fixed in Version => RR15Q4
2016-01-22 11:52 hgbot Checkin
2016-01-22 11:52 hgbot Note Added: 0083559
2016-01-22 11:52 hgbot Status closed => resolved
2016-01-22 11:52 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e2228ca97e35122e7525b17186581e8940de1d18 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a647b65c57dae85f14c9304f1d4fd8bb4c6650fe [^]
2016-02-01 09:36 guilleaer Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker