d58d6e270f4106d717821438490f60bc4f71306e
It could happen in some cases that a rpc coming from a view was not made with the context of the view (and from the action). For example, - enable "Lots & Serial Numbers" in the inventory settings - create a stockable product tracked by lot - go to the inventory dashboard, on the "receipts" card click on the three dots and then on "planned transfer" this link forces the context key "planned_transfer" in the action https://github.com/odoo/odoo/blob/11.0/addons/stock/views/stock_picking_views.xml#L725 - now add a stock move to move some quantity of the product you just created - see that no button appears on the one2many list - save - see that a button appears on the one2many list This is an issue because the read on the o2m at the end is made with the wrong context. The reason is that when we fetch x2m, we create a new datapoint of type 'list' which did not reuse the context of its parent.
…
…
…
…
…
…
…
…
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%