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

[12.0] FIX l10n_it_reverse_charge: reconcile_supplier_invoice setting currency to avoid redundant exchange_diff_move when not needed #3183

Closed

Conversation

eLBati
Copy link
Member

@eLBati eLBati commented Feb 21, 2023

@eLBati eLBati changed the title [12.0] FIX reconcile_supplier_invoice setting currency to avoid redundant exchange_diff_move when not needed [12.0] FIX l10n_it_reverse_charge: reconcile_supplier_invoice setting currency to avoid redundant exchange_diff_move when not needed Feb 21, 2023
@@ -233,6 +233,7 @@ def rc_payment_credit_line_vals(self, invoice):
'account_id': self.get_rc_inv_line_to_reconcile(
invoice).account_id.id,
'partner_id': invoice.partner_id.id,
'currency_id': self.currency_id.id,
Copy link
Contributor

Choose a reason for hiding this comment

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

Forse:

Suggested change
'currency_id': self.currency_id.id,
'currency_id': invoice.currency_id.id,

Copy link
Member Author

Choose a reason for hiding this comment

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

Grazie, modificato

@eLBati eLBati force-pushed the 12.0-fix-reconcile_supplier_invoice-currency branch from 7722539 to 50101b4 Compare March 5, 2023 13:08
Copy link
Contributor

@SirTakobi SirTakobi 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!
Per facilitare la tracciatura delle correzioni/migliorie sulle varie versioni, puoi aprire una issue aggiungendo la descrizione, tramite use case, del problema? (parafrasando https://github.com/OCA/l10n-italy/wiki/Team-di-sviluppo#apertura-issue)

Hai modo di aggiungere un test?

Puoi adattare il messaggio del commit a https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#71commit-message? Ad esempio: ci sarebbe da menzionare il nome del modulo modificato e la prima riga andrebbe accorciata (puoi mettere tutti i dettagli nelle righe successive).

@odooNextev
Copy link
Contributor

odooNextev commented Nov 17, 2023

@eLBati può essere che c'è anche nella 16?
Stiamo facendo dei test per migrare la nostra istanza dalla 14 e nella creazione di un'autofattura compare una differenza di cambio non necessaria che nella 14 non compariva.

image

@eLBati
Copy link
Member Author

eLBati commented Jan 18, 2024

può essere che c'è anche nella 16?

@odooNextev sì: #3864

@@ -211,6 +210,7 @@ def rc_debit_line_vals(self, amount=None):
'credit': credit,
'account_id': self.get_inv_line_to_reconcile().account_id.id,
'partner_id': self.partner_id.id,
'currency_id': self.currency_id.id,
Copy link
Contributor

Choose a reason for hiding this comment

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

Da fare lo stesso su rc_credit_line_vals()?

Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 19, 2024
@github-actions github-actions bot closed this Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autofatture in valuta con differenza cambio evidenziato che non le chiude totalmente
5 participants