[membership] membership state depends on current date
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) |
Changed in openobject-addons: | |
status: | New → Fix Released |
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)