Skip to content

[FIX] apriori incorrect rename (product_supplierinfo_for_customer_sale) - #1813

Merged
pedrobaeza merged 2 commits into
OCA:10.0from
legalsylvain:10.0_FIX_apriori_product_customer_code_sale
May 1, 2019
Merged

[FIX] apriori incorrect rename (product_supplierinfo_for_customer_sale)#1813
pedrobaeza merged 2 commits into
OCA:10.0from
legalsylvain:10.0_FIX_apriori_product_customer_code_sale

Conversation

@legalsylvain

Copy link
Copy Markdown
Contributor

Description of the issue/feature this PR addresses:

  • Openugrapde from 8.0 to 10.0
  • during the process 9.0 to 10.0, an error occures
IntegrityError: duplicate key value violates unique constraint "name_uniq"
DETAIL:  Key (name)=(product_supplierinfo_for_customer_sale) already exists.

This is due to the apriori.py file from openupgrade 10.0 that mentions that the module product_customer_code_sale has been renamed into product_supplierinfo_for_customer_sale

The problem is that

I don't know if this is the best solution, but it seems that the current code is not correct, so I disabled the line.

regards.

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@pedrobaeza pedrobaeza added this to the 10.0 milestone May 1, 2019
@pedrobaeza

Copy link
Copy Markdown
Member

Please move it instead to merged_modules.

@legalsylvain

Copy link
Copy Markdown
Contributor Author

done. Thanks for your insight.

@pedrobaeza
pedrobaeza merged commit 182c071 into OCA:10.0 May 1, 2019
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.

2 participants