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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
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.
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden