[FIX]stock: change on warehouse view

bzr revid: csn@openerp.com-20130903125419-haa1sareblx1zgbt
This commit is contained in:
Cedric Snauwaert 2013-09-03 14:54:19 +02:00
parent 47c6d2b9df
commit 0b4dd1546d
3 changed files with 6 additions and 6 deletions

View File

@ -1918,7 +1918,7 @@ class stock_warehouse(osv.osv):
_columns = {
'name': fields.char('Name', size=128, required=True, select=True),
'company_id': fields.many2one('res.company', 'Company', required=True, select=True),
'partner_id': fields.many2one('res.partner', 'Owner Address'),
'partner_id': fields.many2one('res.partner', 'Address'),
'lot_stock_id': fields.many2one('stock.location', 'Location Stock', required=True, domain=[('usage', '=', 'internal')]),
}

View File

@ -42,7 +42,7 @@ class stock_location_route(osv.osv):
class stock_warehouse(osv.osv):
_inherit = 'stock.warehouse'
_columns = {
'route_id': fields.many2one('stock.location.route', 'Default Logistic Route', help='Default route through the warehouse', required=True),
'route_id': fields.many2one('stock.location.route', 'Default Routes', help='Default route through the warehouse', required=True),
}

View File

@ -154,7 +154,7 @@
<field name="inherit_id" ref="stock.view_warehouse"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="route_id"/>
<field name="route_id" widget="many2many_tags"/>
</xpath>
</field>
</record>
@ -189,7 +189,7 @@
</record>
<record id="action_routes_form" model="ir.actions.act_window">
<field name="name">Logistic Routes</field>
<field name="name">Routes</field>
<field name="res_model">stock.location.route</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>
@ -197,9 +197,9 @@
<field name="view_id" ref="stock_location_route_tree" />
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to add a logistic route.
Click to add a route.
</p>
<p>You can define here the main logistic routes that run through
<p>You can define here the main routes that run through
your warehouses and that define the flows of your products. These
routes can be assigned to a product, a product category or be fixed
on procurement or sales order. </p>