~ecommerce-addons-core-editors/e-commerce-addons/github-6.1

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
45
46
<?xml version="1.0" encoding="utf-8"?>
<!--
  sale_quick_payment for OpenERP
  Copyright (C) 2011 Akretion S├ębastien BEAU <sebastien.beau@akretion.com>
  The licence is in the file __openerp__.py
-->

<openerp>
    <data>
    
        <!-- INHERITED VIEW FOR THE OBJECT : sale_order -->

        <record id="sale_order_view_form" model="ir.ui.view">
            <field name="name">sale_quick_payment.sale_order.view_form</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_form" />
            <field eval="16" name="priority"/>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <page string="Other Information" position="after">
                    <page name="automation_information" string="Automation Information">
                        <group name="payment_information" colspan="4">
                            <separator string="Payment Information" colspan="4"/>
                            <field name="payment_method_id" />
                            <field name="payment_id" />
                        </group>
                    </page>
                </page>
            </field>
        </record>

        <record id="sale_order_view_tree" model="ir.ui.view">
            <field name="name">sale_quick_payment.sale_order.view_tree</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_tree" />
            <field eval="16" name="priority"/>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <field name="state" position="after">
                    <field name="payment_method_id" />
                </field>
            </field>
        </record>

    </data>
</openerp>