Skip to content
/ l10n-italy Public
  • Sponsor
  • Notifications You must be signed in to change notification settings
  • Fork 310
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] l10n_it_reverse_charge in multi currency: use the supplier invoice date #4462

Open
wants to merge 2 commits into
base: 14.0
Choose a base branch
from

Conversation

eLBati
Copy link
Member

@eLBati eLBati commented Nov 26, 2024

SCENARIO DESIDERATO

ricevo una fattura extra in USD per un servizio con data 15 ottobre, la registro il 31 ottobre

per gli importi in EUR uso il cambio del 15 ottobre.

Il sistema genera un'autofattura passiva con data fattura 15 ottobre data registrazione 31 ottobre. per gli importi in EUR uso il cambio del 15 ottobre.

L'autofattura attiva avrà data 31 ottobre e tasso di cambio del 15 ottobre.

@eLBati
Copy link
Member Author

eLBati commented Feb 12, 2025

/ocabot rebase

LorenzoC0 and others added 2 commits February 12, 2025 13:11
…r self-invoices, now considers original invoice date
FIX tests
  File "/opt/l10n-italy/l10n_it_reverse_charge/models/account_move.py", line 421, in generate_self_invoice
    force_conversion_date=self.rc_original_purchase_invoice_ids[0].invoice_date,
  File "/opt/odoo/odoo/models.py", line 5731, in __getitem__
    return self.browse((self._ids[key],))
IndexError: tuple index out of range

+ pre-commit
@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 14.0.

@OCA-git-bot OCA-git-bot force-pushed the 14.0-imp-l10n_it_reverse_charge-selfinvoice_date branch from 1a115c3 to 831c9c5 Compare February 12, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants