OCA / vertical-association

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

[12.0][FIX] membership_initial_fee: Don't apply initial fee on refund/vendor #94

Closed pedrobaeza closed 4 years ago

pedrobaeza commented 4 years ago

If you don't have any membership line, and you create a vendor bill/refund or a customer refund, the initial fee will be added to them, which is not correct.

The check for adding the initial fee now takes into account the invoice type for excluding those that are the non desired ones.

@Tecnativa TT25327

pedrobaeza commented 4 years ago

/ocabot merge patch

OCA-git-bot commented 4 years ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 12.0-ocabot-merge-pr-94-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot commented 4 years ago

Congratulations, your PR was merged at 014058e15aaaeba6e47aac3a2266a3d120fa2f70. Thanks a lot for contributing to OCA. ❤️