← Back to team overview

openerp-india team mailing list archive

[Bug 1086536] [NEW] Paying a invoiced membership throws an error

 

Public bug reported:

Install, Following modules: Membership and Sale (I tried with only this
two and also with a full instalation on runbot),

1.- Got to Association>Members: Create a New one or Chose an existing 
2.- Membership Tab > Uncheck free Member (if it is) > Click Buy Membership> Fill the data on the wizzard>Click Invoice Membership
3.- At this point you are on the invoice tree for the membership specified on the wizzard, Open the form view and click Validate> Click Pay then you will get the following error: 

XmlHttpRequestError INTERNAL SERVER ERROR
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.</p>

and in the output of the log says something like this:

TypeError: browse_record(res.partner, 5) is not JSON serializable

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: invoice membership pay

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1086536

Title:
  Paying a invoiced membership throws an error

Status in OpenERP Addons (modules):
  New

Bug description:
  Install, Following modules: Membership and Sale (I tried with only
  this two and also with a full instalation on runbot),

  1.- Got to Association>Members: Create a New one or Chose an existing 
  2.- Membership Tab > Uncheck free Member (if it is) > Click Buy Membership> Fill the data on the wizzard>Click Invoice Membership
  3.- At this point you are on the invoice tree for the membership specified on the wizzard, Open the form view and click Validate> Click Pay then you will get the following error: 

  XmlHttpRequestError INTERNAL SERVER ERROR
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  <title>500 Internal Server Error</title>
  <h1>Internal Server Error</h1>
  <p>The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.</p>

  and in the output of the log says something like this:

  TypeError: browse_record(res.partner, 5) is not JSON serializable

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1086536/+subscriptions


Follow ups

References