-
-
Notifications
You must be signed in to change notification settings - Fork 692
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][MIG] account_invoice_change_currency #1261
[16.0][MIG] account_invoice_change_currency #1261
Conversation
Hey @ljsalvatierra-factorlibre, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
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.
code LGTM
f3b013a
to
59053e3
Compare
Hi, is it ok to merge? Can anyone please take a look? |
is it possible to merge this PR? @OCA/accounting-maintainers |
/ocabot migration account_invoice_change_currency |
Could you please show functionality in runboat in a 1 minute video? |
[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 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
…CA#1185) Initializing column custom_rate on table account_move for the improvement in performance to avoid long duration in databases with thousand of moves using a hook. account_invoice_change_currency 15.0.2.0.0
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-invoicing-15.0/account-invoicing-15.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-15-0/account-invoicing-15-0-account_invoice_change_currency/
Currently translated at 84.6% (11 of 13 strings) Translation: account-invoicing-15.0/account-invoicing-15.0-account_invoice_change_currency Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-15-0/account-invoicing-15-0-account_invoice_change_currency/ca/
59053e3
to
3331af5
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.
This PR has the |
FYI: @rafaelbn |
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.
You are awesome! ❤️
/ocabot merge patch
On my way to merge this fine PR! |
Congratulations, your PR was merged at d399e0b. Thanks a lot for contributing to OCA. ❤️ |
#1250