On 2016-07-20 17:23, Sergi Almacellas Abellana wrote: > El 19/07/16 a les 18:03, Cédric Krier ha escrit: > >On 2016-07-19 06:48, Eduardo J de la Garza G wrote: > >>> Hello, > >>> > >>> With the modules account_payment and account_payment_clearing, tryton has > >>> the functionality to register the payments; when the user clics on the > >>> "success" button, it creates the payment account move and its > >>> reconciliation, this is fine but, the account move remains at state > >>> "draft". Is there something I should do or is there another module to > >>> make > >>> the move become "posted"? > >>> > >>> Or, which is the next step to confirm all the payment account moves > >>> without > >>> search and confirm each one individually? > >>> > >>> I will appreciate your comments, > >For now, there are nothing to post it (except manually). > >The difficulty is that for protocol like SEPA, we must allow to fail a > >payment even if it was succeeded. So we need to delay the post of the > >payment move. > > Reading the code I see clearing move is canceled if it has been already > posted, so i don't see any problem about directly posting the move and then > creating a cancel move if the payment is failed.
The inconvenient is that it could lead to have many moves cancelled generated. I'm still more in favor of a cron task that post them after a delay because it matches better with the SEPA rules and also it allows to still do manual posting. -- 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/20160721085701.GR6791%40tetsuo.
