{
	"name": "table/external/odoo/product/product_work-schedule.json",
	"table_name": "mrp_workorder",
	"odoo_model": "mrp.workorder",
	"table_prefix": "prwo",
	"record_type": ["schedule"],
	"local_table": "product_work",
	"local_record_type": "schedule",
	"field": [
		{
			"info": "Barcode Scanned\nValue of the last barcode scanned.",
			"field_name": "_barcode_scanned",
			"local_field": "",
			"field_type": "varchar"
		},
		{
			"info": "All Employees Allowed",
			"field_name": "all_employees_allowed",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Allow Changes to Producing Quantity",
			"field_name": "allow_producing_quantity_change",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Allow Work Order Dependencies",
			"field_name": "allow_workorder_dependencies",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "employees with access\nif left empty, all employees can log in to the workcenter",
			"field_name": "allowed_employees",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Barcode",
			"field_name": "barcode",
			"local_field": "",
			"field_type": "varchar"
		},
		{
			"info": "Blocked By",
			"field_name": "blocked_by_workorder_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Check",
			"field_name": "check_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Company",
			"field_name": "company_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Connected Employee",
			"field_name": "connected_employee_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Consumption",
			"field_name": "consumption",
			"local_field": "",
			"field_type": "text",
			"type": "selection"
		},
		{
			"info": "Cost per hour",
			"field_name": "costs_hour",
			"local_field": "work_hourly_self_cost",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Created on",
			"field_name": "create_date",
			"local_field": "create_time",
			"field_type": "timestamp without time zone",
			"type": "datetime"
		},
		{
			"info": "Created by",
			"field_name": "create_uid",
			"local_field": "json_data.create_user",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Current Quality Check",
			"field_name": "current_quality_check_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "End Date",
			"field_name": "date_finished",
			"local_field": "",
			"field_type": "timestamp without time zone",
			"type": "datetime"
		},
		{
			"info": "Start Date",
			"field_name": "date_start",
			"local_field": "",
			"field_type": "timestamp without time zone",
			"type": "datetime"
		},
		{
			"info": "Display Name",
			"field_name": "display_name",
			"local_field": "",
			"field_type": "varchar"
		},
		{
			"info": "Done Check",
			"field_name": "done_check_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Real Duration",
			"field_name": "duration",
			"local_field": "event_time",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Expected Duration",
			"field_name": "duration_expected",
			"local_field": "",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Duration Deviation (%)",
			"field_name": "duration_percent",
			"local_field": "",
			"field_type": "integer"
		},
		{
			"info": "Duration Per Unit",
			"field_name": "duration_unit",
			"local_field": "work_hours",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Employee Analytic Account Line",
			"field_name": "employee_analytic_account_line_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Assigned",
			"field_name": "employee_assigned_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Employee",
			"field_name": "employee_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Working employees",
			"field_name": "employee_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Employee Name",
			"field_name": "employee_name",
			"local_field": "",
			"field_type": "varchar"
		},
		{
			"info": "Lot/Serial Number",
			"field_name": "finished_lot_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Finished Product Check",
			"field_name": "finished_product_check_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Has Description",
			"field_name": "has_operation_note",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "ID",
			"field_name": "id",
			"local_field": "record_id",
			"field_type": "integer",
			"constraint": ["primary key"]
		},
		{
			"info": "Is The first Work Order",
			"field_name": "is_first_started_wo",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Is Last lot",
			"field_name": "is_last_lot",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Is Last Work Order To Process",
			"field_name": "is_last_unfinished_wo",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Its Operations are Planned",
			"field_name": "is_planned",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Has Been Produced",
			"field_name": "is_produced",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Is the Current User Working",
			"field_name": "is_user_working",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Popover Data JSON",
			"field_name": "json_popover",
			"local_field": "",
			"field_type": "varchar"
		},
		{
			"info": "Last user that worked on this work order.",
			"field_name": "last_working_user_id",
			"local_field": "person_id",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Leave\nSlot into workcenter calendar once planned",
			"field_name": "leave_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Lot/Serial",
			"field_name": "lot_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Mo Analytic Account Line",
			"field_name": "mo_analytic_account_line_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Finished Moves",
			"field_name": "move_finished_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Stock Move",
			"field_name": "move_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Moves to Track\nInventory moves for which you must scan a lot number at this work order",
			"field_name": "move_line_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Raw Moves",
			"field_name": "move_raw_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Work Order",
			"field_name": "name",
			"local_field": "description",
			"field_type": "varchar"
		},
		{
			"info": "Blocks",
			"field_name": "needed_by_workorder_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Operation",
			"field_name": "operation_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Description",
			"field_name": "operation_note",
			"local_field": "",
			"field_type": "text",
			"type": "html"
		},
		{
			"info": "Picture",
			"field_name": "picture",
			"local_field": "",
			"field_type": "blob",
			"type": "binary"
		},
		{
			"info": "Custom Description",
			"field_name": "product_description_variants",
			"local_field": "",
			"field_type": "varchar"
		},
		{
			"info": "Product",
			"field_name": "product_id",
			"local_field": "product_id",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Tracking\nEnsure the traceability of a storable product in your warehouse.",
			"field_name": "product_tracking",
			"local_field": "",
			"field_type": "text",
			"type": "selection"
		},
		{
			"info": "Unit of Measure",
			"field_name": "product_uom_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Stock Availability\nManufacturing readiness for this MO, as per bill of material configuration:\n            * Ready: The material is available to start the production.\n            * Waiting: The material is not available to start the production.\n",
			"field_name": "production_availability",
			"local_field": "",
			"field_type": "text",
			"type": "selection"
		},
		{
			"info": "Bill of Material\nBill of Materials allow you to define the list of required components to make a finished product.",
			"field_name": "production_bom_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Production Date\nDate at which you plan to start the production.",
			"field_name": "production_date",
			"local_field": "start_time",
			"field_type": "timestamp without time zone",
			"type": "datetime"
		},
		{
			"info": "Manufacturing Order",
			"field_name": "production_id",
			"local_field": "production_order_id",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[2]"
		},
		{
			"info": "Production State\n * Draft: The MO is not confirmed yet.\n * Confirmed: The MO is confirmed, the stock rules and the reordering of the components are trigerred.\n * In Progress: The production has started (on the MO or on the WO).\n * To Close: The production is done, the MO has to be closed.\n * Done: The MO is closed, the stock moves are posted. \n * Cancelled: The MO has been cancelled, can't be confirmed anymore.",
			"field_name": "production_state",
			"local_field": "",
			"field_type": "text",
			"type": "selection"
		},
		{
			"info": "Progress Done (%)",
			"field_name": "progress",
			"local_field": "",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Quantity\nThe number of products already handled by this work order",
			"field_name": "qty_produced",
			"local_field": "produced_amount",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Currently Produced Quantity",
			"field_name": "qty_producing",
			"local_field": "",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Original Production Quantity",
			"field_name": "qty_production",
			"local_field": "",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Quantity Ready",
			"field_name": "qty_ready",
			"local_field": "started_amount",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Quantity To Be Produced",
			"field_name": "qty_remaining",
			"local_field": "json_data.remaining_amount",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Carried Quantity\nThe quantity already produced awaiting allocation in the backorders chain.",
			"field_name": "qty_reported_from_previous_wo",
			"local_field": "",
			"field_type": "double",
			"type": "float"
		},
		{
			"info": "Quality Alert Count",
			"field_name": "quality_alert_count",
			"local_field": "",
			"field_type": "integer"
		},
		{
			"info": "Quality Alert",
			"field_name": "quality_alert_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Quality Check Fail",
			"field_name": "quality_check_fail",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Quality Check Todo",
			"field_name": "quality_check_todo",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Steps",
			"field_name": "quality_point_count",
			"local_field": "",
			"field_type": "integer"
		},
		{
			"info": "Quality Point",
			"field_name": "quality_point_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Quality State",
			"field_name": "quality_state",
			"local_field": "",
			"field_type": "text",
			"type": "selection"
		},
		{
			"info": "Scrap Move",
			"field_name": "scrap_count",
			"local_field": "",
			"field_type": "integer"
		},
		{
			"info": "Scrap",
			"field_name": "scrap_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Sequence",
			"field_name": "sequence",
			"local_field": "",
			"field_type": "integer"
		},
		{
			"info": "Show Popover?",
			"field_name": "show_json_popover",
			"local_field": "",
			"field_type": "boolean"
		},
		{
			"info": "Status",
			"field_name": "state",
			"local_field": "work_phase_state",
			"field_type": "text",
			"type": "selection"
		},
		{
			"info": "Technical name",
			"field_name": "test_type",
			"local_field": "",
			"field_type": "varchar"
		},
		{
			"info": "Test Type",
			"field_name": "test_type_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Time",
			"field_name": "time_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Responsible",
			"field_name": "user_id",
			"local_field": "",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		},
		{
			"info": "Wc Analytic Account Line",
			"field_name": "wc_analytic_account_line_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "many2many",
			"json_tag": "[1]"
		},
		{
			"info": "Work Center",
			"field_name": "workcenter_id",
			"local_field": "resource_id",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[2]"
		},
		{
			"info": "Workcenter Status",
			"field_name": "working_state",
			"local_field": "",
			"field_type": "text",
			"type": "selection"
		},
		{
			"info": "Working user on this work order.",
			"field_name": "working_user_ids",
			"local_field": "",
			"field_type": "integer",
			"type": "one2many",
			"json_tag": "[1]"
		},
		{
			"info": "Worksheet",
			"field_name": "worksheet",
			"local_field": "",
			"field_type": "blob",
			"type": "binary"
		},
		{
			"info": "Worksheet URL\nPaste the url of your Google Slide. Make sure the access to the document is public.",
			"field_name": "worksheet_google_slide",
			"local_field": "",
			"field_type": "varchar"
		},
		{
			"info": "Worksheet page",
			"field_name": "worksheet_page",
			"local_field": "",
			"field_type": "integer"
		},
		{
			"info": "Worksheet Type",
			"field_name": "worksheet_type",
			"local_field": "",
			"field_type": "text",
			"type": "selection"
		},
		{
			"info": "Last Updated on",
			"field_name": "write_date",
			"local_field": "modify_time",
			"field_type": "timestamp without time zone",
			"type": "datetime"
		},
		{
			"info": "Last Updated by",
			"field_name": "write_uid",
			"local_field": "modify_user",
			"field_type": "integer",
			"type": "many2one",
			"json_tag": "[1]"
		}
	]
}
