|
@@ -1,15 +1,28 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<openerp>
|
|
|
<data>
|
|
|
- <record id="views_account_bank_payslip_import" model="ir.ui.view">
|
|
|
- <field name="name">account.bank.statement.import.payslip</field>
|
|
|
+ <!-- Registros de caja -->
|
|
|
+ <record id="views_account_bank_voucher_import" model="ir.ui.view">
|
|
|
+ <field name="name">account.bank.statement.import.voucher</field>
|
|
|
<field name="model">account.bank.statement</field>
|
|
|
<field name="inherit_id" ref="account.view_bank_statement_form2"/>
|
|
|
<field name="arch" type="xml">
|
|
|
<label for="name" position="before">
|
|
|
- <div class="oe_right oe_button_box voucher_import" attrs="{'invisible': [('state','!=','open')]} " groups="base.group_hr_manager"></div>
|
|
|
+ <div class="oe_right oe_button_box voucher_import" attrs="{'invisible': [('state','!=','open')]} " groups="account.group_account_user"></div>
|
|
|
</label>
|
|
|
</field>
|
|
|
</record>
|
|
|
+ <!-- Extractos bancarios -->
|
|
|
+ <record id="views_account_bank_voucher_import_bank" model="ir.ui.view">
|
|
|
+ <field name="name">account.bank.statement.import.voucher.bank</field>
|
|
|
+ <field name="model">account.bank.statement</field>
|
|
|
+ <field name="inherit_id" ref="account.view_bank_statement_form"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <label for="name" position="before">
|
|
|
+ <div class="oe_right oe_button_box voucher_import" attrs="{'invisible': [('state','=','confirm')]} " groups="account.group_account_user"></div>
|
|
|
+ </label>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+
|
|
|
</data>
|
|
|
</openerp>
|