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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057677
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Open APIminoralways2025-01-17 09:132025-02-18 12:37
Reportereugen_hamuraruView Statuspublic 
Assigned Tokousalya_r 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0057677: Undefined property mappings introduced by the e-invoice for Italy module

DescriptionThe org.openbravo.localization.italy.einvoice module introduces in the invoiceLine entity the following 3 property mappings:
- rtpFiscalReceiptNumber
- rtpFiscalReceiptAmount
- rtpFiscalReceiptDate
These property mappings have the following property path configured: salesOrderLine.salesOrder but no such properties are defined in the Order entity.

This may be happening because of an undeclared dependency on the old rtprinter module:
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.rtprinter/-/blob/master/src-db/database/model/modifiedTables/C_ORDER.xml?ref_type=heads [^]

This is the module that seems to be introducing these properties in the Order.
Steps To Reproduce1.- Set up a pos2-modules environment
2.- Log in as System Administrator and go to the Entity Mapping window.
3.- Go to the InvoiceLine entity mapping and in the Property Mapping subtab look for the 3 properties (rtpFiscalReceiptNumber, rtpFiscalReceiptAmount, rtpFiscalReceiptDate)
4.- When trying to change any value in the subtab of one of these property mappings when saving, the following error will be displayed:
Saving failed. salesOrderLine.salesOrder.rtpFiscalreceiptamount is not a valid property path for entity InvoiceLine
Proposed Solution* Replace the property mapping properties from the old org.openbravo.retail.rtprinter to the new properties of the module org.openbravo.events.fiscalrtprinter
* Declare a dependency to the module org.openbravo.events.fiscalrtprinter
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0057649 closedeugen_hamuraru Modules no swagger for Transactional Data category 
caused by defect 0057381 closedaferraz POS2 Remove dependency to RTServer and RTPrinter from italy.einvoice module 
has duplicate defect 0057710 closedkousalya_r Modules Incorrect property mapping definition 

-  Notes
(0174439)
jonae (developer)
2025-01-21 08:10

Jira - https://openbravo.atlassian.net/browse/RM-20549 [^]
(0174450)
hgbot (developer)
2025-01-21 09:20

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/48 [^]
(0174471)
hgbot (developer)
2025-01-21 13:51

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: d0cb6e28fa7039650fbdb4b5048f05d5dca98adc
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 21-01-2025 13:49:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/d0cb6e28fa7039650fbdb4b5048f05d5dca98adc [^]

Fixed ISSUE-57677: Replaced property mapping and dependency added

---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0174472)
hgbot (developer)
2025-01-21 13:51

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/48 [^]
(0174517)
hgbot (developer)
2025-01-22 11:17

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/49 [^]
(0174552)
hgbot (developer)
2025-01-22 14:01

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 55d717955559deeadb7b13ffe8b96d498a04a43d
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 22-01-2025 13:01:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/55d717955559deeadb7b13ffe8b96d498a04a43d [^]

Related to ISSUE-57677: Modified to correct property mapping

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0174553)
hgbot (developer)
2025-01-22 14:01

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/49 [^]
(0175809)
hgbot (developer)
2025-02-18 12:36

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 61aebfac493c8291bc14a0969a04fcf1cad56530
Author: Álvaro Ferraz <a.ferraz@orisha.com>
Date: 18-02-2025 11:36:52
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/61aebfac493c8291bc14a0969a04fcf1cad56530 [^]

Fixed ISSUE-57677: Replaced property mapping and dependency added


(cherry picked from commit d0cb6e28fa7039650fbdb4b5048f05d5dca98adc)

d0cb6e28 Fixed ISSUE-57677: Replaced property mapping and dependency added

Co-authored-by: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0175810)
hgbot (developer)
2025-02-18 12:36

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 61aebfac493c8291bc14a0969a04fcf1cad56530
Author: Álvaro Ferraz <a.ferraz@orisha.com>
Date: 18-02-2025 11:36:52
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/61aebfac493c8291bc14a0969a04fcf1cad56530 [^]

Fixed ISSUE-57677: Replaced property mapping and dependency added


(cherry picked from commit d0cb6e28fa7039650fbdb4b5048f05d5dca98adc)

d0cb6e28 Fixed ISSUE-57677: Replaced property mapping and dependency added

Co-authored-by: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0175811)
hgbot (developer)
2025-02-18 12:37

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 7cca8f4aa5544cbe6fed48b5cf1fd0800e8ef8be
Author: Álvaro Ferraz <a.ferraz@orisha.com>
Date: 18-02-2025 11:37:04
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/7cca8f4aa5544cbe6fed48b5cf1fd0800e8ef8be [^]

Related to ISSUE-57677: Modified to correct property mapping


(cherry picked from commit 55d717955559deeadb7b13ffe8b96d498a04a43d)

069c3959 Related to ISSUE-57677: Modified to correct type

