add delete option in resource

This commit is contained in:
pawan.sharma 2022-08-23 13:44:16 +05:30
parent 12ddb80417
commit 8397f0dd68
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,7 @@
<field name="is_check" invisible="1"/>
</group>
<button name="%(action_project_resource_wizard)d" string="Add Resource" type="action"
attrs="{'invisible': [('pricing_type','=','fixed_rate')]}"
groups="project.group_project_manager" class="oe_highlight"/>
<field name="sale_line_employee_ids"
attrs="{'invisible': ['|', ('bill_type', '!=', 'customer_project'), ('pricing_type', '!=', 'employee_rate')]}">
@ -99,6 +100,7 @@
<field name="consultant_cost"/>
<field name="actual_revenue"/>
<field name="budgeted_hour_week" invisible="1"/>
<button name="unlink" type="object" icon="fa-trash-o"/>
</tree>
</field>
<!--<field name="consultant_timesheet_hrs" readonly="1" attrs="{'invisible': [('pricing_type','!=','fixed_rate')]}">-->