[REM] stock: Remove the active field from stock picking

bzr revid: sbh@tinyerp.com-20100831070718-ncnmq6m0bs8c4yyg
This commit is contained in:
sbh (Open ERP) 2010-08-31 12:37:18 +05:30
parent 5d2dae07b8
commit 7a5ffe115d
2 changed files with 1 additions and 6 deletions

View File

@ -543,9 +543,8 @@ class stock_picking(osv.osv):
_columns = {
'name': fields.char('Reference', size=64, select=True),
'origin': fields.char('Origin', size=64, help="Reference of the document that produced this picking."),
'backorder_id': fields.many2one('stock.picking', 'Back Order', help="If this picking was split this field links to the picking that contains the other part that has been processed already."),
'backorder_id': fields.many2one('stock.picking', 'Back Order of', help="If this picking was split this field links to the picking that contains the other part that has been processed already."),
'type': fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal'), ('delivery', 'Delivery')], 'Shipping Type', required=True, select=True, help="Shipping type specify, goods coming in or going out."),
'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the picking without removing it."),
'note': fields.text('Notes'),
'stock_journal_id': fields.many2one('stock.journal','Stock Journal'),
'location_id': fields.many2one('stock.location', 'Location', help="Keep empty if you produce at the location where the finished products are needed." \
@ -587,7 +586,6 @@ class stock_picking(osv.osv):
}
_defaults = {
'name': lambda self, cr, uid, context: '/',
'active': 1,
'state': 'draft',
'move_type': 'direct',
'type': 'in',

View File

@ -677,7 +677,6 @@
<field colspan="4" name="note" nolabel="1"/>
</page>
<page string="Other info" groups="base.group_extended">
<field name="active"/>
<field name="auto_picking"/>
<field name="invoice_state"/>
<field name="date_done"/>
@ -851,7 +850,6 @@
</page>
<page string="Other info" groups="base.group_extended">
<field name="auto_picking"/>
<field name="active"/>
<newline/>
<field name="date_done"/>
<field name="move_type"/>
@ -1049,7 +1047,6 @@
<field colspan="4" name="note" nolabel="1"/>
</page>
<page string="Other info" groups="base.group_extended">
<field name="active"/>
<field name="auto_picking"/>
<newline/>
<field name="date_done"/>