2008-09-30 15:14:08 +02:00
|
|
|
<?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. -->
|
|
|
|
|
<tryton>
|
|
|
|
|
<data>
|
|
|
|
|
<record model="ir.ui.view" id="product_view_form">
|
|
|
|
|
<field name="model">product.product</field>
|
|
|
|
|
<field name="inherit" ref="product.product_view_form"/>
|
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
|
<![CDATA[
|
|
|
|
|
<data>
|
2008-12-13 00:17:51 +01:00
|
|
|
<xpath expr="/form/notebook/page[@id="general"]"
|
2008-09-30 15:14:08 +02:00
|
|
|
position="after">
|
2012-05-29 18:12:23 +02:00
|
|
|
<page string="Default Locations" id="default_locations"
|
|
|
|
|
states="{'invisible': ~Eval('type').in_(['goods', 'assets'])}">
|
|
|
|
|
<field name="locations" colspan="4"/>
|
|
|
|
|
</page>
|
2008-09-30 15:14:08 +02:00
|
|
|
</xpath>
|
|
|
|
|
</data>
|
|
|
|
|
]]>
|
|
|
|
|
</field>
|
|
|
|
|
</record>
|
|
|
|
|
</data>
|
|
|
|
|
</tryton>
|