-
- Downloads
[FIX] purchase_stock: Fix traceback while accessing purcase report
Since recent commit[1], from the report 'purchase.report' inherited in purchase_stock, `effective_date` field is moved out from the query and is placed inside the domain. However, `effective_date` field is not available in 'purchase.report' and is part of the 'purchase.order' and so moving it inside the domain results into a traceback. This commit fixes the issue by adding this field from purchase.order to purchase.report so domain works as expcted. commit[1] - https://github.com/odoo/odoo/pull/49999/commits/b7115cc006fb15c935ceef41e8372b1d3ceb1462#diff-34545aa3f96ecc997188c974620118ee closes odoo/odoo#52103 Taskid: 2263566 Closes: #52103 Signed-off-by:Yannick Tivisse (yti) <yti@odoo.com>
Please register or sign in to comment