-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by etobella
- Loading branch information
Showing
6 changed files
with
92 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<record id="mail_activity_dws_error" model="mail.activity.type"> | ||
<field name="name">Paynet System Error</field> | ||
<field name="icon">fa-warning</field> | ||
<field name="delay_count">0</field> | ||
<field name="sequence">99</field> | ||
<field name="decoration_type">warning</field> | ||
</record> | ||
</data> | ||
<odoo noupdate="1"> | ||
<record id="mail_activity_dws_error" model="mail.activity.type"> | ||
<field name="name">Paynet System Error</field> | ||
<field name="icon">fa-warning</field> | ||
<field name="delay_count">0</field> | ||
<field name="sequence">99</field> | ||
<field name="decoration_type">warning</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,59 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<data> | ||
<record id="view_bank_search" model="ir.ui.view"> | ||
<field name="name">res.bank.search</field> | ||
<field name="model">res.bank</field> | ||
<field name="arch" type="xml"> | ||
<search string="Banks"> | ||
<filter | ||
name="Postfinance" | ||
string="PostFinance" | ||
domain="[('bic', '=', 'POFICHBEXXX')]" | ||
help="PostFinance" | ||
/> | ||
<field name="name" /> | ||
<field name="code" /> | ||
<field name="street" /> | ||
<field name="city" /> | ||
</search> | ||
<record id="view_bank_search" model="ir.ui.view"> | ||
<field name="name">res.bank.search</field> | ||
<field name="model">res.bank</field> | ||
<field name="arch" type="xml"> | ||
<search string="Banks"> | ||
<filter | ||
name="Postfinance" | ||
string="PostFinance" | ||
domain="[('bic', '=', 'POFICHBEXXX')]" | ||
help="PostFinance" | ||
/> | ||
<field name="name" /> | ||
<field name="code" /> | ||
<field name="street" /> | ||
<field name="city" /> | ||
</search> | ||
</field> | ||
</record> | ||
<!-- 'POFICHBEXXX' corresponds to Postfinance bic --> | ||
<record model="ir.ui.view" id="add_custom_fields_on_bank"> | ||
<field name="name">add custom fields on bank</field> | ||
<field name="model">res.bank</field> | ||
<field name="inherit_id" ref="base.view_res_bank_form" /> | ||
<field name="arch" type="xml"> | ||
<field name="bic" position="after"> | ||
<field name="code" /> | ||
<field name="clearing" /> | ||
</field> | ||
</record> | ||
<!-- 'POFICHBEXXX' corresponds to Postfinance bic --> | ||
<record model="ir.ui.view" id="add_custom_fields_on_bank"> | ||
<field name="name">add custom fields on bank</field> | ||
<field name="model">res.bank</field> | ||
<field name="inherit_id" ref="base.view_res_bank_form" /> | ||
<field name="arch" type="xml"> | ||
<field name="bic" position="after"> | ||
<field name="code" /> | ||
<field name="clearing" /> | ||
</field> | ||
<xpath expr="//field[@name='name']" position="after"> | ||
<field name="country_code" invisible="True" /> | ||
</xpath> | ||
<xpath expr="//field[@name='city']" position="attributes"> | ||
<attribute | ||
name="attrs" | ||
>{'required': [('country_code', '=', 'CH')]}</attribute> | ||
</xpath> | ||
<xpath expr="//field[@name='bic']" position="attributes"> | ||
<attribute | ||
name="attrs" | ||
>{'required': [('country_code', '=', 'CH')]}</attribute> | ||
</xpath> | ||
<xpath expr="//field[@name='name']" position="after"> | ||
<field name="country_code" invisible="True" /> | ||
</xpath> | ||
<xpath expr="//field[@name='city']" position="attributes"> | ||
<attribute | ||
name="attrs" | ||
>{'required': [('country_code', '=', 'CH')]}</attribute> | ||
</xpath> | ||
<xpath expr="//field[@name='bic']" position="attributes"> | ||
<attribute | ||
name="attrs" | ||
>{'required': [('country_code', '=', 'CH')]}</attribute> | ||
</xpath> | ||
</field> | ||
</record> | ||
<record model="ir.ui.view" id="add_custom_fields_on_bank_list"> | ||
<field name="name">add custom fields on bank list</field> | ||
<field name="model">res.bank</field> | ||
<field name="inherit_id" ref="base.view_res_bank_tree" /> | ||
<field name="arch" type="xml"> | ||
<field name="bic" position="after"> | ||
<field name="code" /> | ||
<field name="clearing" /> | ||
<field name="street" /> | ||
<field name="city" /> | ||
</field> | ||
</record> | ||
<record model="ir.ui.view" id="add_custom_fields_on_bank_list"> | ||
<field name="name">add custom fields on bank list</field> | ||
<field name="model">res.bank</field> | ||
<field name="inherit_id" ref="base.view_res_bank_tree" /> | ||
<field name="arch" type="xml"> | ||
<field name="bic" position="after"> | ||
<field name="code" /> | ||
<field name="clearing" /> | ||
<field name="street" /> | ||
<field name="city" /> | ||
</field> | ||
</field> | ||
</record> | ||
</data> | ||
</field> | ||
</record> | ||
</odoo> |