On 24 Oct 10:14, Sergi Almacellas Abellana wrote: > El 23/10/14 a les 19:03, Cédric Krier ha escrit: > >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). > > It think this is the right way to as it's the one that allows more > customization. > > Maybe we can have a state field in order to know if the comission is draft, > waiting for the supplier invoice or it have been paid?
It will be known if the line is linked to an invoice line. > >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. > > > This is our use case. That is because we want to create the commission lines > before the agent sends the invoice and we check the comissions they send to > us, with the comissions that the system calculated in order to ensure that > everything it's correct. Yes. > >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/
pgp3M3xdWlrKq.pgp
Description: PGP signature
