1
<?xml version="1.0" encoding="UTF-8"?>
4
##############################################################################
6
# wms_routing module for OpenERP, This module allows to assing rounds to orders to set default locations automatically on moves
7
# Copyright (C) 2011 SYLEAM Info Services ([http://www.Syleam.fr/])
8
# Sylvain Garancher [sylvain.garancher@syleam.fr]
10
# This file is a part of wms_routing
12
# wms_routing is free software: you can redistribute it and/or modify
13
# it under the terms of the GNU General Public License as published by
14
# the Free Software Foundation, either version 3 of the License, or
15
# (at your option) any later version.
17
# wms_routing is distributed in the hope that it will be useful,
18
# but WITHOUT ANY WARRANTY; without even the implied warranty of
19
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
# GNU General Public License for more details.
22
# You should have received a copy of the GNU General Public License
23
# along with this program. If not, see [http://www.gnu.org/licenses/].
25
##############################################################################
27
<record id="view_sale_order_form" model="ir.ui.view">
28
<field name="name">sale.order.form</field>
29
<field name="model">sale.order</field>
30
<field name="type">form</field>
31
<field name="priority" eval="8"/>
32
<field name="inherit_id" ref="sale.view_order_form"/>
33
<field name="arch" type="xml">
34
<xpath expr="/form/group" position="inside">
35
<field name="round_id" widget="selection"/>
37
<xpath expr="/form/notebook/page/field[@name='partner_shipping_id']" position="attributes">
38
<attribute name="on_change">onchange_shipping_address(partner_id, partner_shipping_id, round_id)</attribute>