<?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[关于给原有的字段进行添加新属性的问题]]></title><description><![CDATA[[[topic:post-is-deleted]]]]></description><link>https://odoo.net.cn/topic/7594/关于给原有的字段进行添加新属性的问题</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 21:58:02 GMT</lastBuildDate><atom:link href="https://odoo.net.cn/topic/7594.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Sep 2023 02:15:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 关于给原有的字段进行添加新属性的问题 on Thu, 07 Sep 2023 07:55:42 GMT]]></title><description><![CDATA[<p dir="auto">可以在下面的代码中加入domain使得该序号只在某个字段为特定值的时候才启用该序号规则？</p>
<pre><code class="language-xml">&lt;!--    &lt;record id="seq_product_category" model="ir.sequence"&gt;--&gt;
      
      &lt;!--        &lt;field name="name"&gt;Category Sequence&lt;/field&gt;--&gt;
      
      &lt;!--        &lt;field name="code"&gt;product.category&lt;/field&gt;--&gt;
      
      &lt;!--        &lt;field name="prefix"&gt;C&lt;/field&gt;--&gt;
      
      &lt;!--        &lt;field name="padding"&gt;3&lt;/field&gt;--&gt;
      
      &lt;!--        &lt;field name="company_id" eval="False"/&gt;--&gt;
      
      &lt;!--    &lt;/record&gt;--&gt;
</code></pre>
]]></description><link>https://odoo.net.cn/post/29426</link><guid isPermaLink="true">https://odoo.net.cn/post/29426</guid><dc:creator><![CDATA[billchen0769]]></dc:creator><pubDate>Thu, 07 Sep 2023 07:55:42 GMT</pubDate></item></channel></rss>