ac89783d2f6cf5477de1c5e576e90ee0f576c9cc
Before this the POS would load product.product records with pricelist_id defined on the pos.config in context. These unit prices were then used everywhere in the POS as-is. The POS contained no pricelist logic at all. This implements the full pricelist logic in the POS and provides a way for users to choose what pricelist to apply per order. This implementation closely follows the behavior defined in the product and sale modules. This includes unit tests for the get_price function and acceptance tests. The unit tests are done in PhantomJS and ensure that get_price returns the same as the backend returns when reading the 'price' field on product.product. Prices of products are displayed according to the selected pricelist. To accomodate this the product_cache DomCache of the ProductListWidget is now done per pricelist. Additionally, this feature should speed up the loading of product.product records. Now only stored product.product fields are loaded. Before the non-stored computed 'price' field had to be loaded for every product.product record.
…
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%