Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing from upstream OCA/commission (17.0) #469

Merged
merged 26 commits into from
Jul 11, 2024
Merged

Conversation

bt-admin
Copy link

bt_gitbot

pedrobaeza and others added 26 commits June 14, 2024 00:20
This module extends the functionality of `sale_commission` to allow you to
auto-populate salesmen as commission agents without setting explicitly them
on the customer.

**IMPORTANT**: The salesman will be only populated if no other commission agent
is set via other method, to assure that there's no overlapping commissions.

Configuration
=============

* Go to *Contacts*.
* Search for the contact linked to the salesman user and open it.
* If it's actually linked to a user, you'll see a new check in the
  *Agent information* page, called "Convert salesman into agent".
* Check it for having that salesman automatically populated as agent. You
  need to assign a commission to that agent as well.

Usage
=====

To use this module, you need to:

* Go to *Sales > Orders > Quotations* and create a new one.
* Fill the customer with one with no agents set.
* Select a salesman with the mark checked.
* Add a line in the quotation, and you will see the salesman populated as
  commission agent.
* Standard procedure
* Adapt account.invoice > account.move
* Adapt tests
Solves [13.0] sale_commission_pricelist - sale_commission_salesman error #274
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: commission-16.0/commission-16.0-sale_commission_salesman
Translate-URL: https://translation.odoo-community.org/projects/commission-16-0/commission-16-0-sale_commission_salesman/
Currently translated at 100.0% (6 of 6 strings)

Translation: commission-16.0/commission-16.0-sale_commission_salesman
Translate-URL: https://translation.odoo-community.org/projects/commission-16-0/commission-16-0-sale_commission_salesman/pt_BR/
Currently translated at 100.0% (6 of 6 strings)

Translation: commission-16.0/commission-16.0-sale_commission_salesman
Translate-URL: https://translation.odoo-community.org/projects/commission-16-0/commission-16-0-sale_commission_salesman/it/
Changelog:
- Replace `attrs` with an expression for the `invisible` attribute in
  the view.
Signed-off-by moylop260
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: commission-17.0/commission-17.0-commission
Translate-URL: https://translation.odoo-community.org/projects/commission-17-0/commission-17-0-commission/
@bt-admin bt-admin added the 17.0 label Jul 11, 2024
@bt-admin bt-admin merged commit 8948659 into brain-tec:17.0 Jul 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.