summaryrefslogtreecommitdiff
path: root/addons/hr_expense/data/hr_expense_data.xml
diff options
context:
space:
mode:
authorOdoo's Mergebot <robodoo@odoo.com>2020-12-21 18:31:44 +0100
committerGitHub <noreply@github.com>2020-12-21 18:31:44 +0100
commitcde5aa70bfa2592364a2126ef281552046f98ce9 (patch)
tree2d45a1b3e0652ce944a0e0906293f5e4c8318fb5 /addons/hr_expense/data/hr_expense_data.xml
parentf5c0990c6af2f44f503de1cc50cc5b094e31976a (diff)
parent171260006af954245cde3f53b6eaa2d230316529 (diff)
[MERGE] hr_timesheet: Fix global UX
### Goal of the PR This PR is in the continuity of odoo#62360. ### Details - Display remaining hours in task sales_line_id (name_get + task form view) - Remove internal reference from services demo data - Display sol in project timesheets list if project is billable - Remove use of non_allow_billable in timesheets as it has been removed from project and task in previous PR (see above) - Only recompute planned_hours for service product - Determine the correct SOL for timesheet - Set the last SOL of customer on timesheet if none is set on task or project - Allow edition of so_line in timesheet - Restrict SOL on project to sale lines with a service product - Use same widget on partner_id many2One than in sale.order (using ranking) - Remove timesheets table in SO and invoice portal.They were added in previous PR (see above). This introduces the use of links to /my/timesheets/. - Review portal timesheets (my/timesheets/ and link from orders and invoices) - Activate group_uom "Units of Measure" on sale_timesheet install - Hide partner phone number in task form view - Only determine SOL of task and timesheet if allow_billable=True - Filter SOL in task so that it matches the SOL of the project SO - Display red label if remaining hours is negative - Change SO compute behavior - Only open SO for salesman on project overview task-2409761 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr closes odoo/odoo#62900 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/hr_expense/data/hr_expense_data.xml')
-rw-r--r--addons/hr_expense/data/hr_expense_data.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/hr_expense/data/hr_expense_data.xml b/addons/hr_expense/data/hr_expense_data.xml
index 5133dc6d8a8..5005c238c44 100644
--- a/addons/hr_expense/data/hr_expense_data.xml
+++ b/addons/hr_expense/data/hr_expense_data.xml
@@ -6,7 +6,6 @@
<field name="list_price">0.0</field>
<field name="standard_price">1.0</field>
<field name="type">service</field>
- <field name="default_code">EXP_GEN</field>
<field name="categ_id" ref="product.cat_expense"/>
<field name="can_be_expensed" eval="True"/>
</record>