Odoo Help

Welcome!

This community 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.

0

Expenses: how to keep track (your thoughts about it, please)

By
Odooveloper (by Rui Franco)
on 10/22/15, 7:13 AM 373 views

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.


Any thoughts?

Thanks, Axel!

Odooveloper (by Rui Franco)
on 10/23/15, 2:20 AM

If was helpful to you can vote on the answer. I spend some time writing by experience here

Axel Mendoza
on 10/30/15, 12:01 PM

Thorough answer your was but I decided to just create supplier invoices holding the customer invoices's reference. I did try the sale commission module but it showed a bit too "complicated" for my very simple purpose.

Odooveloper (by Rui Franco)
on 10/30/15, 7:50 PM

solved then?

Axel Mendoza
on 12/23/15, 1:59 PM
1

Axel Mendoza

--Axel Mendoza--
10238
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 10/22/15, 3:38 PM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 10/22/15, 7:13 AM
Seen: 373 times
Last updated: 10/30/15, 7:50 PM