7746621b92c27f6250c0895b0c54b501097e05bb
Before this task, when creating the related field from the studio, it is by default stored. When we change the field name in 'ir.model.fields' using ORM's write method, it also renames the column in the table associated with the field's model. This is the expected behavior. But when someone tries to change the 'name' of a non stored field, the column is not available in the associated model, and so trying to rename the column results into traceback. This issue was probably there for a while but came into light with the task 1985710. More info can be found on the chatter of the task. This commit fixes the issue by adding an extra check before renaming the table column. The query will be executed only when the field is stored and thus exists in the table. closes odoo/odoo#33944 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/10.0/setup/setup_dev.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./setup/setup_dev.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./setup/setup_dev.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%