{
	"name": "form/nc/erp-sync/finvoice/column/company.json",
	"option": {
		"grid_option": {
			"cell_class_rules": {
				"nc-grid-cell-changed": "data.link_rec && colDef.change_compare !== false && data.change_field && recDataDifferent(data.link_rec, colDef, x)"
			},
			"row_class_rules": {
				"nc-grid-row-changed": "data.change_status === 'changed'",
				"nc-grid-row-deleted": "data.change_status === 'deleted'",
				"nc-grid-row-equal": "data.change_status === 'equal'",
				"nc-grid-row-new": "data.change_status === 'new'"
			}
		}
	},
	"column": [
		{
			"export": false,
			"link_field": "co.company_id",
			"name": "Row",
			"record_type": "invoice",
			"variable": "idx"
		},
		{
			"export": false,
			"name": "Status",
			"variable": "change_status",
			"editable": false,
			"width": 60
		},
		{
			"export": false,
			"name": "Change field",
			"variable": "change_field",
			"editable": false,
			"width": 130
		},
		{
			"change_compare": false,
			"organization_id": { "finvoice": { "load": false } },
			"field": "co.company_id",
			"name": "Company id",
			"name_fi": "Tunnus",
			"width": 100
		},
		{
			"change_compare": false,
			"field": "co.json_data.bank_account",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Pankkitilinnumero",
			"width": 120
		},
		{
			"change_compare": false,
			"field": "co.json_data.trade_registry_number",
			"organization_id": { "finvoice": { "load": false } },
			"name": "Trade reg.",
			"name_fi": "Y-tunnus",
			"info": "Asiakkaan y-tunnus",
			"width": 120
		},
		{
			"change_compare": false,
			"field": "co.json_data.vat_number",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "ALV numero",
			"width": 120
		},
		{
			"change_compare": false,
			"field": "co.name",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Asiakkaan nimi",
			"width": 120
		},
		{
			"field": "co.json_data.default_sales_person_id",
			"organization_id": { "finvoice": { "load": false } },
			"name": "Sales person",
			"width": 110,
			"name_fi": "koko nimi"
		},
		{
			"field": "per.full_name-employee",
			"organization_id": { "finvoice": { "load": false }, "odoo": { "field": "" } },
			"name_fi": "As. yht. hlö",
			"width": 110
		},
		{
			"change_compare": false,
			"field": "co.email",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Sähköpostiosoite",
			"width": 160
		},
		{
			"change_compare": false,
			"field": "co.json_data.telephone_area_code",
			"organization_id": { "finvoice": { "load": false }, "odoo": { "field": "" } },
			"name": "Area code",
			"name_fi": "Suuntanumero",
			"width": 110
		},
		{
			"change_compare": false,
			"field": "co.phone",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Puhelinnumero",
			"width": 120
		},
		{
			"change_compare": false,
			"field": "co.json_data.fax_area_code",
			"organization_id": { "finvoice": { "load": false }, "odoo": { "field": "" } },
			"name_fi": "Fax suunta",
			"width": 120
		},
		{
			"change_compare": false,
			"field": "co.json_data.fax_number",
			"organization_id": { "finvoice": { "load": false }, "odoo": { "field": "" } },
			"name_fi": "Fax numero",
			"width": 120
		},
		{
			"change_compare": false,
			"field": "co.json_data.electronic_invoice_address",
			"organization_id": { "finvoice": { "load": false } },
			"name": "FV address",
			"name_fi": "Verkkolaskuosoite",
			"width": 140
		},
		{
			"field": "co.address",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Osoite",
			"width": 150
		},
		{
			"field": "co.post_office",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Postitoimipaikka",
			"width": 130
		},
		{
			"field": "co.post_code",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Postinumero",
			"width": 100
		},
		{
			"field": "co.www",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Www-osoite",
			"width": 100
		},
		{
			"field": "co.country_code",
			"organization_id": { "": { "load": false }, "4d": { "load": false }, "finvoice": { "load": false }, "odoo": { "field": "" } },
			"name": "Country Code",
			"name_fi": "Maakoodi",
			"width": 110
		},
		{
			"field": "co.country",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Maa",
			"width": 90
		},
		{
			"field": "co.json_data.intermediator",
			"organization_id": { "finvoice": { "load": false } },
			"name_fi": "Välittäjä",
			"width": 110
		}
	]
}
