-
-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0][MIG] l10n_it_fatturapa_out_rc #2559
Merged
OCA-git-bot
merged 11 commits into
OCA:14.0
from
tafaRU:14.0-mig-l10n_it_fatturapa_out_rc
Feb 3, 2022
Merged
[14.0][MIG] l10n_it_fatturapa_out_rc #2559
OCA-git-bot
merged 11 commits into
OCA:14.0
from
tafaRU:14.0-mig-l10n_it_fatturapa_out_rc
Feb 3, 2022
Commits on Jan 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8360781 - Browse repository at this point
Copy the full SHA 8360781View commit details -
Impostare il corretto IndirizzoType in caso di partner estero
Co-authored-by: Sergio Corato <sergiocorato@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 52081d1 - Browse repository at this point
Copy the full SHA 52081d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bf8227 - Browse repository at this point
Copy the full SHA 5bf8227View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffa14d5 - Browse repository at this point
Copy the full SHA ffa14d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45f7e7f - Browse repository at this point
Copy the full SHA 45f7e7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb9343d - Browse repository at this point
Copy the full SHA eb9343dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4604d4b - Browse repository at this point
Copy the full SHA 4604d4bView commit details
Commits on Feb 3, 2022
-
[IMP] l10n_it_fatturapa_out: get account_invoice_it_cedente_prestator…
…e template easier to override
Configuration menu - View commit details
-
Copy full SHA for ec5bcef - Browse repository at this point
Copy the full SHA ec5bcefView commit details -
Configuration menu - View commit details
-
Copy full SHA for c36626a - Browse repository at this point
Copy the full SHA c36626aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7696367 - Browse repository at this point
Copy the full SHA 7696367View commit details -
[FIX] l10n_it_fatturapa_out_sp: get it compatible with l10n_it_fattur…
…apa_out_rc Also note that it's not possible create a selfinvoice with split payment. Otherwise if both modules are installed you get the following error: 2021-12-16 15:00:57,290 943831 ERROR test-l10n_it_fatturapa_out_rc_14.0 odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ERROR: TestFatturaPAXMLValidation.test_intra_EU_supplier_refund Traceback (most recent call last): File "/home/tafaru/dev/envs/odoo14/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 192, in test_intra_EU_supplier_refund res = self.run_wizard(invoice.rc_self_invoice_id.id) File "/home/tafaru/dev/envs/odoo14/l10n-italy/l10n_it_fatturapa_out/tests/fatturapa_common.py", line 187, in run_wizard return wizard.with_context({"active_ids": [invoice_id]}).exportFatturaPA() File "/home/tafaru/dev/envs/odoo14/l10n-italy/l10n_it_fatturapa_out/wizard/wizard_export_fatturapa.py", line 151, in exportFatturaPA attach = self.saveAttachment(fatturapa, progressivo_invio) File "/home/tafaru/dev/envs/odoo14/l10n-italy/l10n_it_fatturapa_out/wizard/wizard_export_fatturapa.py", line 52, in saveAttachment attach_str = fatturapa.to_xml(self.env) File "/home/tafaru/dev/envs/odoo14/l10n-italy/l10n_it_fatturapa_out/wizard/efattura.py", line 320, in to_xml raise UserError("\n".join(str(e) for e in errors)) odoo.exceptions.UserError: failed validating <Element DatiGeneraliDocumento at 0x7fecc1bbbac8> with XsdGroup(model='sequence', occurs=[1, 1]): Reason: Unexpected child with tag 'ImportoTotaleDocumento' at position 6. Schema: <xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DatiGeneraliDocumentoType"> <xs:sequence> <xs:element name="TipoDocumento" type="TipoDocumentoType" /> <xs:element name="Divisa" type="DivisaType" /> <xs:element name="Data" type="DataFatturaType" /> <xs:element name="Numero" type="String20Type" /> <xs:element maxOccurs="unbounded" minOccurs="0" name="DatiRitenuta" type="DatiRitenutaType" /> <xs:element minOccurs="0" name="DatiBollo" type="DatiBolloType" /> <xs:element maxOccurs="unbounded" minOccurs="0" name="DatiCassaPrevidenziale" type="DatiCassaPrevidenzialeType" /> <xs:element maxOccurs="unbounded" minOccurs="0" name="ScontoMaggiorazione" type="ScontoMaggiorazioneType" /> <xs:element minOccurs="0" name="ImportoTotaleDocumento" type="Amount2DecimalType" /> <xs:element minOccurs="0" name="Arrotondamento" type="Amount2DecimalType" /> <xs:element maxOccurs="unbounded" minOccurs="0" name="Causale" type="String200LatinType" /> <xs:element minOccurs="0" name="Art73" type="Art73Type" /> </xs:sequence> </xs:complexType> Instance (line 130): <DatiGeneraliDocumento xmlns:ns1="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2"><TipoDocumento>TD17</TipoDocumento><Divisa>EUR</Divisa><Data>2020-12-01</Data><Numero>RSLF/2020/12/0001</Numero><ImportoTotaleDocumento>-122.00</ImportoTotaleDocumento><ImportoTotaleDocumento>122.00</ImportoTotaleDocumento><Causale>Reverse charge self invoice.</Causale><Causale>Supplier: Intra EU supplier</Causale><Causale>Reference: EU-SUPPLIER-REF</Causale><Causale>Date: 2020-12-01</Causale><Causale>Internal reference: RBILL/2020/12/0001</Causale></DatiGeneraliDocumento> Path: /ns1:FatturaElettronica/FatturaElettronicaBody/DatiGenerali/DatiGeneraliDocumento
Configuration menu - View commit details
-
Copy full SHA for 082b5d4 - Browse repository at this point
Copy the full SHA 082b5d4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.