PRODUCT: add dimension to packaging

bzr revid: ced-025b8b586f77774f3a6549315d9b3770550ae960
This commit is contained in:
ced 2006-12-27 12:34:25 +00:00
parent 2e19834df1
commit a5482af6d6
2 changed files with 7 additions and 0 deletions

View File

@ -390,6 +390,9 @@ class product_packaging(osv.osv):
'weight': fields.float('Weight Palette'),
'weight_ul': fields.float('Weight UL'),
'active' : fields.boolean('Active'),
'height': fields.float('Height'),
'width': fields.float('Width'),
'length': fields.float('Length'),
}
def _get_1st_ul(self, cr, uid, context={}):

View File

@ -345,6 +345,10 @@
<field name="ul_qty" />
<field name="rows" on_change="on_change_rows(parent.weight, ul_qty, rows, qty)" />
<field name="weight" />
<separator string="Dimension" colspan="4"/>
<field name="height"/>
<field name="width"/>
<field name="length"/>
</form>
</field>
</record>