forked from OCA/account-financial-tools
-
Notifications
You must be signed in to change notification settings - Fork 3
/
account_view.xml
45 lines (42 loc) · 2.11 KB
/
account_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
41
42
43
44
45
<openerp>
<data>
<act_window
id="act_account_credit_relation_relation"
name="Credit Lines"
groups="account_credit_control.group_account_credit_control_manager,account_credit_control.group_account_credit_control_user"
domain="[('account_id', '=', active_id)]"
res_model="credit.control.line"
src_model="account.account"/>
<record id="invoice_followup_form_view" model="ir.ui.view">
<field name="name">invoice.followup.form.view</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form" />
<field name="arch" type="xml">
<notebook position="inside">
<page string="Credit Control"
groups="account_credit_control.group_account_credit_control_manager,account_credit_control.group_account_credit_control_user,account_credit_control.group_account_credit_control_info">
<group>
<field name="credit_policy_id" widget="selection"
string="Manual Credit Control Policy"
attrs="{'invisible': [('credit_policy_id', '=', False)]}"
groups="account_credit_control.group_account_credit_control_manager,account_credit_control.group_account_credit_control_user,account_credit_control.group_account_credit_control_info"/>
</group>
<separator string="Issued Lines" colspan="4"/>
<field name="credit_control_line_ids" colspan="4" nolabel="1"
groups="account_credit_control.group_account_credit_control_manager,account_credit_control.group_account_credit_control_user,account_credit_control.group_account_credit_control_info" >
<tree string="Credit Control Lines">
<field name="date"/>
<field name="level"/>
<field name="state"/>
<field name="channel"/>
<field name="balance_due"/>
<field name="policy_level_id"/>
<field name="policy_id"/>
</tree>
</field>
</page>
</notebook>
</field>
</record>
</data>
</openerp>