Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在使用 openerp 7。我创建了一个包含一些字段的模块。现在我需要声明下拉字段以添加一些附加功能。请给我一些提示来做到这一点
希望提出建议
对于下拉列表,您可以使用选择字段。例如
'type': fields.selection([('a','Type A'),('b', 'Type B')],'Type')
您可以希望将 many2one 字段显示为选择,例如,公司,在视图中添加小部件 =“选择”
<field name="company_id" widget="selection">
Hi i am using YUI data table
initially i am loading table with no records(empty), i am taking the input from user and making an AJAX call which is returning J