OCA / vertical-association

Odoo addons for membership related tasks
GNU Affero General Public License v3.0
38 stars 112 forks source link

Needs help on membership_variable period #91

Closed Cedric-Pigeon closed 4 years ago

Cedric-Pigeon commented 4 years ago

I am really interested in his feature but I do not understand the dependency on membership_extension which brings a lot of stuff I do not need.

Could anyone help me?

Cedric-Pigeon commented 4 years ago

@pedrobaeza ?

Cedric-Pigeon commented 4 years ago

ok sorry I see now

pedrobaeza commented 4 years ago

OK, if I don't remember bad, it's because periods are not properly updated. Any way, this module is a must-have for being able to manage properly membership IMO, and it's not so heavy.

Cedric-Pigeon commented 4 years ago

@pedrobaeza I agree with you but it is a nightmare to install on a database with thousands of partners. Compute methods run for hours...

pedrobaeza commented 4 years ago

Well, I think a bit of work can put of optimizing that installation pre-creating the columns and computing only the partners with membership lines.

Cedric-Pigeon commented 4 years ago

yes I am working in this way but this fields turns me crazy:https://github.com/OCA/vertical-association/blob/12.0/membership_extension/models/res_partner.py#L49