parent
0df2df24bc
commit
470e9c7e47
|
@ -26,11 +26,11 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
###############################################################################
|
||||
|
||||
import netsvc
|
||||
from osv import fields,osv
|
||||
from tools.translate import _
|
||||
|
||||
|
||||
# Overloaded stock_picking to manage carriers :
|
||||
class stock_picking(osv.osv):
|
||||
_name = "stock.picking"
|
||||
|
|
|
@ -31,14 +31,14 @@
|
|||
<field eval="7" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Product">
|
||||
<group colspan="2" col="4">
|
||||
<group colspan="3" col="4">
|
||||
<separator string="Product Description" colspan="4"/>
|
||||
<field name="name" select="1"/>
|
||||
<field name="default_code" select="1"/>
|
||||
<field groups="base.group_extended" name="variants" select="2"/>
|
||||
<field groups="base.group_extended" name="ean13" select="2"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<group colspan="1" col="2">
|
||||
<separator string="Product Type" colspan="2"/>
|
||||
<field name="sale_ok" select="2"/>
|
||||
<field name="purchase_ok" select="2"/>
|
||||
|
|
|
@ -350,9 +350,9 @@ class stock_picking(osv.osv):
|
|||
('done','Done'),
|
||||
('cancel','Cancel'),
|
||||
], 'Status', readonly=True, select=True),
|
||||
'date':fields.datetime('Date create'),
|
||||
'date':fields.datetime('Date Create'),
|
||||
|
||||
'move_lines': fields.one2many('stock.move', 'picking_id', 'Move lines'),
|
||||
'move_lines': fields.one2many('stock.move', 'picking_id', 'Move Lines'),
|
||||
|
||||
'auto_picking': fields.boolean('Auto-Packing'),
|
||||
'address_id': fields.many2one('res.partner.address', 'Partner'),
|
||||
|
|
|
@ -368,7 +368,7 @@
|
|||
</field>
|
||||
</record>
|
||||
<record id="action_location_tree" model="ir.actions.act_window">
|
||||
<field name="name">Locations Structure</field>
|
||||
<field name="name">Stock Locations Structure</field>
|
||||
<field name="res_model">stock.location</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="domain">[('location_id','=',False)]</field>
|
||||
|
|
Loading…
Reference in New Issue