Add project field to contract line form
This commit is contained in:
parent
fd4ee533a3
commit
7c5b544e53
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="contract_line_view_form">
|
||||
<field name="model">contract.line</field>
|
||||
<field name="inherit" ref="contract.contract_line_view_form"/>
|
||||
<field name="name">contract_line_form</field>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
|
@ -7,4 +7,5 @@ depends:
|
|||
extras_depend:
|
||||
asset_zone
|
||||
xml:
|
||||
contract.xml
|
||||
work.xml
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/field[@name='asset']" position="after">
|
||||
<label name="project"/>
|
||||
<field name="project"/>
|
||||
</xpath>
|
||||
</data>
|
Loading…
Reference in New Issue