Displaying 1 result from an estimated 1 matches for "gamaud".
Did you mean:
gamari
2010 Sep 08
5
Adding a selected checkbox to a new nested model without polluting the model
Context:
I have a GoodsReturn model with many ReturnedItem. For the new view, I
create a new GoodsReturn with many new ReturnedItems from a sale (and
its SoldItems).
Problem:
I want to have a Add/Selected checkbox with which the user can pick
the items he wants to return. I know I could use a ''selected'' virtual
attribute but I don''t want to pollute my model just for