<?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[清空Many2Many字段值的写法]]></title><description><![CDATA[<p dir="auto">文档上说<br /><br />(5)                    unlink all (like using (3,ID) for all linked records)<br /><br />实际写的时候要注意5后面的逗号<br />move_obj.write(cr, uid, ids, {'test_ids': [(5,)]}, context=context)<br /><br />谢谢mrshelly分享<br /></p>
]]></description><link>https://odoo.net.cn/topic/2125/清空many2many字段值的写法</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 07:42:09 GMT</lastBuildDate><atom:link href="https://odoo.net.cn/topic/2125.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Mar 2013 05:10:51 GMT</pubDate><ttl>60</ttl></channel></rss>