Merge lp:~therp-nl/banking-addons/ba70-bic_not_required into lp:banking-addons
Proposed by
Stefan Rijnhart (Opener)
Status: | Merged |
---|---|
Merged at revision: | 179 |
Proposed branch: | lp:~therp-nl/banking-addons/ba70-bic_not_required |
Merge into: | lp:banking-addons |
Diff against target: |
140 lines (+96/-7) 6 files modified
account_banking/data/account_banking_data.xml (+0/-7) base_iban_bic_not_required/__init__.py (+1/-0) base_iban_bic_not_required/__openerp__.py (+47/-0) base_iban_bic_not_required/data/res_partner_bank_type_field.xml (+9/-0) base_iban_bic_not_required/model/__init__.py (+1/-0) base_iban_bic_not_required/model/res_partner_bank.py (+38/-0) |
To merge this branch: | bzr merge lp:~therp-nl/banking-addons/ba70-bic_not_required |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guewen Baconnier @ Camptocamp | code review, no test | Approve | |
Holger Brunn (Therp) | code review | Approve | |
Stéphane Bidoul (Acsone) (community) | code review and test | Approve | |
Review via email: mp+176704@code.launchpad.net |
To post a comment you must log in.
Hi Stefan,
I noticed base_iban makes the bank_bic field required in addition to the in-code constraint (see base_iban/ base_iban_ data.xml)
<record id="bank_ swift_field" model=" res.partner. bank.type. field"> >bank_bic< /field>
<field name="name"
<field name="bank_type_id" ref="bank_iban"/>
<field eval="True" name="required"/>
<field eval="False" name="readonly"/>
</record>
I believe this should be reverted by your module too, otherwise the bank account creation wizard still requires the BIC.