Hi all,
I have a computed field in my model and I am tyrying to save it in DB but when I try to save it The values that I calculated are changing something different. Here I will be sharing logs that you can see the dataset I passed to the create function.
2019-09-14 15:57:16,644 5456 INFO db_version01 werkzeug: 127.0.0.1 - - [14/Sep/2019 15:57:16] "POST /web/dataset/call_kw/platform.tracking.sheet.line/onchange HTTP/1.1" 200 - 1 0.000 0.008
2019-09-14 15:57:19,327 5456 WARNING db_version01 odoo.addons.custom_mrp.models.process_tracking_sheet: KAGE Vals List:{'order_number': [[6, False, [38]]], 'platform_name_display': 'M1-P001', 'machine_no': 'm1', 'approx_time_display': '1:42', 'required_prints': 6, 'platform_tracking_sheet': 1}
2019-09-14 15:57:19,374 5456 WARNING db_version01 odoo.addons.custom_mrp.models.process_tracking_sheet: KAGE Vals List:platform.tracking.sheet.line(1,)
2019-09-14 15:57:19,374 5456 WARNING db_version01 odoo.addons.custom_mrp.models.process_tracking_sheet: KAGE Vals List:{'order_number': [[6, False, [38]]], 'platform_name_display': 'M1-P002', 'machine_no': 'm1', 'approx_time_display': '1:42', 'required_prints': 4, 'platform_tracking_sheet': 1}
2019-09-14 15:57:19,377 5456 WARNING db_version01 odoo.addons.custom_mrp.models.process_tracking_sheet: KAGE Vals List:platform.tracking.sheet.line(2,)
2019-09-14 15:57:19,377 5456 WARNING db_version01 odoo.addons.custom_mrp.models.process_tracking_sheet: KAGE Vals List:{'order_number': [[6, False, [37]]], 'platform_name_display': 'M2-P001', 'machine_no': 'm2', 'approx_time_display': '1:18', 'required_prints': 8, 'platform_tracking_sheet': 1}
2019-09-14 15:57:19,380 5456 WARNING db_version01 odoo.addons.custom_mrp.models.process_tracking_sheet: KAGE Vals List:platform.tracking.sheet.line(3,)
2019-09-14 15:57:19,380 5456 WARNING db_version01 odoo.addons.custom_mrp.models.process_tracking_sheet: KAGE Vals List:{'order_number': [[6, False, [37]]], 'platform_name_display': 'M3-P001', 'machine_no': 'm3', 'approx_time_display': '1:19', 'required_prints': 6, 'platform_tracking_sheet': 1}
2019-09-14 15:57:19,382 5456 WARNING db_version01 odoo.addons.custom_mrp.models.process_tracking_sheet: KAGE Vals List:platform.tracking.sheet.line(4,)
2019-09-14 15:57:19,394 5456 INFO db_version01 werkzeug: 127.0.0.1 - - [14/Sep/2019 15:57:19] "POST /web/dataset/call_kw/platform.tracking.sheet/create HTTP/1.1" 200 - 24 0.021 0.062
I do not understand what can cause this problem. Can you help me?
Please update your question with specifying your computed field and how it is defined.