summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2020-11-10 09:36:01 +0000
committerYannick Tivisse <yti@odoo.com>2020-11-18 09:52:02 +0000
commit64ec312778a2552ebb3db75394c558e51a0c3f63 (patch)
treef4c82da78f7d12d860f86751b6b0293a3deffdb2 /addons
parent05c373a99a6064f08fc9eb0662ab2ccdb1978cd7 (diff)
[IMP] project: simplify project quick creation
Removed all the settings related to billable projects in the quick create dialog. There were too many settings which slowed down the quick creation of a project. closes odoo/odoo#61568 Taskid: 2376401 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/sale_timesheet/views/project_task_views.xml4
1 files changed, 0 insertions, 4 deletions
diff --git a/addons/sale_timesheet/views/project_task_views.xml b/addons/sale_timesheet/views/project_task_views.xml
index d59c3fb37b1..df07c452f88 100644
--- a/addons/sale_timesheet/views/project_task_views.xml
+++ b/addons/sale_timesheet/views/project_task_views.xml
@@ -70,10 +70,6 @@
<field name="allow_timesheets" position="after">
<field name="company_id" invisible="1"/>
<field name="allow_billable"/>
- <field name="bill_type" attrs="{'invisible': ['|', ('allow_billable', '=', False), ('allow_timesheets', '=', False)], 'required': ['&amp;', ('allow_billable', '=', True), ('allow_timesheets', '=', True)]}" widget="radio"/>
- <field name="partner_id" attrs="{'invisible': ['|', '|', ('allow_billable', '=', False), ('allow_timesheets', '=', False), ('bill_type', '!=', 'customer_project')], 'required': [('bill_type', '=', 'customer_project')]}"/>
- <field name="pricing_type" attrs="{'invisible': ['|', '|', ('allow_billable', '=', False), ('allow_timesheets', '=', False), ('bill_type', '!=', 'customer_project')], 'required': ['&amp;', ('allow_billable', '=', True), ('allow_timesheets', '=', True)]}" widget="radio"/>
- <field name="timesheet_product_id" string="Service" attrs="{'invisible': ['|', '|', ('allow_billable', '=', False), ('allow_timesheets', '=', False), '&amp;', ('bill_type', '=', 'customer_project'), ('pricing_type', '=', 'employee_rate')], 'required': ['&amp;', ('allow_billable', '=', True), ('allow_timesheets', '=', True)]}" context="{'default_type': 'service', 'default_service_policy': 'delivered_timesheet', 'default_service_type': 'timesheet'}"/>
</field>
</field>
</record>