bzr revid: fp@tinyerp.com-20120831162831-qn2ai0258pki7fxp
This commit is contained in:
Fabien Pinckaers 2012-08-31 18:28:31 +02:00
parent e95c8b2b1c
commit 6eb0b6af71
2 changed files with 8 additions and 6 deletions

View File

@ -628,15 +628,14 @@
<field name="model">product.product</field>
<field name="inherit_id" ref="stock.view_normal_procurement_locations_form"/>
<field name="arch" type="xml">
<group name="misc" position="after">
<group name="pos" colspan="2" col="2">
<separator string="Point of Sale" colspan="2"/>
<group name="sale" position="inside">
<group name="pos" string="Point of Sale">
<field name="income_pdt"/>
<field name="expense_pdt"/>
</group>
</group>
<field name="ean13" position="after">
<button name="edit_ean" type="object" string="Edit" />
<button name="edit_ean" type="object" string="Custom EAN" class="oe_link"/>
</field>
</field>
</record>

View File

@ -92,7 +92,10 @@
</group>
<group>
<field name="default_code"/>
<field name="ean13" placeholder="e.g. 5901234123457"/>
<label for="ean13"/>
<div name="ean">
<field name="ean13" placeholder="e.g. 5901234123457" class="oe_inline"/>
</div>
<field groups="product.group_product_variant" name="variants"/>
</group>
<group>
@ -128,7 +131,7 @@
</group>
</page>
<page string="Sales" attrs="{'readonly':[('sale_ok','=',0)]}">
<group>
<group name="sale">
<group>
<label for="sale_delay"/>
<div>