Co-authored-by: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0175812)
hgbot (developer)
2025-02-18 12:37

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 7cca8f4aa5544cbe6fed48b5cf1fd0800e8ef8be
Author: Álvaro Ferraz <a.ferraz@orisha.com>
Date: 18-02-2025 11:37:04
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/7cca8f4aa5544cbe6fed48b5cf1fd0800e8ef8be [^]

Related to ISSUE-57677: Modified to correct property mapping


(cherry picked from commit 55d717955559deeadb7b13ffe8b96d498a04a43d)

069c3959 Related to ISSUE-57677: Modified to correct type

Co-authored-by: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0175813)
hgbot (developer)
2025-02-18 12:37

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 19d1ebf7f6c8cb8827267a65ee1d408ce53d8b48
Author: Álvaro Ferraz <a.ferraz@orisha.com>
Date: 18-02-2025 11:37:18
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/19d1ebf7f6c8cb8827267a65ee1d408ce53d8b48 [^]

Fixed ISSUE-57677: Replaced property mapping and dependency added


(cherry picked from commit d0cb6e28fa7039650fbdb4b5048f05d5dca98adc)

d0cb6e28 Fixed ISSUE-57677: Replaced property mapping and dependency added

Co-authored-by: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0175814)
hgbot (developer)
2025-02-18 12:37

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 19d1ebf7f6c8cb8827267a65ee1d408ce53d8b48
Author: Álvaro Ferraz <a.ferraz@orisha.com>
Date: 18-02-2025 11:37:18
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/19d1ebf7f6c8cb8827267a65ee1d408ce53d8b48 [^]

Fixed ISSUE-57677: Replaced property mapping and dependency added


(cherry picked from commit d0cb6e28fa7039650fbdb4b5048f05d5dca98adc)

d0cb6e28 Fixed ISSUE-57677: Replaced property mapping and dependency added

Co-authored-by: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0175815)
hgbot (developer)
2025-02-18 12:37

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 63d8b6434b054115a209db99b3da5330b812c4d7
Author: Álvaro Ferraz <a.ferraz@orisha.com>
Date: 18-02-2025 11:37:26
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/63d8b6434b054115a209db99b3da5330b812c4d7 [^]

Related to ISSUE-57677: Modified to correct property mapping


(cherry picked from commit 55d717955559deeadb7b13ffe8b96d498a04a43d)

069c3959 Related to ISSUE-57677: Modified to correct type

Co-authored-by: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0175816)
hgbot (developer)
2025-02-18 12:37

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 63d8b6434b054115a209db99b3da5330b812c4d7
Author: Álvaro Ferraz <a.ferraz@orisha.com>
Date: 18-02-2025 11:37:26
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/63d8b6434b054115a209db99b3da5330b812c4d7 [^]

Related to ISSUE-57677: Modified to correct property mapping


(cherry picked from commit 55d717955559deeadb7b13ffe8b96d498a04a43d)

069c3959 Related to ISSUE-57677: Modified to correct type

Co-authored-by: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---

- Issue History
Date Modified Username Field Change
2025-01-17 09:13 eugen_hamuraru New Issue
2025-01-17 09:13 eugen_hamuraru Assigned To => Triage Platform Conn
2025-01-17 09:14 eugen_hamuraru Description Updated View Revisions
2025-01-17 09:14 eugen_hamuraru Steps to Reproduce Updated View Revisions
2025-01-17 09:15 eugen_hamuraru Relationship added depends on 0057649
2025-01-17 09:47 adrianromero Proposed Solution updated
2025-01-17 09:48 adrianromero Assigned To Triage Platform Conn => Triage Omni OMS
2025-01-21 08:10 jonae Note Added: 0174439
2025-01-21 08:10 jonae Assigned To Triage Omni OMS => kousalya_r
2025-01-21 09:20 hgbot Note Added: 0174450
2025-01-21 13:51 hgbot Resolution open => fixed
2025-01-21 13:51 hgbot Status new => closed
2025-01-21 13:51 hgbot Note Added: 0174471
2025-01-21 13:51 hgbot Note Added: 0174472
2025-01-21 13:51 jonae Relationship added has duplicate 0057710
2025-01-21 16:18 caristu Relationship added caused by 0057381
2025-01-22 11:17 hgbot Note Added: 0174517
2025-01-22 14:01 hgbot Note Added: 0174552
2025-01-22 14:01 hgbot Note Added: 0174553
2025-02-18 12:36 hgbot Note Added: 0175809
2025-02-18 12:36 hgbot Note Added: 0175810
2025-02-18 12:37 hgbot Note Added: 0175811
2025-02-18 12:37 hgbot Note Added: 0175812
2025-02-18 12:37 hgbot Note Added: 0175813
2025-02-18 12:37 hgbot Note Added: 0175814
2025-02-18 12:37 hgbot Note Added: 0175815
2025-02-18 12:37 hgbot Note Added: 0175816


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker