{
	"name": "report/work_in_progress_cost/subtotal.json",
	"total": {
		"calculate": [
			[
				"calc_work_self_cost",
				"+"
			],
			[
				"calc_material_self_cost",
				"+"
			],
			[
				"calc_subcontract_self_cost",
				"+"
			],
			[
				"reduced_self_cost",
				"+"
			],
			[
				"calc_self_cost",
				"+"
			],
			[
				"calc_sales_price",
				"+"
			],
			[
				"calc_profit_percent",
				"formula"
			]
		]
	},
	"subtotal": [
		{
			"field": "pr.product_group",
			"calculate": [
				[
					"pr.product_group",
					""
				],
				[
					"calc_work_self_cost",
					"+"
				],
				[
					"calc_material_self_cost",
					"+"
				],
				[
					"calc_subcontract_self_cost",
					"+"
				],
				[
					"calc_self_cost",
					"+"
				],
				[
					"reduced_self_cost",
					"+"
				],
				[
					"calc_sales_price",
					"+"
				],
				[
					"calc_profit_percent",
					"formula"
				]
			],
			"page_break": false
		}
	]
}