Giter Club home page Giter Club logo

vertical-association's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

vertical-association

TODO: add repo description.

Available addons

addon version maintainers summary
contract_membership_delegated_partner 14.0.1.0.0 Set delegate membership on the contract
membership_delegated_partner 14.0.1.1.1 Delegate membership on a specific partner
membership_extension 14.0.1.2.0 Improves user experience of membership addon
membership_initial_fee 14.0.1.0.0 Initial fee for memberships
membership_prorate 14.0.1.0.0 Prorate membership fee
membership_prorate_variable_period 14.0.1.0.0 Prorate membership fee for variable periods
membership_variable_period 14.0.1.0.0 Variable period for memberships
membership_withdrawal 14.0.1.0.0 Log membership withdrawal reason and date of request
website_membership_random_order 14.0.1.0.0 pedrobaeza Online Members Directory - Random order

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

vertical-association's People

Contributors

abdawone avatar amcor avatar antespi avatar astirpe avatar benbrich avatar benj-filament avatar chienandalu avatar eugenichafer avatar francesco-ooops avatar gorkamagra avatar miguel-s73 avatar mymage avatar oca-git-bot avatar oca-transbot avatar oca-travis avatar pedrobaeza avatar primes2h avatar rafaelbn avatar rousseldenis avatar sbejaoui avatar sbidoul avatar sysadminmatmoz avatar tdombos avatar victoralmau avatar weblate avatar willytal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vertical-association's Issues

Membership Delegation Enhancements

Is your feature request related to a problem?
membership_delegate_partner only allows delegation to a single partner as it occurs at the move level

Describe the solution you'd like
To be able to delegate partners at the account_move_line level

Describe alternatives you've considered
An extension module to the delegate_partner (say delegate_partner_line) module or to redo delegate_partner to work at the move line level and provide migration script.

Additional context
The work itself is quite easy, 3-4 hours, the initial feasibility, design and verification is done, but just wish to know original authors thoughts on best approach. Effort either way is about equal, I just feel that delegate_partner becomes obselete with this extension so may be better to redo that, rather than extension. This is for OCA internal use - currently v14.

\cc @pedrobaeza @OCA/board

Membership Category is not multicompany compliant

The module membership_extension adds a new model for "Membership Category" but this model is not multicompany aware. So what happens is that, in a multicompany environment, all the categories are accessible by all the companies.

Migration to version 13.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-13.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

[10.0] Variable period not working

Hi I am using the membership_variable_period module but it is not calculating the dates correctly. I created a product for 1 Month variable. When I select the product when buying membership the end date is wrong as it only puts in the last date of the month the membership was purchased.
1

As you see below the End date is wrong.

2

[BUG] membership_delegated_partner: changing delegated member

Changing delegated member in invoice doesn't update correctly the membership lines.

Tested in V12, probably also occurs on previous versions.

Steps to reproduce:

  • Enable group "Delegated partner in membership" for current user.
  • Create a Membership Product with Duration that includes the date of today.
  • Create an invoice with the above Membership Product. Add a delegated member. Save.
  • A line is created in the Membership lines of the selected delegated member. OK.
  • No line is present in the Membership lines of the customer. OK.
  • Edit the invoice. Remove the delegated member. Save.

Result:

  • The membership is NOT updated: no new line is created in the Membership lines of the customer. NOT OK.
  • The membership is still present in the Membership lines of the delegated member. NOT OK.

Expected:

  • The membership must be updated, a new line must be created in the members lines of the customer.
  • No membership line must be present in the members lines of the delegated member.

Migration to version 11.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-11.0

Modules to migrate

[10.0]Calculate days remaining

Is there any option to calculate the days remaining on the membership from the membership_start field and membership_end

Needs help on membership_variable period

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?

membership_extension:Group not applied by default to admin users

Module

membership_extension

Describe the bug

This module creates a new menu and applies on the Members App menu. But this group doesn't get applied to admin user(/root user) by default.It should be applied by default atleast to the admin user(and root user).

To Reproduce

Affected versions:
All verisons
Steps to reproduce the behavior:
1.Install the membership_extension module
2.The Members app menu would not be visible to admin user (unless Manager group for membership module is applied to admin user)

Expected behavior
The group should be applied by default to admin(and root user)

Buying a membership with Initial Fee User Error

image

Hi there, I've just cloned vertical-association for Odoo 14 and installed membership_initial_fee module.

If I buy a membership without initial fee, everything runs smoothly.
But if I buy one that has initial fee configured I get the error present in the image above.

User errror:
Cannot create unbalanced journal entry. Ids: [21]
Differences debit - credit: [-50.0]

I believe this might be a configuration issue.
What am I missing ?

Migration to version 14.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

Impossible to create a new member_line after the cancel of a previous one

Version of Odoo

Odoo 11.0-20190424 (Community Edition)

Version of vertical-association

11.0.1.1.0

Description

If, for a membership, I cancel a membre_line by set its state to
"canceled" and create a new member_line, Odoo stop when it compute
membership date by trying compare a date and a boolean. At
"membership_extension/models/res_partner.py", line 138, in
_compute_membership_date()

Traceback

  File "/usr/lib/python3/dist-packages/odoo/http.py", line 651, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 693, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 342, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 335, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 937, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 934, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 926, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 5198, in onchange
    snapshot1 = Snapshot(record, nametree)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 5105, in __init__
    if subnames else record[name]
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 4785, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 950, in __get__
    self.determine_draft_value(record)
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1070, in determine_draft_value
    self._compute_value(record)
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1006, in _compute_value
    getattr(records, self.compute)()
  File "/mnt/extra-addons/addons_download/membership_extension/models/res_partner.py", line 138, in _compute_membership_date
    if not last_cancel or last_cancel < line.date_cancel:
TypeError: unorderable types: str() < bool()

How to reproduce

  • Or a member, create a member_line
  • Save
  • Cancel this member_line and keep it
  • Save
  • Create a new member_line, without a cancel date
  • You got the bug

Migration to version 15.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

membership_last_start is not correct

Module

Membership extension

Describe the bug

Le renouvellement d'une adhésion ne donne pas la bonne information sur le début de la dernière adhésion (membership_last_start)

To Reproduce

Affected versions: 12, 13, 14

Steps to reproduce the behavior:

  1. Créer une adhésion de date à date : ie du 01/01/2021 au 31/12/2021
    2.Créer un renouvellement d'adhésion : ie du 01/01/2022 au 31/12/2022

Expected behavior
Voici les informations attendues
Date de début d'adhésion : 01/01/2021
Dernière date d'adhésion : 01/01/2022
Date de fin d'adhésion : 31/12/2022

Additional context
Or, il y a une erreur car membership_last_start = membership_start soit 01/01/2021 au lieu de 01/01/2022.
Je pense qu'il y a une erreur dans la boucle avec les variables last_from et date_from dans le fichier res.partner.py.

Migration to version 12.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-12.0

Modules to migrate

V10 Bug in Menu View of membership_extension

It seem there is a bug in membership_extension module in the configration menu view.
2017-07-27 13_43_44-vertical-exchange - c__users_lucash_pycharmprojects_koina_odoo_vertical-exchang
If only a single menu exists and you ad a new meni item, the single item converts into a folder item and you can't access the view that was linked to this item anymore. As far as I now you have to create a new subitem for the missing Membership Type view.

Migration to version 16.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.