Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Here's the situation: you get hired for a freelance job. You have to pay a 10% commission to the website where you found the said job. So... how would you keep track of that expense?
Currently, I'm inclined to do things like this:
- invoice the customer for 100%
- create a supplier invoice (the website to be the "supplier"), with the 10% amount.
This is like a sale commission situation, there are modules to do that at https://github.com/OCA/commission
How I solve this in one of my modules is like the following:
1- Salesman have their own Sale Journal to keep track about everything they sale
2- Sale Orders generate invoices using the salesman sale journal
3- When Invoices get validated I generate the account.move with to_check = True
4- In the Salesman form I put a button to open his associated sale journal
5- In the Salesman Journal I shows their account.move that have to_check = True and don't have been invoiced to pay the commission to the salesman
6- I add a commission field to the product.template model that will be used to calculate the unit_price of the invoice line of the invoice to pay to the salesman for their sales commissions
7- In the salesman journal I put two buttons to generate invoices to pay the salesman commissions. One for paid (reconciled) account.moves and the other for not paid (not reconciled) account.moves. Each of this buttons fire up a wizard that allow you to invoice all or manually select the account.move's records for the button invoice method. The invoice are generated to the salesman as a provider and calculate the unit_price using the commission field of the product and update the selected moves to set to_check = False that cause to not shows up again in the salesman journal
Hope this get you some ideas
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/22/15, 7:13 AM|
|Seen: 746 times|
|Last updated: 10/30/15, 7:50 PM|