jem-odoo 64adff43d8 [REF] sale_timesheet: make project billable wizard
When introducing the 'employee rate' mode to timesheet
on project, we break the wizard: its goal was to link the
existing timesheets to the SO line in order to invoice them.
(Employee rate commit: b4af54f9c2)

This commit makes the wizard compatible with the employee rate
feature, without breaking invoicing at task rate flow.

Two possible flows, starting with a non billable project:
  * project rate: the wizard will create a SO with one SOL,
  	and will link the task without SOL set to the new one.
  	The project will also be linked to that SOL.
  * employee rate: the user has to fill a map to associate
  	product and employee. If the same product is set 2 times
  	with the same price (and so, 2 different employees), only
  	one SOL will be created on the SO. When submitting, the
  	project map will be filled and the project will be linked
  	to the SO. No fallback SOL will be set on project or on
  	the tasks.

Both use cases will be stopped if a timesheet of the project's
tasks is already linked to a sale line. If not, the timesheets
will be associated to the correct SOL (dependning of the billable
type), and the delivered quantity will be incremented, making
the SO invoicable. The tasks'customer will also be set.

Future work: setting a product per task (which will be a real
'task rate' feature).

Task #1883640
2018-09-13 14:44:35 +02:00
2018-08-24 14:34:57 +02:00
…
2017-12-12 17:19:01 +01:00
…
…
2018-04-18 15:59:05 +02:00

Build Status Tech Doc Help Nightly Builds

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.

Then follow the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%