Show "description" field in product form view

This commit is contained in:
Alexis de Lattre
2017-07-18 11:36:16 +02:00
committed by Raphaël Valyi
parent ae9a73488e
commit cd0c760086

View File

@@ -72,13 +72,16 @@
<field name="standard_price" class="oe_inline" position="after"> <field name="standard_price" class="oe_inline" position="after">
<button name="show_product_price_history" class="oe_inline oe_link" type="object" string="Show History" context="{'active_id': active_id}"/> <button name="show_product_price_history" class="oe_inline oe_link" type="object" string="Show History" context="{'active_id': active_id}"/>
</field> </field>
<!-- START for wider 'name' field -->
<!-- Don't make it too big, othesize computers with small resolutions <!-- Don't make it too big, othesize computers with small resolutions
will see the product name + image under the block of buttons --> will see the product name + image under the block of buttons -->
<div class="oe_title" position="attributes"> <div class="oe_title" position="attributes">
<attribute name="style">width: 650px;</attribute> <attribute name="style">width: 650px;</attribute>
</div> </div>
<!-- END for wider 'name' field --> <group name="description" position="inside">
<separator string="Internal notes" name="internal_description" colspan="4"/>
<field name="description" colspan="4" nolabel="1"
placeholder="Notes for internal use."/>
</group>
</field> </field>
</record> </record>