[membership] membership state depends on current date

Bug #525768 reported by Ruud Riem-Vis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Mustufa Rangwala (Open ERP)

Bug Description

After checking the implementation code, it appears that the membership state shown in the different items under the "Membership" menu always relates to the current date. This means that when you create a membership subscription the is in the future (e.g. in December for the next year) you will not see any of the subscriptions and invoicing etc. appear into the menu items so you don't have any feedback. Still, it seems very common to me to create the membership subscriptions before starting the effective membership period (people don't pay for the past).

As a consequence, a first reaction (of mine) was therefore to think that the module did not work. However, using the reports you can see that the members are indeed created.

It would therefore be useful to be able to select a date for the membership to look at so you can determine the membership states at a deterministic date.

Related branches

Changed in openobject-addons:
assignee: nobody → mra (Open ERP) (mra-tinyerp)
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Ruud Riem-Vis,
         I have gone through your case. you are correct at some instances :)

We have some cases you check.

Take current Date = Feb 2010
    1. Date from=Dec 2010, Date to=April 2011 => Make the membership state to state= invoice.state
    2. Date from=Jan 2010, Date to=April 2010 => Make the membership state to state= invoice.state
    3. Date from=Apr 2009, Date to=Jan 2010 => Make the membership state to state= none and if invoice.state=paid then state=old

can u tell us if above cases are correct for you ?

I attach patch can u apply it ?

Thanks
Mustufa (mra)

Revision history for this message
Ruud Riem-Vis (ruud-riem-vis) wrote : Re: [Bug 525768] Re: [membership] membership state depends on current date

mra (Open ERP) a écrit :
> Hello Ruud Riem-Vis,
> I have gone through your case. you are correct at some instances :)
>
> We have some cases you check.
>
> Take current Date = Feb 2010
> 1. Date from=Dec 2010, Date to=April 2011 => Make the membership state to state= invoice.state
> 2. Date from=Jan 2010, Date to=April 2010 => Make the membership state to state= invoice.state
> 3. Date from=Apr 2009, Date to=Jan 2010 => Make the membership state to state= none and if invoice.state=paid then state=old
>
> can u tell us if above cases are correct for you ?
>
> I attach patch can u apply it ?
>
> Thanks
> Mustufa (mra)
>
>
>
> ** Attachment added: "membership.patch"
> http://launchpadlibrarian.net/39594557/membership.patch
>
>
Hello Mustufa,

I've checked the behavior and it is more convenient like this. Still it
would be useful to add a report as follows:

A report or menu item that would allow to show the partners by state
(invoiced, waiting, paid, ..) for a specific or a set of membership
products so you can easily check who still has to pay.

Thanks for your rapid reactions,

Ruud

Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Ruud,

Ruud Riem-Vis wrote:
> mra (Open ERP) a écrit :
>
>> Hello Ruud Riem-Vis,
>> I have gone through your case. you are correct at some instances :)
>>
>> We have some cases you check.
>>
>> Take current Date = Feb 2010
>> 1. Date from=Dec 2010, Date to=April 2011 => Make the membership state to state= invoice.state
>> 2. Date from=Jan 2010, Date to=April 2010 => Make the membership state to state= invoice.state
>> 3. Date from=Apr 2009, Date to=Jan 2010 => Make the membership state to state= none and if invoice.state=paid then state=old
>>
>> can u tell us if above cases are correct for you ?
>>
>> I attach patch can u apply it ?
>>
>> Thanks
>> Mustufa (mra)
>>
>>
>>
>> ** Attachment added: "membership.patch"
>> http://launchpadlibrarian.net/39594557/membership.patch
>>
>>
>>
> Hello Mustufa,
>
> I've checked the behavior and it is more convenient like this.
We have fixed the bug on stable addons, Please take update.

revision-id: <email address hidden>
revno: 2604
> Still it
> would be useful to add a report as follows:
>
> A report or menu item that would allow to show the partners by state
> (invoiced, waiting, paid, ..) for a specific or a set of membership
> products so you can easily check who still has to pay.
>
For the report we will try to add such report on trunk version of addons
> Thanks for your rapid reactions,
>
> Ruud
>
>
Thanks,
Mustufa (mra)

Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Rudd,

>> A report or menu item that would allow to show the partners by state
>> (invoiced, waiting, paid, ..) for a specific or a set of membership
>> products so you can easily check who still has to pay.
>>
We have added new wizard which will list all partner with its state by
membership product on trunk addons.
>>
>>
>
>
Thanks,
Mustufa (mra)

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.