a5ca63c83beafd9a060ac58d3b4c6a9a987b28df
Before the new views (SAAS15 and before), the 'readonly' modifier was kind of weird: a field which was in a readonly state was not saved (the field was not present in the RPC), UNLESS it is a subfield (for a x2many). With the new views, we changed the semantics, to make it more consistent: fields in readonly state are never sent to the server. This is a much simpler semantic, but it may introduce some problems, when we actually want to save the record. This is solved with a new attribute 'force_save', where we explicitely have to declare which fields should be save, even if they are in readonly mode. In this commit, we simply add the missing force_save attribute to the order line form view. This allow the user to create a new SO, add an order line with some invoice line, and save the result (without this, the server complains about a missing product_id field)
…
…
…
…
…
…
…
…
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/master/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%