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

[18.0][MIG] account_invoice_margin: Migration to 18.0 #230

Open
wants to merge 56 commits into
base: 18.0
Choose a base branch
from

Conversation

BhaveshHeliconia
Copy link

No description provided.

sergio-teruel and others added 30 commits February 14, 2025 15:53
[UPD] README.rst

[UPD] Update account_invoice_margin.pot

Translated using Weblate (Spanish)

Currently translated at 100.0% (7 of 7 strings)

Translation: margin-analysis-11.0/margin-analysis-11.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-11-0/margin-analysis-11-0-account_invoice_margin/es/
[FIX] account_invoice_margin: Set purchase_price when user has not set invoice margin security group set
[REF] rename file with the name of the model
[ADD] margins on account.invoice model (and related views)
[ADD] description and screenshot
[FIX] Typo on margin (%) field name
[ADD] fr translation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: margin-analysis-12.0/margin-analysis-12.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-12-0/margin-analysis-12-0-account_invoice_margin/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: margin-analysis-13.0/margin-analysis-13.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-13-0/margin-analysis-13-0-account_invoice_margin/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: margin-analysis-13.0/margin-analysis-13.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-13-0/margin-analysis-13-0-account_invoice_margin/
Currently translated at 100.0% (9 of 9 strings)

Translation: margin-analysis-13.0/margin-analysis-13.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-13-0/margin-analysis-13-0-account_invoice_margin/es/
Luis Escobar and others added 26 commits February 14, 2025 15:53
…le with database populated with many invoices

    Currently, when the module is installed in a database populated with
    invoices, the compute methods are executed when fields are created,
    if the number of records is not many, the fields are set correctly,
    the problem lies when the records of these invoice lines are a
    considerable count (for example > 400 thousand AML records) does not
    finish running the compute methods and the odoo server closes
    unexpectedly, causing the module to fail to install.

    In order to solve this problem, it was required to create a hook to
    create the fields to avoid the execution of the computed methods
    and initialize margin percent to 100% to avoid inconsistency, so
    that in this way the installation of the module culminates successfully.
The invoice may be done in a currency different from the company
currency, so the cost (purchase_price) amount will be incorrect in
such context.

TT38500
Currently translated at 100.0% (9 of 9 strings)

Translation: margin-analysis-16.0/margin-analysis-16.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-account_invoice_margin/fr/
Currently translated at 100.0% (9 of 9 strings)

Translation: margin-analysis-16.0/margin-analysis-16.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-account_invoice_margin/fr_FR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: margin-analysis-16.0/margin-analysis-16.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-account_invoice_margin/
Currently translated at 100.0% (9 of 9 strings)

Translation: margin-analysis-16.0/margin-analysis-16.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-16-0/margin-analysis-16-0-account_invoice_margin/es/
- Include context keys for avoiding mail operations overhead.
Currently translated at 100.0% (9 of 9 strings)

Translation: margin-analysis-17.0/margin-analysis-17.0-account_invoice_margin
Translate-URL: https://translation.odoo-community.org/projects/margin-analysis-17-0/margin-analysis-17-0-account_invoice_margin/it/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.