Daily updates from Odoo
Monday, June 17, 2019
1 change
New functionality added to Odoo
Customers can now view relevant timesheet information directly in the portal, including general timesheets, task-related time, and time linked to invoices. The change improves transparency while limiting invoice-linked views to appropriate delivered-quantity billing cases to avoid exposing sensitive commercial details.
Original PR description
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