Merge lp:~nch-openerp/openobject-addons/6.1-opw-576357-nch into lp:openobject-addons/6.1

Proposed by Naresh(OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6864
Proposed branch: lp:~nch-openerp/openobject-addons/6.1-opw-576357-nch
Merge into: lp:openobject-addons/6.1
Diff against target: 11 lines (+1/-0)
1 file modified
base_vat/base_vat.py (+1/-0)
To merge this branch: bzr merge lp:~nch-openerp/openobject-addons/6.1-opw-576357-nch
Reviewer Review Type Date Requested Status
Olivier Dony (Odoo) Pending
Review via email: mp+112526@code.launchpad.net

Description of the change

Hello,

when execute the "Check VAT" button (in sales/addressbook/customers/accounting tab/check vat), we get this error in GTK client using xmlrpc protocol(8069)

TypeError: cannot marshal None unless allow_none is enabled

Thanks,
Naresh

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Already Fixed on Trunk (means that it was already fixed and merged in Trunk). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6864. By Naresh(OpenERP)

[FIX:576357]:TypeError: cannot marshal None unless allow_none is enabled

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'base_vat/base_vat.py'
--- base_vat/base_vat.py 2012-06-21 14:31:52 +0000
+++ base_vat/base_vat.py 2012-06-28 09:48:19 +0000
@@ -108,6 +108,7 @@
108 if not self.check_vat(cr, uid, ids, context=context):108 if not self.check_vat(cr, uid, ids, context=context):
109 msg = self._construct_constraint_msg(cr, uid, ids, context=context)109 msg = self._construct_constraint_msg(cr, uid, ids, context=context)
110 raise osv.except_osv(_('Error'), msg)110 raise osv.except_osv(_('Error'), msg)
111 return True
111112
112 def check_vat(self, cr, uid, ids, context=None):113 def check_vat(self, cr, uid, ids, context=None):
113 user_company = self.pool.get('res.users').browse(cr, uid, uid).company_id114 user_company = self.pool.get('res.users').browse(cr, uid, uid).company_id