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

[WIP]15.0][MIG]account_invoice_line_description: Migration to V15 #1409

Conversation

bizzappdev
Copy link

No description provided.

tafaRU and others added 21 commits March 4, 2023 21:24
…s; use description_sale or description_purchase depending on the invoice type
This addon test fails if the `sale` addon is installed, with:

    ERROR: setUpClass (odoo.addons.account_invoice_line_description.tests.test_account_invoice_line_description.TestAccountInvoiceLineDescription)
    Traceback (most recent call last):
    `   File "/opt/odoo/auto/addons/account_invoice_line_description/tests/test_account_invoice_line_description.py", line 33, in setUpClass
    `     'description_sale': 'Test Description Sale',
    `   File "/opt/odoo/auto/addons/product/models/product.py", line 320, in create
    `     product = super(ProductProduct, self.with_context(create_product_product=True)).create(vals)
    `   File "/opt/odoo/auto/addons/mail/models/mail_thread.py", line 228, in create
    `     thread = super(MailThread, self).create(values)
    `   File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3847, in create
    `     record = self.browse(self._create(old_vals))
    `   File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3908, in _create
    `     parent_id = self.env[parent_model].create(parent_vals).id
    `   File "/opt/odoo/auto/addons/product/models/product_template.py", line 267, in create
    `     template = super(ProductTemplate, self).create(vals)
    `   File "/opt/odoo/auto/addons/mail/models/mail_thread.py", line 228, in create
    `     thread = super(MailThread, self).create(values)
    `   File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3847, in create
    `     record = self.browse(self._create(old_vals))
    `   File "/opt/odoo/custom/src/odoo/odoo/models.py", line 3942, in _create
    `     cr.execute(query, tuple(u[2] for u in updates if len(u) > 2))
    `   File "/opt/odoo/custom/src/odoo/odoo/sql_db.py", line 154, in wrapper
    `     return f(self, *args, **kwargs)
    `   File "/opt/odoo/custom/src/odoo/odoo/sql_db.py", line 231, in execute
    `     res = self._obj.execute(query, params)
    ` IntegrityError: null value in column "sale_line_warn" violates not-null constraint
    ` DETAIL:  Failing row contains (41, null, 1.00, null, 1, null, 1, 1, null, null, 2018-05-15 08:03:37.480628, 1, t, t, null, 1, 1, Test Description Sale, null, null, 2018-05-15 08:03:37.480628, t, 7, Test Sale Product, f, consu, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null).
Currently translated at 40.0% (2 of 5 strings)

Translation: account-invoicing-11.0/account-invoicing-11.0-account_invoice_line_description
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-11-0/account-invoicing-11-0-account_invoice_line_description/es/
Currently translated at 100.0% (5 of 5 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_description
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_description/it/
Currently translated at 100.0% (5 of 5 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_description
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_description/de/
Currently translated at 100.0% (5 of 5 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_description
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_description/es/
Currently translated at 100.0% (5 of 5 strings)

Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_line_description
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_line_description/pt_BR/
@bizzappdev bizzappdev changed the title [15.0][MIG]account_invoice_line_description: Migration to V15 [WIP]15.0][MIG]account_invoice_line_description: Migration to V15 Mar 5, 2023
@pedrobaeza
Copy link
Member

/ocabot migration account_invoice_line_description

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Mar 5, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Mar 5, 2023
56 tasks
@OCA-git-bot
Copy link
Contributor

The migration issue (#1022) has been updated to reference the current pull request.
however, a previous pull request was referenced : #1403.
Perhaps you should check that there is no duplicate work.
CC : @JuanyDForgeflow

@pedrobaeza
Copy link
Member

Already being handled in #1403

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.