[membership] Invoice membership with wizard: no waiting member status

Bug #1092044 reported by LudoRA
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP R&D Addons Team 3

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?

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
LudoRA (tenshi20)
Changed in openobject-addons:
status: In Progress → Fix Committed
summary: - [membership] Incoice membership with wizard: no waiting member status
+ [membership] Invoice membership with wizard: no waiting member status
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.