-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
[MIG] account_invoice_change_currency: Migration to 15.0 #1161
[MIG] account_invoice_change_currency: Migration to 15.0 #1161
Conversation
[UPD] Update account_invoice_change_currency.pot
[REF] Update readme file [UPD] README.rst [UPD] Update account_invoice_change_currency.pot
…e form [UPD] README.rst
[IMP] Avoid store old currency in new field, instead of get it from tracking values from messages [UPD] README.rst [UPD] Update account_invoice_change_currency.pot
…ertion [IMP] account_invoice_change_currency: Allow set a a custom rate at currency conversion [UPD] README.rst [UPD] Update account_invoice_change_currency.pot
…d position in supplier invoices. (OCA#458)
created, newid record not consider at onchange and get_last_currency method [UPD] Update account_invoice_change_currency.pot Update translation files Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Currently translated at 25.0% (2 of 8 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_change_currency/es/
Currently translated at 87.5% (7 of 8 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_change_currency/es/
Currently translated at 100.0% (8 of 8 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_change_currency/es/
Currently translated at 12.5% (1 of 8 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_change_currency/de/
Currently translated at 100.0% (8 of 8 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_change_currency/es/ [UPD] README.rst
Currently translated at 25.0% (2 of 8 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_change_currency/de/
convertion. Before this commit, was returned the same currency that the invoice on the onchange context, now is returned the currency recorded at the messages with tracking values.
Currently translated at 75.0% (6 of 8 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_change_currency/hr/
…nt after convertions
Currently translated at 62.5% (5 of 8 strings) Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_change_currency/de/
**Changes** Now, the account_invoice_change_currency avoid the mail tracking using account.move, res.currency and new fields to handle the different calculations. **New fields** - original_currency_id: Store the base currency when the invoice is created or the conversion is called for the first time. This is used to calculate conversion from this currency. - is_original_currency: Check if current currency is the base currency. This is used to hide custom rate field in the form view. - original_price_unit: Store price unit from every line when the invoice is created or the conversion is called for the first time to use it to convert the amount in the new currency. [UPD] README.rst
c29d39e
to
85238e8
Compare
Hi, @luisg123v, @moylop260 and @hugho-ad, please, may someone review this migration? T#52382 red tests are related to account_invoice_fiscal_position_update cc @name1984 @desdelinux) |
account_invoice_change_currency/tests/test_account_invoice_change_currency.py
Show resolved
Hide resolved
Hi, @luisg123v, @moylop260 and @hugho-ad, please, may you review this migration? T#52382 red tests are related to account_invoice_fiscal_position_update |
6120cb9
to
a8af913
Compare
Could you create a new issue related to the red CI for |
The red CI is due to upstream changes, as the last time. You can collaborate as well to fix it. I think this time it can be something with explicitly calling action_post that I have seen around. |
No description provided.