Hi, Hobo Users!
I am using the Lifecycles and I am having the following situation when
updating :params.
In my model I have a field called:
shelf_life :float
I also have, in the same model, a belongs_to relation called:
belongs_to :production_plant
Where ProductionPlant is another app model.
In one of it´s lifecycles transitions I have:
transition :t0020_armazenar,
{ :s00_criada => :s20_armazenada },
:params => [ :shelf_life, :production_plant ],
:available_to => "User",
:user_becomes => :die_stockman do
end
When the app is passing trough this transition :t0020_armazenar, it
shows a form asking for both :shelf_life, :production_plant inside
the :params, so the user can/may change them.
If the user changes both, the only parameter updated in the database/
model is the :shelf_life param.
The other one, :production_plant, remains "untoutched". Why? Is there
a reason? Do I need to create custom process to update the
belongs_to :params?
Thanks a lot for your attention.
Regards,
William.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---