2008-07-01 15:58:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2008-06-29 08:26:07 +00:00
|
|
|
<data>
|
2008-10-20 20:49:11 +00:00
|
|
|
|
|
|
|
<record id="view_account_position_form" model="ir.ui.view">
|
|
|
|
<field name="name">account.fiscal.position.form</field>
|
|
|
|
<field name="model">account.fiscal.position</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Fiscal Position">
|
2012-06-05 17:54:11 +00:00
|
|
|
<group col="4">
|
2012-06-12 06:38:15 +00:00
|
|
|
<field name="name"/>
|
2012-04-25 13:40:18 +00:00
|
|
|
<field name="active"/>
|
2012-06-05 17:54:11 +00:00
|
|
|
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
|
2011-09-21 07:13:12 +00:00
|
|
|
</group>
|
2014-06-29 21:31:16 +00:00
|
|
|
<group>
|
|
|
|
<field name="auto_apply"/>
|
|
|
|
<field name="sequence"/>
|
|
|
|
<field name="vat_required" attrs="{'readonly': [('auto_apply', '=', False)]}"/>
|
|
|
|
<field name="country_id" attrs="{'readonly': ['|', ('country_group_id','!=',False), ('auto_apply', '=', False)]}" />
|
|
|
|
<field name="country_group_id" attrs="{'readonly': ['|', ('country_id','!=',False), ('auto_apply', '=', False)]}"/>
|
|
|
|
</group>
|
2012-09-20 09:27:26 +00:00
|
|
|
<separator string="Taxes Mapping"/>
|
2012-06-05 17:54:11 +00:00
|
|
|
<field name="tax_ids" widget="one2many_list">
|
2009-01-27 11:15:46 +00:00
|
|
|
<tree string="Tax Mapping" editable="bottom">
|
2008-10-21 16:28:19 +00:00
|
|
|
<field name="tax_src_id" domain="[('parent_id','=',False)]"/>
|
|
|
|
<field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
|
2008-10-21 14:57:42 +00:00
|
|
|
</tree>
|
2012-06-12 06:38:15 +00:00
|
|
|
<form string="Tax Mapping">
|
2008-10-21 16:28:19 +00:00
|
|
|
<field name="tax_src_id" domain="[('parent_id','=',False)]"/>
|
|
|
|
<field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
|
2008-10-21 14:57:42 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
2012-09-20 09:27:26 +00:00
|
|
|
<separator string="Accounts Mapping"/>
|
2012-06-05 17:54:11 +00:00
|
|
|
<field name="account_ids" widget="one2many_list">
|
2009-01-27 11:15:46 +00:00
|
|
|
<tree string="Account Mapping" editable="bottom">
|
2008-10-20 20:49:11 +00:00
|
|
|
<field name="account_src_id"/>
|
|
|
|
<field name="account_dest_id"/>
|
|
|
|
</tree>
|
2012-06-12 06:38:15 +00:00
|
|
|
<form string="Account Mapping">
|
2008-10-20 20:49:11 +00:00
|
|
|
<field name="account_src_id"/>
|
|
|
|
<field name="account_dest_id"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
2012-06-05 17:54:11 +00:00
|
|
|
<separator string="Notes"/>
|
|
|
|
<field name="note"/>
|
2008-10-20 20:49:11 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="view_account_position_tree" model="ir.ui.view">
|
|
|
|
<field name="name">account.fiscal.position.tree</field>
|
|
|
|
<field name="model">account.fiscal.position</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-10-09 16:01:43 +00:00
|
|
|
<tree string="Fiscal Position">
|
2014-06-29 21:31:16 +00:00
|
|
|
<field name="sequence"/>
|
2008-10-20 20:49:11 +00:00
|
|
|
<field name="name"/>
|
2009-12-23 16:15:54 +00:00
|
|
|
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
2008-10-20 20:49:11 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2013-05-07 16:51:13 +00:00
|
|
|
<record id="action_open_partner_analytic_accounts" model="ir.actions.act_window">
|
2013-02-26 07:33:32 +00:00
|
|
|
<field name="context">{'search_default_partner_id': [active_id], 'default_partner_id': active_id}</field>
|
|
|
|
<field name="name">Contracts/Analytic Accounts</field>
|
|
|
|
<field name="res_model">account.analytic.account</field>
|
2013-05-07 16:51:13 +00:00
|
|
|
<field name="view_id" ref="view_account_analytic_account_tree"/>
|
|
|
|
<field name="search_view_id" ref="view_account_analytic_account_search"/>
|
2013-02-26 07:33:32 +00:00
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="partner_view_buttons">
|
|
|
|
<field name="name">partner.view.buttons</field>
|
|
|
|
<field name="model">res.partner</field>
|
|
|
|
<field name="inherit_id" ref="base.view_partner_form" />
|
2013-05-30 05:59:18 +00:00
|
|
|
<field name="priority" eval="20"/>
|
2013-02-26 07:33:32 +00:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//div[@name='buttons']" position="inside">
|
2014-03-14 14:01:14 +00:00
|
|
|
<button type="action"
|
|
|
|
class="oe_stat_button"
|
2014-03-17 15:28:28 +00:00
|
|
|
icon="fa-pencil-square-o"
|
2013-02-26 07:33:32 +00:00
|
|
|
name="%(account.action_invoice_tree)d"
|
2014-04-25 09:51:23 +00:00
|
|
|
attrs="{'invisible': [('customer', '=', False)]}"
|
2014-03-12 13:23:47 +00:00
|
|
|
context="{'search_default_partner_id': active_id,'default_partner_id': active_id}" groups="account.group_account_invoice">
|
2014-04-18 09:37:56 +00:00
|
|
|
<div><strong><field name="total_invoiced" widget="monetary"/></strong><br/>Invoiced</div>
|
2014-03-14 14:01:14 +00:00
|
|
|
</button>
|
2014-03-27 11:37:20 +00:00
|
|
|
<button type="action" class="oe_stat_button" name="%(account.action_account_moves_all_tree)d" groups="account.group_account_user" icon="fa-list">
|
2014-03-14 14:01:14 +00:00
|
|
|
<field string="Journal Items" name="journal_item_count" widget="statinfo"/>
|
|
|
|
</button>
|
2014-03-20 13:44:14 +00:00
|
|
|
<button class="oe_inline oe_stat_button" type="action" name="%(account.action_open_partner_analytic_accounts)d"
|
|
|
|
icon="fa-book" groups="analytic.group_analytic_accounting">
|
2014-04-14 09:32:21 +00:00
|
|
|
<field string="Contracts" name="contracts_count" widget="statinfo"/>
|
2014-03-20 13:44:14 +00:00
|
|
|
</button>
|
2013-02-26 07:33:32 +00:00
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2008-10-20 20:49:11 +00:00
|
|
|
<record id="action_account_fiscal_position_form" model="ir.actions.act_window">
|
2010-10-09 16:01:43 +00:00
|
|
|
<field name="name">Fiscal Positions</field>
|
2008-10-20 20:49:11 +00:00
|
|
|
<field name="res_model">account.fiscal.position</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<menuitem
|
|
|
|
action="action_account_fiscal_position_form"
|
|
|
|
id="menu_action_account_fiscal_position_form"
|
2010-06-04 13:01:56 +00:00
|
|
|
parent="next_id_27" sequence="20"/>
|
2008-10-20 20:49:11 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2008-08-19 19:26:29 +00:00
|
|
|
Partners Extension
|
2012-06-28 06:40:05 +00:00
|
|
|
-->
|
2008-09-15 09:13:57 +00:00
|
|
|
|
2008-08-19 19:26:29 +00:00
|
|
|
<record id="view_partner_property_form" model="ir.ui.view">
|
|
|
|
<field name="name">res.partner.property.form.inherit</field>
|
|
|
|
<field name="model">res.partner</field>
|
|
|
|
<field name="priority">2</field>
|
|
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<page name="sales_purchases" position="after">
|
2014-04-21 05:05:34 +00:00
|
|
|
<page string="Accounting" col="4" name="accounting" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}" groups="account.group_account_invoice">
|
2012-07-06 13:39:41 +00:00
|
|
|
<group>
|
2012-07-18 12:18:17 +00:00
|
|
|
<group>
|
2012-07-11 11:14:34 +00:00
|
|
|
<field name="property_account_position" widget="selection"/>
|
2012-06-05 17:54:11 +00:00
|
|
|
</group>
|
2012-07-06 13:39:41 +00:00
|
|
|
<group>
|
2012-07-20 14:18:30 +00:00
|
|
|
<field name="last_reconciliation_date"/>
|
2012-06-05 17:54:11 +00:00
|
|
|
</group>
|
2012-07-06 13:39:41 +00:00
|
|
|
<group>
|
2012-07-20 14:18:30 +00:00
|
|
|
<field name="property_account_receivable" groups="account.group_account_invoice" />
|
|
|
|
<field name="property_payment_term" widget="selection"/>
|
2012-06-05 17:54:11 +00:00
|
|
|
<field name="credit"/>
|
|
|
|
<field name="credit_limit"/>
|
|
|
|
</group>
|
2012-07-06 13:39:41 +00:00
|
|
|
<group>
|
2012-07-20 14:18:30 +00:00
|
|
|
<field name="property_account_payable" groups="account.group_account_invoice"/>
|
2012-08-02 13:40:12 +00:00
|
|
|
<field name="property_supplier_payment_term" widget="selection"/>
|
2012-06-05 17:54:11 +00:00
|
|
|
<field name="debit"/>
|
|
|
|
</group>
|
2012-07-06 13:39:41 +00:00
|
|
|
</group>
|
2012-09-26 10:09:01 +00:00
|
|
|
<field name="bank_ids" context="{'default_partner_id': active_id, 'form_view_ref': 'base.view_partner_bank_form'}">
|
2012-07-06 13:39:41 +00:00
|
|
|
<tree string="Bank Details">
|
2013-02-25 14:10:14 +00:00
|
|
|
<field name="state" invisible="1"/>
|
2012-07-06 13:39:41 +00:00
|
|
|
<field name="sequence" invisible="1"/>
|
|
|
|
<field name="acc_number"/>
|
|
|
|
<field name="bank_name"/>
|
|
|
|
<field name="owner_name"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
2008-09-08 23:33:22 +00:00
|
|
|
</page>
|
2014-04-21 05:05:34 +00:00
|
|
|
<page string="Accounting" name="accounting_disabled" attrs="{'invisible': ['|',('is_company','=',True),('parent_id','=',False)]}" groups="account.group_account_invoice">
|
2013-04-07 23:50:13 +00:00
|
|
|
<div>
|
|
|
|
<p>Accounting-related settings are managed on <button name="open_commercial_entity" type="object" string="the parent company" class="oe_link"/></p>
|
|
|
|
</div>
|
|
|
|
</page>
|
2010-06-24 06:40:29 +00:00
|
|
|
</page>
|
2008-08-19 19:26:29 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2008-06-29 08:26:07 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|