← Back to team overview

openerp-india team mailing list archive

[Bug 1092044] [NEW] [membership] Incoice membership with wizard: no waiting member status

 

Public bug reported:

Hi!

Since a long time ago, membership wizard don't put the "waiting member'
status on the partner we invoiced a membership product. If we make this
directly from an invoice, there is no problem. If we click on the "Buy
membership", partner stay on the "none member" status. :-(

I tried to analyze the code for explaining this.

The problem seems to occured when invoicing the membership product from wizard, at this line (231) of membership.py: 
    if mline.account_invoice_line and mline.account_invoice_line.invoice_id:

>From the wizard, this condition result is to false, whereas when
invoicing from invoice, it is to True. Because of invoice and invoice
line don't already exist when it's form wizard. ...

Is someone could give me an advice to fix this?

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

-- 
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/1092044

Title:
  [membership] Incoice membership with wizard: no waiting member status

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi!

  Since a long time ago, membership wizard don't put the "waiting
  member' status on the partner we invoiced a membership product. If we
  make this directly from an invoice, there is no problem. If we click
  on the "Buy membership", partner stay on the "none member" status. :-(

  I tried to analyze the code for explaining this.

  The problem seems to occured when invoicing the membership product from wizard, at this line (231) of membership.py: 
      if mline.account_invoice_line and mline.account_invoice_line.invoice_id:

  From the wizard, this condition result is to false, whereas when
  invoicing from invoice, it is to True. Because of invoice and invoice
  line don't already exist when it's form wizard. ...

  Is someone could give me an advice to fix this?

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


Follow ups

References