On 2017-01-26 09:04, gp wrote: > Hello. I am currently investigating if tryton would be a good solution for > my problem. > > How would one model the following flow: > > - Order placed by customer > - Loan taken out against order for cost (not sale price) required to > manufacture and fulfill order > - Order fulfilled and paid by customer for sale price > - Loan amount plus interest repaid > - interest fee recorded and used to calculate order profit/margin/roi > for individual order and overall
I do not understand why is not the loan used to pay the sale? Otherwise it sounds in between the sale_advanced_payment [1] and the account_deposit [2] but both reuse the deposit/payment to actually pay the invoice. Also none has a interest computation but I think it makes sense only for deposit. It will be a matter of defining a rate and compute it over the period to post a move that will credit the deposit account. But if it is a deposit, I can not see how you can include the interest in the computation of the sale profit/margin. Interest should not be a cost. Also I think you need to be a registered bank to compute interest. [1] https://discuss.tryton.org/t/sale-advanced-payments/221 [2] http://doc.tryton.org/4.2/modules/account_deposit/doc/index.html -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20170126174903.GM289%40tetsuo.
