Hello guys, I hope everything is good with all.
Is there any way, in Tryton, that I can process several confirmed sales in just one invoice?
Thank you for everything
Hello guys, I hope everything is good with all.
Is there any way, in Tryton, that I can process several confirmed sales in just one invoice?
Thank you for everything
Normally you should not need to process sales as they are processed automatically when needed.
But once I had to do that because some queued process calls were failing. So I used the trytond-console
:
Sale = pool.get('sale.sale')
transaction.set_context(company=…)
sales = Sale.search([…])
Sale.process(sales)
transaction.commit()
Try first on a testing database.
Yeah, that’s exactly what I was looking for. I couldn’t understand how this module worked. But now I got it
Thank you so much @josesalvador for your help
No need to do this. But thanks anyway @ced.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.