[membership] Invoice membership with wizard: no waiting member status
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_
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
- Alexandre Fayolle - camptocamp (community): Approve (code review, no test)
- OpenERP Core Team: Pending requested
-
Diff: 24 lines (+2/-6)1 file modifiedmembership/membership.py (+2/-6)
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 |
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 |