A Dissabte, 6 d'abril de 2013 23:36:09, Axel Braun va escriure: > Gents, > > what kind of workflow functionality is available in Tryton? > > I need to startup a process, attach a material to it, pass it over to the > purchasing department to find a supplier and get a quotation from a him, > pass it back to sales to create an offer to a customer. > Sales and purchasing should be strictly separated, means that purchasing > should not be able to see details (e.g. customer or conditions) from sales > and vice versa.
There is no Workflow functionality in the sense of a BPM application but you can emulate the result by creating a new model that manages the states of your workflow (using a Tryton Workflow which is single-model). It seems possible to manage all your needs with just a plain model, but you could also make it create other models (such as purchase.purchase or purchase.request) and then updating the state of your model with triggers [2] on those objects, for example. [1] http://doc.tryton.org/2.6/trytond/doc/ref/models/models.html#workflow [2] http://doc.tryton.org/2.6/trytond/doc/ref/models/models.html#trytond.model.ModelStorage.trigger_create -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog
