diff options
| author | Djamel (otd) <otd@odoo.com> | 2021-03-10 08:02:42 +0000 |
|---|---|---|
| committer | Djamel (otd) <otd@odoo.com> | 2021-03-31 09:12:25 +0000 |
| commit | 2252cae941efcca36f981d50c546cacf70ff760d (patch) | |
| tree | 0049c7740f111532652502ed5a53ea83dcf7bf01 /doc/reference/testing.rst | |
| parent | 952ff15a3af90bb32660262b4fd32ca8a1172eac (diff) | |
[FIX] accounting: fix the creation of the first sample vendor bill during the tour
Steps to follow to reproduce the bug:
-In V14
-Go to accounting
-In the tour, click on Create First Bill
-Choose ‘Try a sample vendor bill’ and click on continue
-an error is triggered
Problem:
The returned value of ”create_invoice_from_attachment” method is treated as an “account.move” recordset, but it is a dict used for ‘ir.actions.act_window'
Solution:
We retrieve the ‘account.move’ from the ‘res_id’ found in the dict.
The issue was introduced by this commit : https://github.com/odoo/odoo/commit/8435d0e8990509ee67425977f970ab27bea8133a
opw-2469567
closes odoo/odoo#67573
Signed-off-by: William André (wan) <wan@odoo.com>
Diffstat (limited to 'doc/reference/testing.rst')
0 files changed, 0 insertions, 0 deletions
