PRODUCT: add dimension to packaging
bzr revid: ced-025b8b586f77774f3a6549315d9b3770550ae960
This commit is contained in:
parent
2e19834df1
commit
a5482af6d6
|
@ -390,6 +390,9 @@ class product_packaging(osv.osv):
|
||||||
'weight': fields.float('Weight Palette'),
|
'weight': fields.float('Weight Palette'),
|
||||||
'weight_ul': fields.float('Weight UL'),
|
'weight_ul': fields.float('Weight UL'),
|
||||||
'active' : fields.boolean('Active'),
|
'active' : fields.boolean('Active'),
|
||||||
|
'height': fields.float('Height'),
|
||||||
|
'width': fields.float('Width'),
|
||||||
|
'length': fields.float('Length'),
|
||||||
}
|
}
|
||||||
|
|
||||||
def _get_1st_ul(self, cr, uid, context={}):
|
def _get_1st_ul(self, cr, uid, context={}):
|
||||||
|
|
|
@ -345,6 +345,10 @@
|
||||||
<field name="ul_qty" />
|
<field name="ul_qty" />
|
||||||
<field name="rows" on_change="on_change_rows(parent.weight, ul_qty, rows, qty)" />
|
<field name="rows" on_change="on_change_rows(parent.weight, ul_qty, rows, qty)" />
|
||||||
<field name="weight" />
|
<field name="weight" />
|
||||||
|
<separator string="Dimension" colspan="4"/>
|
||||||
|
<field name="height"/>
|
||||||
|
<field name="width"/>
|
||||||
|
<field name="length"/>
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
Loading…
Reference in New Issue