On 23 Oct 12:41, Cédric Krier wrote: > Hi, > > I started a commission blueprint and module [1] but I have some doubt > about the taxes management. > I just find that the agent must invoice the company for his commission > applying the taxes used for the sale. In this case the current module > design doesn't really work. > > But in an other side, the module was also designed with in mind the > possibility to use it for employees. In such case, there are no invoices > nor taxes. But now I doubt if this can be done like that. > > So I'm wondering if I should not add a checkbox on Agent to create > invoice line (standalone) instead of direct accounting move? > > [1] https://code.google.com/p/tryton/wiki/CommissionModule
Finaly, I think I should rework the all design of this module. I propose to store in a separate object the commission due. So this object will have an origin, an agent and an amount. There will be a wizard to convert those object/lines into a purchase per agent using the product on the plan for taxes (using the usual tax rules). Like that the supplier invoice will have grouped lines (like the invoice on timesheet). An extra module could be create to create standalone line in case of the agent submitting his invoices. For the commission to employees, I guess we could still do an invoice but without any taxes so it could be managed by using a dedicated product. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpFcQPmqhKNs.pgp
Description: PGP signature
