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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046637
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Copy Retail Storemajoralways2021-05-12 12:372021-05-31 07:03
ReportermalsasuaView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR21Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046637: Document Type used for payments is not copied in Copy Store process

DescriptionThe Copy Store process is not copying the document type used in the payments for the store

Steps To ReproduceIn livebuilds this error occurs.
If you check newer stores like Vall Boi it seems it was created with copy store process and the AR receipt document type is not there.

In this case, the POS orders are imported because it takes the parent document type, but it makes no sense.

If we define Document Types per store, all the stores should use their own document types.
Proposed Solution* create a new field in Organisation window to define the document type used for payments
* If this field is set, then the OrderLoader should use it for the document type of the payments generated by it. If it is not set, the current logic that finds the right document type for payments should be used
. Copy Store process should consider this document type in the process like it does for the rest of the document types defined in the organisation window (with the standard rule, if the doctype is accessible by the new organisation it should be referenced, otherwise it should be cloned)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0051512 closedranjith_qualiantech_com Copy Store does not copy the documetn types that are used but not referenced by the terminal/store definition 

-  Notes
(0128136)
hgbot (developer)
2021-05-14 21:33

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/414 [^]
(0128137)
hgbot (developer)
2021-05-14 21:34

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/20 [^]
(0128752)
hgbot (developer)
2021-05-28 08:56

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: db5fe76db0cc9ef14e66e8fde5d1245f5c3ff37d
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-05-28T06:55:30+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/db5fe76db0cc9ef14e66e8fde5d1245f5c3ff37d [^]

Fixed ISSUE-46637: Created a new field in Organization window to define the document type used for payments

---
M src-db/database/model/modifiedTables/AD_ORG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0128753)
hgbot (developer)
2021-05-28 08:56

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: d45602b9103f4857dccf7b6a439282566038e237
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-05-14T11:46:13-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/d45602b9103f4857dccf7b6a439282566038e237 [^]

Fixed BUG-46637: Copying the new field document type used in the payments for the store

---
M src/org/openbravo/retail/copystore/process/DefaultPropertiesHandler.java
---
(0128754)
hgbot (developer)
2021-05-28 08:56

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/20 [^]
(0128755)
hgbot (developer)
2021-05-28 08:56

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/414 [^]
(0128786)
hgbot (developer)
2021-05-31 07:03

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c95d784d5410e55631500396e8135903d603a0ba
Author: Antonio Moreno <anmorenoperez@gmail.com>
Date: 2021-05-31T07:02:56+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c95d784d5410e55631500396e8135903d603a0ba [^]

Related to ISSUE-46637: Fixed dbconsistency problem

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---

- Issue History
Date Modified Username Field Change
2021-05-12 12:37 malsasua New Issue
2021-05-12 12:37 malsasua Assigned To => Retail
2021-05-12 12:37 malsasua Triggers an Emergency Pack => No
2021-05-12 17:18 marvintm Proposed Solution updated
2021-05-13 18:05 rqueralta Assigned To Retail => rqueralta
2021-05-13 18:06 rqueralta Status new => scheduled
2021-05-14 21:31 hgbot Resolution open => fixed
2021-05-14 21:31 hgbot Status scheduled => resolved
2021-05-14 21:31 hgbot Note Added: 0128134
2021-05-14 21:33 hgbot Note Added: 0128136
2021-05-14 21:34 hgbot Note Added: 0128137
2021-05-17 08:22 marvintm Note Deleted: 0128134
2021-05-17 08:22 marvintm Status resolved => new
2021-05-17 08:22 marvintm Resolution fixed => open
2021-05-17 08:22 marvintm Status new => scheduled
2021-05-28 08:56 hgbot Resolution open => fixed
2021-05-28 08:56 hgbot Status scheduled => closed
2021-05-28 08:56 hgbot Fixed in Version => RR21Q3
2021-05-28 08:56 hgbot Note Added: 0128752
2021-05-28 08:56 hgbot Note Added: 0128753
2021-05-28 08:56 hgbot Note Added: 0128754
2021-05-28 08:56 hgbot Note Added: 0128755
2021-05-31 07:03 hgbot Note Added: 0128786
2023-02-22 06:49 ranjith_qualiantech_com Relationship added related to 0051512


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker