don't make name field of product too wide, for screens with small resolutions

This commit is contained in:
Alexis de Lattre
2016-01-07 18:55:53 +01:00
committed by Raphaël Valyi
parent 333afdff00
commit d7ddbf7cd7
2 changed files with 7 additions and 2 deletions

View File

@@ -32,8 +32,11 @@ Product Usability
=================
The usability enhancements include:
* show the object product.price.history in the product template form view
* wider name field in product form view
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
""",
'author': 'Akretion',

View File

@@ -74,11 +74,13 @@
</group>
</group>
<!-- START for wider 'name' field -->
<!-- Don't make it too big, othesize computers with small resolutions
will see the product name + image under the block of buttons -->
<div class="oe_left" position="attributes">
<attribute name="style">width: 800px;</attribute>
<attribute name="style">width: 700px;</attribute>
</div>
<div class="oe_title" position="attributes">
<attribute name="style">width: 700px;</attribute>
<attribute name="style">width: 600px;</attribute>
</div>
<field name="name" position="attributes">
<attribute name="class"></attribute>