No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
|
- <?xml version="1.0"?>
- <odoo>
- <data>
- <!--继承账户 list,添加"查看现金银行报表"按钮-->
- <record id="bank_account_list_inherit_first" model="ir.ui.view">
- <field name="name">bank.account.list.inherit</field>
- <field name="model">bank.account</field>
- <field name='inherit_id' ref='core.bank_account_list' />
- <field name="arch" type="xml">
- <field name="balance" position="before">
- <field name="account_id"/>
- <field name="init_balance"/>
- </field>
- <field name="balance" position="after">
- <field name="currency_id"
- />
- <field name="currency_amount"
- readonly="1"
- />
- <button name="bank_statements" type="object" string="查看现金银行报表" icon="fa-search"/>
- </field>
- </field>
- </record>
- <!-- 增加期初字段 -->
- <record id="customer_address_form" model="ir.ui.view">
- <field name="model">partner</field>
- <field name='inherit_id' ref='core.customer_address_form'/>
- <field name="arch" type="xml">
- <field name='receivable' position='after'>
- <field name='receivable_init' groups="base.group_erp_manager"/>
- </field>
- <xpath expr='//div' position='before'>
- <div class="oe_button_box" name="button_box">
- <button type="object"
- name="action_view_money_invoice"
- class="oe_stat_button"
- icon="fa-jpy">
- <field name="receivable" widget="statinfo" help="应收余额"/>
- </button>
- </div>
- </xpath>
- </field>
- </record>
- <record id="supplier_address_form" model="ir.ui.view">
- <field name="model">partner</field>
- <field name='inherit_id' ref='core.supplier_address_form'/>
- <field name="arch" type="xml">
- <field name='payable' position='after'>
- <field name='payable_init' groups="base.group_erp_manager"/>
- </field>
- </field>
- </record>
- </data>
- </odoo>
-
|