Daily updates from Odoo
Monday, June 17, 2019
1 change
Enhancements to existing features
Customers can now view relevant timesheet information in the portal from timesheet lists, tasks, and invoice-linked records. The change also limits what is shown for billable work so customers only see appropriate delivered-quantity timesheets, helping avoid exposing internal billing 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