Comments (7)
This problem is solved by migrating mail.
from openupgrade.
Could you elaborate on how to solve the problem ?
from openupgrade.
@martintamare IIRC the mail module did not have migration scripts at the moment of opening this issue, they were added a few weeks later, so you should not run into the same issue as above anymore using a recent version of OpenUpgrade. Have a look at the mail migration scripts, they might hold a clue to solving the errors you are getting.
from openupgrade.
Here is what fixed the issue for me using raw postgresql (ugly but efficient ^^):
update res_partner set notify_email ='always' where notify_email='none';
The problem was present when clicking on a res.partners in the list view -> I then focus on the res.partner table and see the constraint there. none was not supposed to be in notify_email :)
from openupgrade.
@martintamare Thanks for sharing your solution. Maybe I don't fully understand the problem, and I'm not sure to which version you are migrating, but 'none' should be a valid option for that field (e.g. https://github.com/odoo/odoo/blob/master/addons/mail/models/res_partner.py#L21).
from openupgrade.
We started with openrp 7.0 then updating to odoo 8.0 using OCA.
Since the migration, we had this issue. Debugging the JS is a real pain so maybe that is not the correct fix.
We had a dirty installation with plenty of old module, I clean it all, let's see where this is leading us ;)
Anyway I can't reproduce the issue anymore, so ... :)
from openupgrade.
Had a similar problem migrating 7.0 to 8.0.
The field notification_email_send is 'comment' while 8.0 accepts as 'always'.
from openupgrade.
Related Issues (20)
- account.payment.method.line not connecting when migrating from 14 -> 15 HOT 3
- [16.0]Website Migration, in multilingual custom views
- [15.0] website: Contact Us web page failing to migrate HOT 1
- [16.0][account] minor: aml quantity should be False instead of 1.0 for tax lines and payment term lines in v16 HOT 13
- [16.0] mail: Delete incorrect rows before applying unique constraint HOT 1
- [16.0][account] Missing field and field information for account HOT 20
- Links to documentation on Readme are giving 404 HOT 1
- Migration continue don't run migration scripts HOT 5
- [14.0 -> 16.0] SQL views removed in Odoo HOT 6
- [v15 -> v16 Openupgrade] res_partner_views: Inherited view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition
- [14.0] update all multi-company security rules HOT 6
- [12.0] violates not-null constraint decimal.precision HOT 4
- [13.0] wrong rename for account.move.reverse_entry_id HOT 1
- [12] Update 12 to 13 HOT 7
- Is there any config in openupgrade to disable oca install dependency? HOT 4
- [11→12]: psycopg2.ProgrammingError: can't adapt type 'res.company' [stock] HOT 4
- [15→16] sale_purchase: AttributeError: 'ir.model.constraint' object has no attribute '_module_data_uninstall' HOT 2
- [11->12] payment_icons in inherited website model of module website_payment from v11 is unavailable in v12, but used in footer template view HOT 1
- i cannot access to accounting HOT 1
- I am trying to update Odoo bitnami 15.0 and it isn't working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openupgrade.