diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-06-17 20:15:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-17 20:15:26 +0200 |
| commit | 0fc33c37c3cea3cadf69c2352f49c88b295bd63f (patch) | |
| tree | f451d1c338be93e4962f34ca0261f20476513128 /addons/mail/static/src/js/composers/basic_composer.js | |
| parent | 3cd7ed07a29c89ddf193796c20a812b9bf21e284 (diff) | |
| parent | 0cf5c87ed7c7c928790cec212f0a1906d04a3518 (diff) | |
[MERGE][IMP] *_timesheet: customer portal for timesheets
Impacted modules: hr_timesheet and sale_timesheet
This merge provides the customer portal part to display timesheets. Timesheets
can be seen from 3 differents points of view: list of timesheets, timesheets on
tasks, and timesheet linked to invoices (only for delivered qty policy).
When tracking time (sale_timesheet not installed), all timesheets can be displayed
to portal. When sale_timesheet is installed, if the timesheet is billed (billable_type
field), we only display the ones coming from a delivered qty policy selling. Indeed,
it makes no sense to display the 'ordered qty' timesheets, as it can reveal you sold
more time than required to your customer.
To do, we decided to remove access rules for portal user: timesheet (analytic line
model) is now technical and is given with `sudo` to portal. Admin can still restore
some of them to allow third part application with XML RPC.
See subcommits for more details
Task-1932488
closes odoo/odoo#31703
Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'addons/mail/static/src/js/composers/basic_composer.js')
0 files changed, 0 insertions, 0 deletions
