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