-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
[16.0] FIX l10n_it_fatturapa_out and l10n_it_fatturapa_out_rc avoiding to convert to EUR tax_base_amount as it is already in company currency (currency_field='company_currency_id') #3921
Conversation
afd0011
to
78be222
Compare
Vedo che stai spostando la conversione in EUR fuori dal template, e |
Più che spostando sto togliendo la conversione dal template, perchè |
@eLBati issue? |
78be222
to
fcfe745
Compare
e1685f1
to
752d3f9
Compare
752d3f9
to
c1aa1fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
functional review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…e date Steps: - Configure reverse charge - Configure 2 different rate for USD: for 19/12/2023 and for 31/01/2024 - Create a USD supplier invoice with invoice date 19/12/2023 and accounting date 31/01/2024 - Validate Observed: the currency rate of self invoice is 31/01/2024 Desired: the currency rate of self invoice is 19/12/2023
…nvert to EUR tax_base_amount as it is already in company currency (currency_field='company_currency_id') Note: tests are not using tax_base_amount to compute ImponibileImporto (they use line.price_subtotal) because it is empty, while it sould not Steps: - Configure reverse charge for extra UE suppliers - Create an USD invoice, with 1 line, with fiscal position for extra UE suppliers - Confirm - Generate XML from self invocie Observed: "Totale imponibile" is different from "Prezzo unitario" FIX l10n_it_fatturapa_out_rc in multi currency: use the supplier invoice date REF fpa_to_eur using move line currency_rate when available
c1aa1fb
to
758728d
Compare
This PR has the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approvo anche se non sono sicuro di aver testato tutto visto che l'avevo voluta provare per cercare di risolvere il problema dei pagamenti in un'altra valuta rispetto a quella della fattura.
Infatti abbiamo constatato che con questa casistica il file XML viene esportato correttamente, mentre prima no, ma resta il fatto che ci sono dei problemi nella compilazione del campo "importo in valuta" nella registrazione del pagamento dell'autofattura.
Appena riesco a spiegarmi meglio apro una issue, ma questa PR sembra fare quello che deve.
@eLBati puoi mergiare? |
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 5397da8. Thanks a lot for contributing to OCA. ❤️ |
Grazie |
#3991
+
#3960