Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0049397Openbravo LocalizationsLocalization Italypublic2022-05-24 20:562022-08-08 23:37
rtoledano 
rtoledano 
normalmajorN/A
closedfixed 
5
 
 
0049397: Electronic Invoice Italy - Support for Business Partner field Codice Fiscale
A new field named “Codice Fiscale” has been added in the BP window (c_bpatner) named "Codice Fiscale" (Trade Registration Number) in a master data module for Italy. The name of this module is: “Italy Master Data” (org.openbravo.localization.italy.masterdata)

Italy e-invoice module must depend on this new module. In the org.openbravo.api module, where it is defined the invoice and BP entities, we should add the reference to this field “Codice Fiscale”.


Finally, the electronic invoice module should consider this new property to generate the XML file. See spec attached in the Jira (1.4.1.2) - <CodiceFiscale> The lenght of this field is from 11 (Company Codice Fiscale) to 16 (Individuals codice fiscale), therefore if the new field Codice Fiscale has a value no matter it will be sent in the XML file whenever its length it is between 11 and 16 positions.

See: https://openbravo.atlassian.net/browse/RM-1003 [^]
N/A
No tags attached.
depends on feature request 0049392 closed rtoledano New Codice Fiscale field on Business Partner window for Italy 
Issue History
2022-05-24 20:56rtoledanoNew Issue
2022-05-24 20:56rtoledanoAssigned To => rtoledano
2022-05-24 21:01rtoledanoRelationship addeddepends on 0049392
2022-06-28 18:01hgbotNote Added: 0138832
2022-07-12 09:19psanjuanNote Added: 0139262
2022-07-25 16:03hgbotNote Added: 0139597
2022-08-08 23:15hgbotNote Added: 0139972
2022-08-08 23:15hgbotNote Added: 0139973
2022-08-08 23:37hgbotNote Added: 0139975
2022-08-08 23:37hgbotResolutionopen => fixed
2022-08-08 23:37hgbotStatusnew => closed
2022-08-08 23:37hgbotNote Added: 0139976

Notes
(0138832)
hgbot   
2022-06-28 18:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/6 [^]
(0139262)
psanjuan   
2022-07-12 09:19   
Codice Fiscale field needs to be added to the OB API by creating a new module named: rg.openbravo.localization.italy.masterdata.api
This module will include the mapping in the invoice and in the business partner to be consumed by the module org.openbravo.localization.italy.einvoice.
Add dependencies to this new module and adapt the code.
(0139597)
hgbot   
2022-07-25 16:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.masterdata.api/-/merge_requests/1 [^]
(0139972)
hgbot   
2022-08-08 23:15   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.masterdata.api [^]
Changeset: 7fec33329ab88f0426bb6db19a18414115313d9d
Author: Roberto Carlos Toledano Gómez <rctg82@gmail.com>
Date: 25-07-2022 09:55:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.masterdata.api/-/commit/7fec33329ab88f0426bb6db19a18414115313d9d [^]

Related ISSUE-49397: Added entity mapping for Business Partner field Codice Fiscale to be able to export the property on Itlay e-Invoice XML file

---
A src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
A src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---
(0139973)
hgbot   
2022-08-08 23:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.masterdata.api/-/merge_requests/1 [^]
(0139975)
hgbot   
2022-08-08 23:37   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/merge_requests/6 [^]
(0139976)
hgbot   
2022-08-08 23:37   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice [^]
Changeset: 9825b95ab1788c20c5f5786e26c59161b7f41b8c
Author: Roberto Carlos Toledano Gómez <rctg82@gmail.com>
Date: 08-08-2022 21:37:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.italy.einvoice/-/commit/9825b95ab1788c20c5f5786e26c59161b7f41b8c [^]

Fixes ISSUE-49397: Added support to export Business Partner field Codice Fiscale property on Itlay e-Invoice XML file

A new field named “Codice Fiscale” has been added in the BP window (c_bpatner) named "Codice Fiscale" (Trade Registration Number) in a master data module for Italy. The name of this module is: “Italy Master Data” (org.openbravo.localization.italy.masterdata)

---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-test/org/openbravo/localization/italy/einvoice/TestItalyXMLCreationFromJson.java
M src/org/openbravo/localization/italy/einvoice/xmlengine/document/ItalyDatiAnagraficiCessionario.java
---