506ac455376d605bc360764ae958835b3da195e9
- Use the demo resource calendar (40h/week) - Create a project forecast for the Administrator - Set the 'Start date' and 'End date' to 2017-07-07 - Plan 8 hours The % of time should be 100 %, but it's not always the case. The core of the issue comes from `get_working_hours`. Case 1: Call with start_dt = end_dt = 2017-07-07 00:00:00 `get_working_hours_of_date` is called twice with the following start/end dt: - 2017-06-07 00:00:00, 2017-06-07 00:00:00 => 0 hours - 2017-06-08 00:00:00, 2017-06-08 23:59:59.999999 => 8 hours This is obviously not correct, we don't care about what happens on 2017-06-08. The number of hours is correct in total, but it comes from the wrong day. Case 2: Call with start_dt = 2017-07-07 00:00:00 and end_dt = 2017-07-07 23:59:59 `get_working_hours_of_date` is called twice with the following start/end dt: - 2017-06-07 00:00:00, 2017-06-07 23:59:59.999999 => 8 hours - 2017-06-08 00:00:00, 2017-06-08 23:59:59.999999 => 8 hours This is obviously not correct either... We change how the `until` parameter is computed. This way, the correct call is the second call (Case 2), and `get_working_hours_of_date` is calld once with the following start/end dt: - 2017-06-07 00:00:00, 2017-06-07 23:59:59.999999 => 8 hours opw-745253
…
…
…
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/10.0/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%