fde3a529ba97241dd670e953f0c561b63853f624
Timesheet lines are meant to have no product, and instead rely on an implicit "Service" product. The UoM used is the company's project UOM (project_time_mode_id), and the nominal cost of this product is set on each employee. Forcefully using the SO product as was done before is useless and actually caused inconsistencies. The `unit_amount` value would be expected in the UoM of the SO product, while still being computed/set in the company's project UoM. When no nominal cost can be found for an employee, the cost is assumed to be 0, so the `amount` value is 0 too. In addition, the product field is not supposed to be visible on any form where timesheet lines are recorded. This patch fixes various bits of logic related to this, including parts which expected the `amount` value to be non-zero, or the product to be set.
…
…
…
…
…
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%