Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

版本 7.0 中文社区osbzr版 stock 模块 几个问题临时解决方案



  • 版本 7.0 中文社区osbzr版  实施过程中<br />关于stock 模块 几个问题临时解决方案<br />先感谢jeff  每次提出问题,jeff 很快给出响应,特别 问题二,jeff 2分钟给了回复<br /><br />问题一,osbzr版发货没法发到客户库位<br /><br />现象:手动创建出库单是,选择库位,只能选择到 内部仓位<br /><br />解决 方法 stock_view.xml  1327 删掉domain <br />如此解决后,内部掉不也可以选择客户仓位了<br />社区 解决技术贴<br / http://git.oschina.net/osbzr/openerp_7_osbzr/commit/6165d77a8852c2a78a21006330405180841a3ea1 br /><br />问题二 入库单界面 点序列号,提示 Can't find field 'product_uos_qty' in the following view parts composing the view of object model 'stocl.move':stock.move.form......<br /><br />解决方法  stock_view.xml  1040  stock.view_picking_form 删掉前面的stock.<br />社区 解决技术贴<br / http://git.oschina.net/osbzr/openerp_7_osbzr/issues/48 br /><br />问题三 出库单界面 点序列号,提示 Can't find field 'product_uos_qty' in the following view parts composing the view of object model 'stocl.move':stock.move.form......<br /><br />解决方法  stock_view.xml  913  stock.view_picking_form 删掉前面的stock.



  • 非常好,感谢分享!



  • 问题2 不修改 代码,用补丁方式 代码<br /><br />

    <br />&lt;!-- 修正 入库单无法输入序列号的问题 --&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp;  &lt;record id=&quot;view_picking_in_form&quot; model=&quot;ir.ui.view&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;name&quot;&gt;stock.picking.in.form&lt;/field&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;model&quot;&gt;stock.picking.in&lt;/field&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;inherit_id&quot; ref=&quot;stock.view_picking_in_form&quot;/&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;field name=&quot;arch&quot; type=&quot;xml&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;xpath expr=&quot;//field[@name=&#039;move_lines&#039;]&quot; position=&quot;attributes&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;attribute name=&quot;context&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {&#039;address_in_id&#039;: partner_id, &#039;picking_type&#039;: &#039;in&#039;, &#039;form_view_ref&#039;:&#039;view_move_picking_form&#039;, &#039;tree_view_ref&#039;:&#039;stock.view_move_picking_tree&#039;}&quot; options=&#039;{&quot;reload_on_button&quot;: true}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/attribute&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/xpath&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/field&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/record&gt;<br /><br />
    

    <br /><br />有个需要大神 确认的问题  <record id="view_picking_in_form" model="ir.ui.view">  这个id 是否可以必须和原模块的id不同还是,可以一样?如果可以一样,是不是这个id 在系统中自动加了模块名而区分开了?