odoo采购模块重要bug修复:当出现采购退货时,PO单实际收货数量不正确

 

Bug版本:10.0社区版/企业版,20180116及之前版本

模块:purchase

重现:

  1. 建立与确定一张采购单,采购100件 a1
  2. 收货单据中确认收货 100件
  3. 发现产品有问题,退货 90件并确认
  4. 【bug】在采购单界面中,显示为需求数量 100,收货数量 100。但正确的数应该是10

问题解决:

修改 purchase模块中源码,可以自己直接修改。

详细代码

=====

专门做了个模块官网下载(Pay for support)

github 可免费下载。

=====

从此Fix我们学到。

这个bug在11的版本中已经修复。但10中一直有,odoo偏心。。。。

作为花了钱的企业用户,我们提交问题,官方的回复只是再让我们去github提issue。便宜的license用户是会被忽略的。在提了issue后,官方的回复是,这个bug在11中已经修复,对于odoo10中的这个bug,官方就不修复了,建议用户升级到11!无语…

这种重要的bug,很多人提这个到,也有提PR。故:有bug可以官方github找Fix

一直有PR,但官方不合并,懒

 

Steps to reproduce:

  • Create a PO with product
  • Validate a picking
  • Make a return picking.
  • Valide this return.
  • -> The quantity received is not update (except Master)
  • Make a return of return (to return in initial situation). (better than to do a copy of original to keep the link with purchase and parent picking).
  • Validate partialy this return-return
  • -> The quantity received is not update
  • -> The action to show pickings doesn't show the return-return picking

odoo采购模块重要bug修复:当出现采购退货时,PO单实际收货数量不正确

 

 

 

odoo学习入门必看-提问的智慧《How To Ask Questions The Smart Way》