Openbravo Issue Tracking System - Modules
View Issue Details
0057677ModulesOpen APIpublic2025-01-17 09:132025-02-18 12:37
eugen_hamuraru 
kousalya_r 
normalminoralways
closedfixed 
5
 
 
0057677: Undefined property mappings introduced by the e-invoice for Italy module
The 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.
1.- 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
* 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
No tags attached.
depends on defect 0057649 closed eugen_hamuraru Modules no swagger for Transactional Data category 
caused by defect 0057381 closed aferraz POS2 Remove dependency to RTServer and RTPrinter from italy.einvoice module 
has duplicate defect 0057710 closed kousalya_r Modules Incorrect property mapping definition 
Issue History
2025-01-17 09:13eugen_hamuraruNew Issue
2025-01-17 09:13eugen_hamuraruAssigned To => Triage Platform Conn
2025-01-17 09:14eugen_hamuraruDescription Updatedbug_revision_view_page.php?rev_id=29068#r29068
2025-01-17 09:14eugen_hamuraruSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29070#r29070
2025-01-17 09:15eugen_hamuraruRelationship addeddepends on 0057649
2025-01-17 09:47adrianromeroProposed Solution updated
2025-01-17 09:48adrianromeroAssigned ToTriage Platform Conn => Triage Omni OMS
2025-01-21 08:10jonaeNote Added: 0174439
2025-01-21 08:10jonaeAssigned ToTriage Omni OMS => kousalya_r
2025-01-21 09:20hgbotNote Added: 0174450
2025-01-21 13:51hgbotResolutionopen => fixed
2025-01-21 13:51hgbotStatusnew => closed
2025-01-21 13:51hgbotNote Added: 0174471
2025-01-21 13:51hgbotNote Added: 0174472
2025-01-21 13:51jonaeRelationship addedhas duplicate 0057710
2025-01-21 16:18caristuRelationship addedcaused by 0057381
2025-01-22 11:17hgbotNote Added: 0174517
2025-01-22 14:01hgbotNote Added: 0174552
2025-01-22 14:01hgbotNote Added: 0174553
2025-02-18 12:36hgbotNote Added: 0175809
2025-02-18 12:36hgbotNote Added: 0175810
2025-02-18 12:37hgbotNote Added: 0175811
2025-02-18 12:37hgbotNote Added: 0175812
2025-02-18 12:37hgbotNote Added: 0175813
2025-02-18 12:37hgbotNote Added: 0175814
2025-02-18 12:37hgbotNote Added: 0175815
2025-02-18 12:37hgbotNote Added: 0175816

Notes
(0174439)
jonae   
2025-01-21 08:10   
Jira - https://openbravo.atlassian.net/browse/RM-20549 [^]
(0174450)
hgbot   
2025-01-21 09:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/48 [^]
(0174471)
hgbot   
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   
2025-01-21 13:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/48 [^]
(0174517)
hgbot   
2025-01-22 11:17   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/49 [^]
(0174552)
hgbot   
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   
2025-01-22 14:01   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/49 [^]
(0175809)
hgbot   
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   
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   
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   
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   
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   
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   
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   
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
---