Purpose of this commit to improve generic usage of project app. So in this commit done following changes: - add the following filters for project.update search view - display 'due mm/dd/yyyy' in red if the deadline is in the past and the milestone hasn't been reached yet for milestone section - add an 'x Milestones' stat button that should open a list view of all of the Milestones that are linked to an SOL of this SO for sale.order form view - add an 'unread messages' filter with separated from other filter - rename 'create' into 'create project for project wizard - change to "Create projects to organise your tasks. Define a different workflow for each project." for project.project action helper task-2864875 closes odoo/odoo#94936 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
17 lines
845 B
XML
17 lines
845 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="project_update_view_search_inherit" model="ir.ui.view">
|
|
<field name="name">project.update.view.search.inherit</field>
|
|
<field name="model">project.update</field>
|
|
<field name="inherit_id" ref="project.project_update_view_search"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//filter[@name='my_updates']" position='after'>
|
|
<filter string="My Team's Updates" name="my_team_updates" domain="[('user_id.employee_parent_id.user_id', '=', uid)]"/>
|
|
<filter string="My Department's Updates" name="my_department_updates" domain="[('user_id.employee_id.member_of_department', '=', True)]"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|