File "/home/odoo/src/enterprise/mrp_account_enterprise/reports/mrp_cost_structure.py", line 31, in get_lines total_cost_operations = self._compute_mo_operation_cost(currency_table, Workorders, total_cost_by_mo, operation_cost_by_mo, total_cost_operations, operations) File "/home/odoo/src/enterprise/mrp_workorder_hr_account/report/mrp_cost_structure.py", line 74, in _compute_mo_operation_cost total_cost_by_mo[mo_id] += cost + employee_total_cost TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi,
The issue occurs when the value of employee_total_cost may be None, Addition is supported for data with same datatype, that's why the error occurs please check the value of 'employee_total_cost'
Hope it helps.
I'll read your posts more often, I swear. Please join me in playing the game https://pokemonshowdown.online that I just recently discovered if you have any free time. Thank you for giving this crucial knowledge.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký