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
parent f5c54ce9d0
commit 823e9ad208
2 changed files with 7 additions and 2 deletions

View File

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

View File

@@ -74,11 +74,13 @@
</group> </group>
</group> </group>
<!-- START for wider 'name' field --> <!-- 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"> <div class="oe_left" position="attributes">
<attribute name="style">width: 800px;</attribute> <attribute name="style">width: 700px;</attribute>
</div> </div>
<div class="oe_title" position="attributes"> <div class="oe_title" position="attributes">
<attribute name="style">width: 700px;</attribute> <attribute name="style">width: 600px;</attribute>
</div> </div>
<field name="name" position="attributes"> <field name="name" position="attributes">
<attribute name="class"></attribute> <attribute name="class"></attribute>