[UPD] Add budget_forecast field in timesheet table in tasks
This commit is contained in:
@@ -81,6 +81,7 @@ This module is maintained by ELABORE.
|
||||
"views/budget_coefficient.xml",
|
||||
"views/budget_coefficient_model.xml",
|
||||
"views/product_template_form.xml",
|
||||
"views/project_views.xml",
|
||||
"views/hr_employee.xml",
|
||||
"views/actions.xml",
|
||||
"views/assets.xml",
|
||||
|
13
account_budget_forecast/views/project_views.xml
Normal file
13
account_budget_forecast/views/project_views.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="view_task_form_budget_forecast">
|
||||
<field name="name">project.task.form.budget.forecast</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="hr_timesheet.view_task_form2_inherited" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='timesheet_ids']/tree/field[@name='name']" position="after">
|
||||
<field name="budget_forecast_id" domain="[('display_type', '=', 'line_article')]" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
Reference in New Issue
Block a user