forked from OCA/e-commerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sale_view.xml
40 lines (36 loc) · 1.56 KB
/
sale_view.xml
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
<?xml version="1.0" encoding="utf-8"?>
<!--
sale_quick_payment for OpenERP
Copyright (C) 2011 Akretion Sébastien BEAU <[email protected]>
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_payment_method.sale_order_view_form" />
<field name="arch" type="xml">
<button name="print_quotation" position="after">
<button name="%(open_pay_sale_order)d"
string="Register Payments"
type="action" states="draft,sent"/>
</button>
<field name="payment_method_id" position="after" >
<group name="payments" string="Generated Payments" colspan="4">
<field name="payment_ids" nolabel="1">
<tree string="Payment">
<field name="date"/>
<field name="journal_id"/>
<field name="partner_id"/>
<field name="debit"/>
<field name="credit"/>
</tree>
</field>
</group>
</field>
</field>
</record>
</data>
</openerp>