diff options
| author | jem-odoo <jem@openerp.com> | 2018-01-15 17:14:47 +0100 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-04-06 14:30:47 +0200 |
| commit | 3dd3e2648329995ddc309081787e19005d48ccd0 (patch) | |
| tree | 815c1233cf515845150e1229d50decb82317e63e /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 60a8b88cc96abd9a8ee1f7142cf15599d413d245 (diff) | |
[IMP] project: a project is not an analytic account anymore !
This commit removes the inheritS between account.analytic.account and
project.project. This means :
- When a project is created, an analytic account is not necessarily
genareted
- project has now its own name, company_id and partner_id fields
- an analytic account can be linked to several project
- project module does not depend anymore of analytic, but hr_timesheet
does.
This change implied
- an analytic account is required on project to timesheet on
its tasks. So, when checking 'allow_timsheets', if an AA is not
provided at project creation, an AA will be generated.
- to timesheet on project, an active AA is required. We don't want
timesheeting on project linked to unused AA to avoid bad analytic
entries.
This prepare the fact a sale order can create multiple project, sharing
the same analytic account (the one from the SO).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
