Files
odoo_source/addons
Andrea Grazioso (agr-odoo) 6e69a2bf0b [FIX] mrp: successfully retrieve empty computed field
1. Install MRP
2. Launch an Odoo shell on the database
3. Type the command
`print(env["mrp.bom.line"].browse(1).child_line_ids)`

Traceback will occur with exception
odoo.exceptions.CacheMiss: ('mrp.bom.line(1,).child_line_ids', None)

This occur due to the empty value that the computation of the field
yields, which is not saved in cache.
Fix by adding a default value.

opw-2226951

closes odoo/odoo#50950

X-original-commit: fc885499a3c75d8d564569ec4cea41a8a64f3164
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-05-08 15:50:43 +00:00
..
2020-05-05 10:05:12 +00:00
2020-05-07 15:55:33 +00:00
2020-05-05 10:05:12 +00:00
2020-05-05 10:05:12 +00:00
2020-05-05 10:05:12 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-05-05 12:40:10 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-04-30 13:59:44 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-04-30 07:20:07 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-03-31 16:41:23 +00:00
2020-05-05 10:05:12 +00:00
2020-04-30 12:33:42 +02:00
2020-05-05 10:05:12 +00:00
2020-05-05 10:05:12 +00:00