Hiral Patel (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-1096439-hip into lp:openobject-addons.
Requested reviews: OpenERP Core Team (openerp) Related bugs: Bug #1096439 in OpenERP Addons: "error "You cannot remove/deactivate an account which is set on a customer or supplier." is not helpful or correct" https://bugs.launchpad.net/openobject-addons/+bug/1096439 For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1096439-hip/+merge/142071 -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1096439-hip/+merge/142071 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-1096439-hip.
=== modified file 'account/account.py' --- account/account.py 2012-12-19 11:34:13 +0000 +++ account/account.py 2013-01-07 09:04:21 +0000 @@ -638,7 +638,7 @@ value = 'account.account,' + str(ids[0]) partner_prop_acc = self.pool.get('ir.property').search(cr, uid, [('value_reference','=',value)], context=context) if partner_prop_acc: - raise osv.except_osv(_('Warning!'), _('You cannot remove/deactivate an account which is set on a customer or supplier.')) + raise osv.except_osv(_('Warning!'), _('You cannot remove/deactivate an account which is set as a property.')) return True def _check_allow_type_change(self, cr, uid, ids, new_type, context=None):
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp