I used the following:
record = db(db[main_data.settings.table_name_products].id ==
product_id).select()
form.element(_id = "op_products_type")[0] = record[0].type
Regards,
Oscar.
On 12 jun, 01:33, Oscar wrote:
> Hi,
>
> I have a model using a list:string field called type.
>
> Validation for
No problem I already solved the issue.
Regards,
Oscar.
On 12 jun, 01:33, Oscar wrote:
> Hi,
>
> I have a model using a list:string field called type.
>
> Validation for type field:
> IS_IN_SET({'finished':T('Finished'),'service':T('Service')},
> zero=T("-- Choose Type Of The Product --"))),
>
2 matches
Mail list logo