Merge branch 'pawan_branch' into 'development'

hide service field

See merge request prakash.jain/cor-odoo!82
This commit is contained in:
pawan.sharma 2021-01-14 00:15:21 -08:00
commit f95da5542f
1 changed files with 2 additions and 2 deletions

View File

@ -56,10 +56,10 @@
<field name="expenses_amt"/>
<div class="o_td_label"
attrs="{'invisible': ['|', '|', ('allow_timesheets', '=', False), ('sale_order_id', '!=', False), '&amp;', ('pricing_type', '!=', 'fixed_rate'), ('bill_type', '!=', 'customer_task')]}">
<label for="timesheet_product_id" string="Default Service"
<!--<label for="timesheet_product_id" string="Default Service"
attrs="{'invisible': [('bill_type', '!=', 'customer_task')]}"/>
<label for="timesheet_product_id" string="Service"
attrs="{'invisible': [('bill_type', '=', 'customer_task')]}"/>
attrs="{'invisible': [('bill_type', '=', 'customer_task')]}"/>-->
</div>
<!--<field name="timesheet_product_id" nolabel="1"
attrs="{'invisible': ['|', '|', ('allow_timesheets', '=', False), ('sale_order_id', '!=', False), '&amp;', ('pricing_type', '!=', 'fixed_rate'), ('bill_type', '!=', 'customer_task')], 'required': ['&amp;', ('allow_billable', '=', True), ('allow_timesheets', '=', True)]}"