ERROR: could not serialize access due to concurrent update ( ir.session )

@pokoli was right , my subprocess call did an update transaction on same account invoice table. What I did to solve the issue was call two times the subprocess (on different routes , so different @tryton.transactions ) the first one to make the update and trigger the validation , the second to consult the status of previous validation and then post if validation were ok .

Thanks all