first commit
This commit is contained in:
12
modules/project_revenue/view/purchase_line_form.xml
Normal file
12
modules/project_revenue/view/purchase_line_form.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath
|
||||
expr="/form/notebook/page[@id='general']" position="after">
|
||||
<page string="Project" name="work">
|
||||
<label name="work"/>
|
||||
<field name="work"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
21
modules/project_revenue/view/work_form.xml
Normal file
21
modules/project_revenue/view/work_form.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook/page[@id='general']/label[@name='timesheet_duration']"
|
||||
position="before">
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<label name="list_price"/>
|
||||
<field name="list_price"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@id='general']/field[@name='total_effort']"
|
||||
position="after">
|
||||
<newline/>
|
||||
<label name="cost"/>
|
||||
<field name="cost"/>
|
||||
<label name="revenue"/>
|
||||
<field name="revenue"/>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/project_revenue/view/work_form_purchase.xml
Normal file
10
modules/project_revenue/view/work_form_purchase.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page string="Purchases" id="purchase">
|
||||
<field name="purchase_lines" colspan="4" widget="many2many"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
11
modules/project_revenue/view/work_list.xml
Normal file
11
modules/project_revenue/view/work_list.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='total_effort']" position="after">
|
||||
<field name="product" optional="1"/>
|
||||
<field name="list_price" optional="1"/>
|
||||
<field name="revenue" optional="0"/>
|
||||
<field name="cost" optional="0"/>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/project_revenue/view/work_list_children.xml
Normal file
10
modules/project_revenue/view/work_list_children.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='total_effort']" position="after">
|
||||
<field name="product" optional="1"/>
|
||||
<field name="list_price" optional="1"/>
|
||||
<field name="cost" optional="0"/>
|
||||
</xpath>
|
||||
</data>
|
||||
11
modules/project_revenue/view/work_tree.xml
Normal file
11
modules/project_revenue/view/work_tree.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='total_effort']" position="after">
|
||||
<field name="product" optional="1"/>
|
||||
<field name="list_price" optional="1"/>
|
||||
<field name="revenue" optional="0"/>
|
||||
<field name="cost" optional="0"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user