<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Many2one记录筛选]]></title><description><![CDATA[<p dir="auto">’my_field’: fields.many2one(’mymodule.relation.model’, ’Title’, selection=_sel_func),<br />按上述设置下拉框中会显示关系表中的所有记录，在保存时如果所选记录不在selection中则报错。<br />请教能否直接在下拉框中屏蔽掉不在selection中的记录呢？</p>
]]></description><link>https://odoo.net.cn/topic/1797/many2one记录筛选</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 02:58:06 GMT</lastBuildDate><atom:link href="https://odoo.net.cn/topic/1797.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Sep 2012 00:14:11 GMT</pubDate><ttl>60</ttl></channel></rss>