Browse Source
[IMP]Move the field journal_id in the main module.
[IMP]Move the field journal_id in the main module.
By moving the field in the main module the others parsers can use it without duplicate itpull/19/head
Laurent Mignon (ACSONE)
10 years ago
7 changed files with 54 additions and 56 deletions
-
14account_bank_statement_import/account_bank_statement_import.py
-
6account_bank_statement_import/account_bank_statement_import_view.xml
-
45account_bank_statement_import/i18n/account_bank_statement_import.pot
-
3account_bank_statement_import_qif/__openerp__.py
-
10account_bank_statement_import_qif/account_bank_statement_import_qif.py
-
24account_bank_statement_import_qif/account_bank_statement_import_qif_view.xml
-
8account_bank_statement_import_qif/i18n/account_bank_statement_import_qif.pot
@ -1,24 +0,0 @@ |
|||
<?xml version="1.0" ?> |
|||
<openerp> |
|||
<data> |
|||
|
|||
<record id="account_bank_statement_import_view_inherited" model="ir.ui.view"> |
|||
<field name="name">Import Bank Statements Inherited</field> |
|||
<field name="model">account.bank.statement.import</field> |
|||
<field name="priority" eval="20"/> |
|||
<field name="inherit_id" ref="account_bank_statement_import.account_bank_statement_import_view" /> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='data_file']" position="after"> |
|||
<field name="hide_journal_field" invisible="1"/> |
|||
<label for="journal_id"/> |
|||
<field name="journal_id" |
|||
domain="[('type', '=', 'bank')]" |
|||
attrs="{'invisible': [('hide_journal_field', '=', True)]}" |
|||
context="{'default_type':'bank'}"/> |
|||
</xpath> |
|||
</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue