Skip to content
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_reverse_charge: consider original invoice date in RC invoice comments #4142

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

rlucia
Copy link
Contributor

@rlucia rlucia commented May 16, 2024

For some unknown reason, since its inception (? e460d4d ) the description relating to the original invoice, always used the date of the RC document, not the actual one.

Fixes: #4141

Copy link
Contributor

@SirAionTech SirAionTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grazie della PR!
Puoi aggiungere un test? Magari ti basta aggiungere un assert a un test esistente.

Puoi modificare il messaggio del commit per seguire https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#commit-message? In particolare:

please check if the commit message is cut with ellipsis

Comment on lines -115 to 119
date=self.date,
date=reference_date,
internal_reference=self.name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Se il riferimento interno è di self, mi aspetto che anche la data venga presa da self: quindi secondo me la scelta sta tra self.date e self.invoice_date (da decidere in #4141 (comment)).
Una volta scelto si potrebbe anche chiarire nel testo della descrizione quale delle due date è riportata.

@rlucia rlucia force-pushed the fix/narration-original-invoice-date branch 3 times, most recently from d02725d to a3cf3ad Compare June 4, 2024 07:40
@SirAionTech SirAionTech added the needs fixing Has conflicts or is failing mandatory CI checks label Aug 21, 2024
@eLBati
Copy link
Member

eLBati commented Oct 21, 2024

/ocabot rebase

For some unknown reason, since its inception (? OCA@e460d4d ) the description relating to the original invoice, always used the date of the RC document, not the actual one.
@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 16.0.

@OCA-git-bot OCA-git-bot force-pushed the fix/narration-original-invoice-date branch from fd1b1f4 to 288ac14 Compare October 21, 2024 12:53
Copy link

@MaurizioPellegrinet MaurizioPellegrinet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test funzionale: OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs fixing Has conflicts or is failing mandatory CI checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

l10n_it_reverse_charge: la data della fattura di riferimento alla RC è errata
5 participants