first commit
This commit is contained in:
10
modules/project_invoice/view/timesheet_line_form.xml
Normal file
10
modules/project_invoice/view/timesheet_line_form.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="//field[@name='description']" position="after">
|
||||
<label name="invoice_line"/>
|
||||
<field name="invoice_line"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
32
modules/project_invoice/view/work_form.xml
Normal file
32
modules/project_invoice/view/work_form.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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']/group[@id='progress']"
|
||||
position="after">
|
||||
<label name="project_invoice_method"/>
|
||||
<field name="project_invoice_method"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='list_price']" position="after">
|
||||
<label name="project_invoice_timesheet_up_to"/>
|
||||
<field name="project_invoice_timesheet_up_to"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@id='general']/field[@name='total_effort']" position="after">
|
||||
<label name="amount_to_invoice"/>
|
||||
<field name="amount_to_invoice"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@id='general']/field[@name='revenue']" position="after">
|
||||
<label name="invoiced_amount"/>
|
||||
<field name="invoiced_amount"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@id='general']/group/group[@id='buttons']"
|
||||
position="inside">
|
||||
<button name="invoice"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page name="invoiced_progress">
|
||||
<field name="invoiced_progress" colspan="4"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/project_invoice/view/work_invoiced_progress_form.xml
Normal file
15
modules/project_invoice/view/work_invoiced_progress_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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. -->
|
||||
<form>
|
||||
<label name="work"/>
|
||||
<field name="work"/>
|
||||
<newline/>
|
||||
<label name="progress"/>
|
||||
<group col="2" id="progress">
|
||||
<field name="progress" factor="100" xexpand="0"/>
|
||||
<label name="progress" string="%" xalign="0.0" xexpand="1"/>
|
||||
</group>
|
||||
<label name="invoice_line"/>
|
||||
<field name="invoice_line"/>
|
||||
</form>
|
||||
10
modules/project_invoice/view/work_invoiced_progress_list.xml
Normal file
10
modules/project_invoice/view/work_invoiced_progress_list.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. -->
|
||||
<tree>
|
||||
<field name="work" expand="2"/>
|
||||
<field name="progress" factor="100">
|
||||
<suffix string="%" name="progress"/>
|
||||
</field>
|
||||
<field name="invoice_line" expand="1"/>
|
||||
</tree>
|
||||
10
modules/project_invoice/view/work_list.xml
Normal file
10
modules/project_invoice/view/work_list.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='type']"
|
||||
position="after">
|
||||
<field name="invoice_method"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user