res_partner_bank missing required field

Bug #651171 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

please change

        'bank': fields.many2one('res.bank', 'Bank'),
to
        'bank': fields.many2one('res.bank', 'Bank', required=True),

it does not make much sense to define a bank account without specifying the bank

Related branches

Changed in openobject-addons:
status: New → Confirmed
summary: - [V5] res_partner_bank missing required field
+ res_partner_bank missing required field
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hi,

I do not opt for doing the change in stable as it may break the scenarios where bank value has not been supplied and the res_partner_bank has been used in major operations.

For the sake of customization, one can do in local by modifying the xml code of view(from Admin menu).

Fixed in trunk by revision 2804 <email address hidden>.
Thanks.

Changed in openobject-addons:
milestone: none → 6.0
affects: openobject-addons → openobject-server
Changed in openobject-server:
milestone: 6.0 → none
status: Confirmed → Fix Released
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.