> > On 2017-08-13 06:07, 'Artem Braga' via tryton wrote: > > > > > > > > > > > On 2017-08-10 06:54, 'Artem Braga' via tryton wrote: > > >> > Hello. > > >> > > > >> > I have a Production with the Works assigned to it. Works include > Work > > >> > Centers with the Per Cycle cost method. > > >> > Production is in the Running State. However, Works remain in the > Draft > > >> > State. What is the process to move Works to the Waiting-Running > mode? > > >> > Cycles menu is not active in Work. > > >> > > >> The work state depend on the state of the cycles. > > >> As "code" is worth a thousand words, here is the computation: > > >> > http://hg.tryton.org/modules/production_work/file/default/work.py#l203 > > >> > > >> -- > > >> Cédric Krier - B2CK SPRL > > >> Email/Jabber: cedric...@b2ck.com > > >> Tel: +32 472 54 46 59 > > >> Website: http://www.b2ck.com/ > > >> > > > > > > Thanks Cedrik. > > > > > > What is still not clear - why Cycles menu is not active in the Work > and > > > how can Cycle state be changed? > > > > > > Thank you > > > > > > > > After some tests, I can specify my question on the subject: > > > > for some reason when Production is processed to the Running state, the > > Operations in the Works menu remain in the Draft state. Therefore, > Cycles > > in Works menu remain not active and buttons Cance, Run, Do are not > active. > > Hum, the state of the work not updated when the works are created > manually after running the production. > I guess it is a bug that should be fixed. > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: cedric...@b2ck.com <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ >
Thanks. The issue is filed here: https://bugs.tryton.org/issue6720 -- 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/e35a239a-7e9b-4776-a1f2-ade05616406a%40googlegroups.com.