a433ae65cb2c31a278980588c865d4f351612878
The deleted code put the same picking_type_id for all companies. The function _get_picking_in returns the right default picking_type_id according to the company. Steps to reproduce: -stock.warehouse0 is on company A. -Define another company B with its own warehouse. -Update the purchase module -> a new default value for picking_type_id on purchase order for company B is created wtih the value of company A -Create a purchase order on company B, Odoo tries to get the picking_type_id from company A. If user doesn't have any rights on company A, it occurs a security warning. Otherwise the purchase order is linked to a picking operation of another company. opw:694059
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, 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/8.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%