8cd0127af300efd7f33bc45935912d75ca92f8b0
Before this, setting up the discount on a pos_config was a bit confusing. Although iface_discount was enabled by default on the pos_config, the discount button would not show up in the actual POS. The reason for this is that the discount button only shows up when a discount product has been set, and there is no default for that. So in order to make things a bit clearer the following has been done: - Group discount related options together - Only show discount product and default percentage field when using discount - Rename 'Discount percentage' -> 'Default percentage' - Default iface_discount to False (because a discount_product_id has to be manually set anyway) - Make discount_product_id required when discount is enabled - Only allow discount_product_id candidates that have available_in_pos set, because the POS frontend only loads those products
…
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/master/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%