diff options
| author | Krupal Oza <koz@odoo.com> | 2020-05-28 10:51:03 +0000 |
|---|---|---|
| committer | Barad Mahendra <mba@openerp.com> | 2020-06-02 07:02:46 +0000 |
| commit | a8ed0c000d709a92d4c8e1598072619cc27f6241 (patch) | |
| tree | a303ced0fe6eb3cb5d7a0e5be5c95246cd3f3e73 /addons/mail/static/src/js/models/threads/dm_chat.js | |
| parent | 7686e1bced9fb42875c0c75aee9ab4c9a075913f (diff) | |
[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>
Diffstat (limited to 'addons/mail/static/src/js/models/threads/dm_chat.js')
0 files changed, 0 insertions, 0 deletions
