I'm still trying to resolve my problem, and desperately need someone's help
:)
When I try to add a new sku to a purchase order, I would like to
prepopulate CPU field with the value from db.sku.cpu (determined by a
dropdown).
Try this:
db.po_sku.default=lambda v,r: db.sku[r.sku_id].cpu
On Friday, December 16, 2011, Adi wrote:
I'm still trying to resolve my problem, and desperately need someone's
help :)
When I try to add a new sku to a purchase order, I would like to
prepopulate CPU field with the value from
i put it as suggested, but it didn't work...
another problem is onchange', when a different value gets selected in
dropdown how to pass the accompanying db.sku.cpu to db.po_sku.cpu field.
Ah .. so you want it processed as soon as the drop-down is selected? That
would need some Ajax magic.
On Friday, December 16, 2011, Adi wrote:
i put it as suggested, but it didn't work...
another problem is onchange', when a different value gets selected in
dropdown how to pass the
4 matches
Mail list logo