2009-01-02 18:20:40 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
this repository contains the full copyright notices and license terms. -->
|
|
|
|
|
<tryton>
|
|
|
|
|
<data>
|
2012-04-01 16:08:13 +02:00
|
|
|
<menuitem name="Payment Terms" parent="account.menu_account_configuration"
|
|
|
|
|
id="menu_payment_terms_configuration"/>
|
2009-01-02 18:20:40 +01:00
|
|
|
<record model="ir.ui.view" id="payment_term_view_form">
|
|
|
|
|
<field name="model">account.invoice.payment_term</field>
|
|
|
|
|
<field name="type">form</field>
|
2013-03-02 15:02:05 +01:00
|
|
|
<field name="name">payment_term_form</field>
|
2009-01-02 18:20:40 +01:00
|
|
|
</record>
|
|
|
|
|
<record model="ir.ui.view" id="payment_term_view_tree">
|
|
|
|
|
<field name="model">account.invoice.payment_term</field>
|
|
|
|
|
<field name="type">tree</field>
|
2013-03-02 15:02:05 +01:00
|
|
|
<field name="name">payment_term_tree</field>
|
2009-01-02 18:20:40 +01:00
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window" id="act_payment_term_form">
|
|
|
|
|
<field name="name">Payment Terms</field>
|
|
|
|
|
<field name="res_model">account.invoice.payment_term</field>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window.view" id="act_payment_term_form_view1">
|
|
|
|
|
<field name="sequence" eval="10"/>
|
|
|
|
|
<field name="view" ref="payment_term_view_tree"/>
|
|
|
|
|
<field name="act_window" ref="act_payment_term_form"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.action.act_window.view" id="act_payment_term_form_view2">
|
|
|
|
|
<field name="sequence" eval="20"/>
|
|
|
|
|
<field name="view" ref="payment_term_view_form"/>
|
|
|
|
|
<field name="act_window" ref="act_payment_term_form"/>
|
|
|
|
|
</record>
|
2010-01-23 15:43:03 +01:00
|
|
|
<menuitem parent="menu_payment_terms_configuration"
|
|
|
|
|
action="act_payment_term_form" id="menu_payment_term_form"/>
|
|
|
|
|
|
2009-01-02 18:20:40 +01:00
|
|
|
<record model="ir.model.access" id="access_payment_term">
|
|
|
|
|
<field name="model" search="[('model', '=', 'account.invoice.payment_term')]"/>
|
|
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
|
<field name="perm_write" eval="False"/>
|
|
|
|
|
<field name="perm_create" eval="False"/>
|
|
|
|
|
<field name="perm_delete" eval="False"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.model.access" id="access_payment_term_account_admin">
|
|
|
|
|
<field name="model" search="[('model', '=', 'account.invoice.payment_term')]"/>
|
|
|
|
|
<field name="group" ref="account.group_account_admin"/>
|
|
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
|
<field name="perm_write" eval="True"/>
|
|
|
|
|
<field name="perm_create" eval="True"/>
|
|
|
|
|
<field name="perm_delete" eval="True"/>
|
|
|
|
|
</record>
|
2012-01-31 23:30:53 +01:00
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="payment_term_line_view_list">
|
|
|
|
|
<field name="model">account.invoice.payment_term.line</field>
|
|
|
|
|
<field name="type">tree</field>
|
|
|
|
|
<field name="priority" eval="10"/>
|
2013-03-02 15:02:05 +01:00
|
|
|
<field name="name">payment_term_line_list</field>
|
2012-01-31 23:30:53 +01:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="payment_term_line_view_list_sequence">
|
|
|
|
|
<field name="model">account.invoice.payment_term.line</field>
|
|
|
|
|
<field name="type">tree</field>
|
|
|
|
|
<field name="priority" eval="20"/>
|
2013-03-02 15:02:05 +01:00
|
|
|
<field name="name">payment_term_line_list_sequence</field>
|
2012-01-31 23:30:53 +01:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="payment_term_line_view_form">
|
|
|
|
|
<field name="model">account.invoice.payment_term.line</field>
|
|
|
|
|
<field name="type">form</field>
|
2013-03-02 15:02:05 +01:00
|
|
|
<field name="name">payment_term_line_form</field>
|
2012-01-31 23:30:53 +01:00
|
|
|
</record>
|
|
|
|
|
|
2009-01-02 18:20:40 +01:00
|
|
|
<record model="ir.model.access" id="access_payment_term_line">
|
|
|
|
|
<field name="model" search="[('model', '=', 'account.invoice.payment_term.line')]"/>
|
|
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
|
<field name="perm_write" eval="False"/>
|
|
|
|
|
<field name="perm_create" eval="False"/>
|
|
|
|
|
<field name="perm_delete" eval="False"/>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.model.access" id="access_payment_term_line_account_admin">
|
|
|
|
|
<field name="model"
|
|
|
|
|
search="[('model', '=', 'account.invoice.payment_term.line')]"/>
|
|
|
|
|
<field name="group" ref="account.group_account_admin"/>
|
|
|
|
|
<field name="perm_read" eval="True"/>
|
|
|
|
|
<field name="perm_write" eval="True"/>
|
|
|
|
|
<field name="perm_create" eval="True"/>
|
|
|
|
|
<field name="perm_delete" eval="True"/>
|
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
</data>
|
|
|
|
|
</tryton>
|