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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051856
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2023-03-15 10:212023-04-17 07:06
ReporterngarciaView Statuspublic 
Assigned Toradhakrishnan 
PriorityurgentResolutionfixedFixed in VersionRR23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerGold
Support ticket60448
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051856: Order goes to Errors While Importing POS Data if the business partner does not have a shipping address defined

DescriptionOrder goes to Errors While Importing POS Data if the business partner does not have a shipping address defined
Steps To ReproduceIn the backoffice:
   Create a business partner
   Add the required information in the Customer tab (Price List, Payment Method, Payment Terms, Invoice Terms...)
   Add a Contact to it
   Add an address to it. Set it as Shipping Address = 'N'

In the POS:
   Add a product, set the previously created business partner and pay it
   Check the order is in Errors While Importing POS Data with the following error:
org.postgresql.util.PSQLException: ERROR: insert or update on table "c_order" violates foreign key constraint "c_order_c_bpartner_location1"
  Detail: Key (c_bpartner_location_id)=(null) is not present in table "c_bpartner_location".

If delivery modes are enabled, it fails with Pick and Carry, Pickup In Store and Pickup In Store with date

If Home Delivery is selected, the following pop-up is shown in the POS:

Cannot calculate receipt taxes
Cannot find taxes for partner '...', address 'Empty' and tax category '...'. 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.
Proposed SolutionCheck if the partner has a shipping address defined before importing the ticket from the POS
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047489 closedrqueralta Uncheck the Shipping Address in the customer generates EWI when a purchase is done 

-  Notes
(0148410)
hgbot (developer)
2023-04-12 12:47

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1139 [^]
(0148453)
hgbot (developer)
2023-04-17 07:06

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1139 [^]
(0148454)
hgbot (developer)
2023-04-17 07:06

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f3b4ca0e01d47b6b68fee9889c5e6ef84dab3a14
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 12-04-2023 16:13:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f3b4ca0e01d47b6b68fee9889c5e6ef84dab3a14 [^]

Fixed ISSUE-51856: Error should be shown if BP doesn't have shipping address

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/hookPrePayment.js
---

- Issue History
Date Modified Username Field Change
2023-03-15 10:21 ngarcia New Issue
2023-03-15 10:21 ngarcia Assigned To => Retail
2023-03-15 10:21 ngarcia OBNetwork customer => Gold
2023-03-15 10:21 ngarcia Support ticket => 60448
2023-03-15 10:21 ngarcia Triggers an Emergency Pack => No
2023-03-15 10:21 ngarcia Relationship added related to 0047489
2023-03-16 08:27 radhakrishnan Assigned To Retail => radhakrishnan
2023-03-16 08:28 radhakrishnan Status new => scheduled
2023-04-12 12:47 hgbot Merge Request Status => open
2023-04-12 12:47 hgbot Note Added: 0148410
2023-04-17 07:05 hgbot Merge Request Status open => approved
2023-04-17 07:06 hgbot Resolution open => fixed
2023-04-17 07:06 hgbot Status scheduled => closed
2023-04-17 07:06 hgbot Note Added: 0148453
2023-04-17 07:06 hgbot Fixed in Version => RR23Q3
2023-04-17 07:06 hgbot Note Added: 0148454


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker