Daily updates from Odoo
Navigate
Branch
Monday, May 25, 2020
9 changes
Enhancements to existing features
Service-related apps now show clearer list views with visual indicators such as avatars, activity cues, status badges, remaining time, and highlighted values that need attention. This helps teams in projects, timesheets, helpdesk, expenses, planning, and field service scan records faster and spot issues more easily.
Original PR description
Purpose ======= Task 2195254 introduced many wonderful widgets to pimp the list view. This task aims at implemeting them into the Services apps: project, timesheets, helpdesk, expense, planning and…
Purpose ======= Task 2195254 introduced many wonderful widgets to pimp the list view. This task aims at implemeting them into the Services apps: project, timesheets, helpdesk, expense, planning and field service. Remaining days: https://drive.google.com/file/d/1o4Wn47445GxLqBkw-ifH9MgtFU_437xz/view Avatar: https://drive.google.com/file/d/1yDwJWP0MZCUKZbqCa8hte1ziVTYRMMtb/view Activities: https://drive.google.com/file/d/1e_rXH50eZq4zY2HOzw7_pfgiD39SoRIl/view Field-specific decorations: https://drive.google.com/file/d/1WFnqJ-jkyDFftRHxWW4bgomoWrOpOuaY/view More control on buttons Specifications ============== You will find below a list of which widgets to apply to which fields by model. Some changes have to be done in the form/kanban views as well. 1) project.task remaining days -> date_deadline -> list + kanban + form views hide this field if is_closed is true avatar -> user_id -> list view activities -> 'next activity' field to be added -> list view field-specific decorations https://nimb.ws/ACewrY remove the current orange/red decorations we have if planned_hours > 0, display the remaining_hours field in (list view): red if progress is > 100% orange if progress is between 80% and 100% green if progress is <80% display unit_amount in red if > 24:00 -> form view 2) rating.rating display the rating in: green = satisfied orange = not_satisfied red = highly_dissatisfied list + form views 3) project.project avatar -> user_id -> list + form views 4) account.analytic.line avatar -> employee_id -> list view display unit_amount in red if > 24:00 -> list + kanban + form view https://nimb.ws/eIWa7E merge the timer and duration fields together 5) helpdesk.ticket avatar user_id -> list view employee_id under timesheet_ids -> form view remaining hours -> sla_deadline activities -> 'next activity' field to be added -> list view field specific decoration -> display unit_amount in red if > 24:00 -> form view 6) hr.expense avatar -> employee_id -> list view activities -> 'next activity' field to be added -> list view badge -> state -> list view draft = blue reported = green approved = green done = green refused = red combine the unit_amount and the currency_id fields (see the total_amount field for reference) -> list view (idem for the expense_line_ids one2many on hr.expense.sheet) display the total_amount in bold move 'company_id' before 'amount' 7) hr.expense.sheet avatar employee_id -> list view user_id -> list view activities -> 'next activity' field to be added -> list view badge -> state -> list view draft = blue submit = green approve = green post = green done = green cancel = red display the total_amount in bold move 'company_id' before 'amount' 8) planning.slot avatar -> employee_id -> list view decoration display the allocated_percentage field in red if > 100% -> list + form view display the forecast_hours field in red if > planned hours and if planned_hours > 0 -> form view display the effective_hours field in red if > forecast_hours and if forecast_hours > 0 -> form view 9) misc calendar.event -> avatar -> user_id -> form view mail.activity.type -> combine the delay_count and delay_unit fields together -> list view note.note -> 'next activity' field to be added -> list view crm.lead.mining.request combine the lead_number and lead_type fields together -> list view display the name in bold badge -> state draft = blue done = green error = red planning.slot.template -> display the duration field in red if it is = 0 TaskID: 2248351
This update adds a Create button to the barcode picking kanban view, making it easier for users to start new picking operations from that screen. It also adds quick access to quality checks from production lot records and simplifies part of the PLM interface.
Original PR description
**[IMP] stock_barcode: create button for pickings** > Adds the 'Create' button in the picking kanban barcode view. **[IMP] mrp_plm: remove ...** **[IMP] quality_control: quality check stat button** > Adds a stat button for quality checks in the production lot form view. _task-2181611_
Several list views were refreshed to align with the newer Odoo interface, including clearer labels, user avatars, and updated button styling. This makes Quality Control Points, Quality Checks, Quality Alerts, and ECOs easier to scan and work with for day-to-day users.
Original PR description
This commit adapts several views to make them use newly defined widgets, the new decoration-xxx mechanism on fields, and to adapt them to the new design of buttons. used following widgets and designs - 1) decoration-bf 2) many2one_avatar_user widget 3) badge widget Impacted list views - 1) Quality Control Points 2) Quality Checks 3) Quality Alerts 4) ECO's Task-2248231
Resolved issues and error corrections
Helpdesk users can now start and stop the timer on tickets that already have invoiced timesheets. The system creates a new timesheet entry instead of trying to change invoiced records, preventing an error and keeping support time tracking accurate.
Original PR description
1) Enable 'Time Reinvoicing' on your helpdesk team 2) create a ticket in this team -> set the task field -> log time -> create an SO -> create an invoice -> post the entries 3) go back to the ticket and launch the timer Observed behavior: a user error stating that 'invoiced timesheets cannot be modified' is displayed Expected behaviour: when stopping the timer, a new timesheet entry should be created TaskID: 2245931 Closes: #10612
The Documents app now keeps its PDF viewer tools with the Documents assets, so PDF splitting can load what it needs only when required. This helps keep the feature available to the right users while reducing unnecessary loading elsewhere.
Original PR description
This commit creates a separate pdf js lib template with an access group for documents to allow the pdf splitter to lazyload the template.
The Documents app now handles cases where two workspaces are accidentally set as each other's parent. This prevents the document menu from crashing with a memory error and keeps workspace navigation usable.
Original PR description
Before this commit when we create 2 workspaces and set a parent of each other, and when click on document menu it was throwing memory error. After this commit it will reset parent of parent workspace, if two workspaces have each other as parent workspace LINKS PR https://github.com/odoo/enterprise/pull/10712 Task 2250634
Code cleanup and technical improvements
The grid view display has been modernized across core grid features, timesheets, stock reporting, and account consolidation. This prepares these areas for future improvements while keeping existing grid workflows working as expected, including a fix for stock grid cell clicks after the change.
Original PR description
*account_consolidation, stock_enterprise, timesheet_grid To prepare the future, we want to convert everything in Owl. This commit converts the renderer of the grid view. taskid: 2149408
Miscellaneous changes
Proper reference to current logged company when downloading the CSR file and private key Forward-Port-Of: odoo/enterprise#10489 Forward-Port-Of: odoo/enterprise#10393
Original PR description
Proper reference to current logged company when downloading the CSR file and private key Forward-Port-Of: odoo/enterprise#10489 Forward-Port-Of: odoo/enterprise#10393
Forward-Port-Of: odoo/enterprise#9699
Original PR description
Forward-Port-Of: odoo/enterprise#9699