-- Data for Name: website_visitor; Type: TABLE DATA; Schema: public; Owner: odoo
--

COPY public.website_visitor (id, website_id, partner_id, country_id, lang_id, visit_count, create_uid, write_uid, access_token, timezone, create_date, last_connection_datetime, write_date) FROM stdin;
115	1	13	\N	83	1	11	11	13	Europe/Madrid	2026-05-12 10:32:39.385556	2026-05-12 10:32:39.385556	2026-05-12 10:32:39.385556
479	1	22	\N	83	2	4	4	22	Europe/Warsaw	2026-05-13 07:29:57.150902	2026-05-14 11:19:35.643783	2026-05-13 07:55:58.982151
2	1	21	\N	83	4	19	19	21	Europe/Madrid	2026-05-12 08:54:09.102497	2026-05-18 11:00:17.278863	2026-05-12 08:54:09.102497
1	1	18	\N	83	3	16	16	18	Europe/Madrid	2026-05-12 08:54:08.729785	2026-05-14 11:53:23.079297	2026-05-12 08:54:08.729785
2564	1	\N	\N	83	1	4	4	8f88b4d055151b5a14b340601a266cf7	Europe/Madrid	2026-05-14 11:30:36.051294	2026-05-14 11:30:51.476723	2026-05-14 11:30:36.051294
2678	1	\N	\N	83	1	4	4	7a6ad7d2d4f7430898043b9b97da269c	\N	2026-05-18 08:26:26.605199	2026-05-18 08:26:26.605199	2026-05-18 08:26:26.605199
8	1	28	\N	83	4	23	23	28	Europe/Madrid	2026-05-12 08:55:18.308249	2026-05-18 08:27:43.359894	2026-05-12 08:55:18.308249
129	1	27	\N	83	1	22	22	27	Etc/GMT-1	2026-05-12 10:35:34.203263	2026-05-12 10:35:56.985835	2026-05-12 10:35:34.203263
447	1	3	\N	83	3	2	2	3	Europe/Madrid	2026-05-13 07:24:19.546202	2026-05-18 09:13:52.90163	2026-05-13 07:24:19.546202
87	1	19	\N	83	4	17	17	19	Europe/Madrid	2026-05-12 10:14:31.787694	2026-05-18 10:33:59.03402	2026-05-12 10:14:31.787694
39	1	7	\N	83	2	6	6	7	Europe/Madrid	2026-05-12 09:07:18.34506	2026-05-18 10:35:53.096891	2026-05-12 09:07:18.34506
1532	1	15	\N	83	2	4	4	15	Africa/Tripoli	2026-05-14 08:48:20.079798	2026-05-18 10:35:55.095645	2026-05-14 08:54:49.890732
1067	1	\N	\N	83	1	4	4	435645665f0c4d3443a92ccec36aab99	Europe/Madrid	2026-05-14 07:20:58.591479	2026-05-14 07:21:04.982799	2026-05-14 07:20:58.591479
155	1	10	\N	83	2	8	8	10	Europe/Madrid	2026-05-12 10:39:57.792447	2026-05-14 07:38:24.857813	2026-05-12 10:39:57.792447
\.


--
-- Data for Name: wizard_ir_model_menu_create; Type: TABLE DATA; Schema: public; Owner: odoo
--

COPY public.wizard_ir_model_menu_create (id, menu_id, create_uid, write_uid, name, create_date, write_date) FROM stdin;
\.


--
-- Name: account_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_account_id_seq', 637, true);


--
-- Name: account_account_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_account_tag_id_seq', 422, true);


--
-- Name: account_accrued_orders_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_accrued_orders_wizard_id_seq', 1, false);


--
-- Name: account_analytic_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_account_id_seq', 1, true);


--
-- Name: account_analytic_applicability_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_applicability_id_seq', 1, false);


--
-- Name: account_analytic_distribution_model_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_distribution_model_id_seq', 1, false);


--
-- Name: account_analytic_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_line_id_seq', 2, true);


--
-- Name: account_analytic_plan_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_analytic_plan_id_seq', 1, true);


--
-- Name: account_automatic_entry_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_automatic_entry_wizard_id_seq', 1, false);


--
-- Name: account_autopost_bills_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_autopost_bills_wizard_id_seq', 1, false);


--
-- Name: account_bank_statement_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_bank_statement_id_seq', 1, false);


--
-- Name: account_bank_statement_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_bank_statement_line_id_seq', 1, false);


--
-- Name: account_cash_rounding_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_cash_rounding_id_seq', 1, false);


--
-- Name: account_edi_proxy_client_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_edi_proxy_client_user_id_seq', 1, false);


--
-- Name: account_financial_year_op_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_financial_year_op_id_seq', 1, false);


--
-- Name: account_fiscal_position_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_account_id_seq', 12, true);


--
-- Name: account_fiscal_position_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_id_seq', 29, true);


--
-- Name: account_fiscal_position_tax_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_fiscal_position_tax_id_seq', 759, true);


--
-- Name: account_full_reconcile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_full_reconcile_id_seq', 1, false);


--
-- Name: account_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_group_id_seq', 930, true);


--
-- Name: account_incoterms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_incoterms_id_seq', 11, true);


--
-- Name: account_journal_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_journal_group_id_seq', 1, false);


--
-- Name: account_journal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_journal_id_seq', 8, true);


--
-- Name: account_lock_exception_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_lock_exception_id_seq', 1, false);


--
-- Name: account_merge_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_merge_wizard_id_seq', 1, false);


--
-- Name: account_merge_wizard_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_merge_wizard_line_id_seq', 1, false);


--
-- Name: account_move_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_move_id_seq', 5, true);


--
-- Name: account_move_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_move_line_id_seq', 14, true);


--
-- Name: account_move_reversal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_move_reversal_id_seq', 1, false);


--
-- Name: account_move_send_batch_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_move_send_batch_wizard_id_seq', 1, false);


--
-- Name: account_move_send_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_move_send_wizard_id_seq', 1, false);


--
-- Name: account_partial_reconcile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_partial_reconcile_id_seq', 1, false);


--
-- Name: account_payment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_id_seq', 1, false);


--
-- Name: account_payment_method_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_method_id_seq', 2, true);


--
-- Name: account_payment_method_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_method_line_id_seq', 4, true);


--
-- Name: account_payment_register_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_register_id_seq', 1, false);


--
-- Name: account_payment_term_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_term_id_seq', 10, true);


--
-- Name: account_payment_term_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_payment_term_line_id_seq', 11, true);


--
-- Name: account_peppol_clarification_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_peppol_clarification_id_seq', 21, true);


--
-- Name: account_peppol_rejection_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_peppol_rejection_wizard_id_seq', 1, false);


--
-- Name: account_peppol_response_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_peppol_response_id_seq', 1, false);


--
-- Name: account_peppol_service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_peppol_service_id_seq', 1, false);


--
-- Name: account_peppol_service_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_peppol_service_wizard_id_seq', 1, false);


--
-- Name: account_reconcile_model_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_reconcile_model_id_seq', 4, true);


--
-- Name: account_reconcile_model_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_reconcile_model_line_id_seq', 2, true);


--
-- Name: account_reconcile_model_partner_mapping_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_reconcile_model_partner_mapping_id_seq', 1, false);


--
-- Name: account_report_column_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_column_id_seq', 18, true);


--
-- Name: account_report_expression_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_expression_id_seq', 493, true);


--
-- Name: account_report_external_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_external_value_id_seq', 1, false);


--
-- Name: account_report_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_id_seq', 15, true);


--
-- Name: account_report_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_report_line_id_seq', 588, true);


--
-- Name: account_resequence_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_resequence_wizard_id_seq', 1, false);


--
-- Name: account_secure_entries_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_secure_entries_wizard_id_seq', 1, false);


--
-- Name: account_setup_bank_manual_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_setup_bank_manual_config_id_seq', 1, false);


--
-- Name: account_tax_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tax_group_id_seq', 32, true);


--
-- Name: account_tax_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tax_id_seq', 168, true);


--
-- Name: account_tax_repartition_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.account_tax_repartition_line_id_seq', 728, true);


--
-- Name: auth_totp_device_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.auth_totp_device_id_seq', 1, false);


--
-- Name: auth_totp_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.auth_totp_wizard_id_seq', 1, false);


--
-- Name: barcode_nomenclature_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.barcode_nomenclature_id_seq', 2, true);


--
-- Name: barcode_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.barcode_rule_id_seq', 34, true);


--
-- Name: base_cache_signaling_assets; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_cache_signaling_assets', 157, true);


--
-- Name: base_cache_signaling_default; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_cache_signaling_default', 304, true);


--
-- Name: base_cache_signaling_groups; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_cache_signaling_groups', 1, true);


--
-- Name: base_cache_signaling_routing; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_cache_signaling_routing', 1, true);


--
-- Name: base_cache_signaling_templates; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_cache_signaling_templates', 669, true);


--
-- Name: base_document_layout_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_document_layout_id_seq', 1, false);


--
-- Name: base_enable_profiling_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_enable_profiling_wizard_id_seq', 1, false);


--
-- Name: base_import_import_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_import_id_seq', 62, true);


--
-- Name: base_import_mapping_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_mapping_id_seq', 58, true);


--
-- Name: base_import_module_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_import_module_id_seq', 1, false);


--
-- Name: base_language_export_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_language_export_id_seq', 1, false);


--
-- Name: base_language_import_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_language_import_id_seq', 1, false);


--
-- Name: base_language_install_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_language_install_id_seq', 3, true);


--
-- Name: base_module_install_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_install_request_id_seq', 1, false);


--
-- Name: base_module_install_review_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_install_review_id_seq', 1, false);


--
-- Name: base_module_uninstall_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_uninstall_id_seq', 9, true);


--
-- Name: base_module_update_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_update_id_seq', 5, true);


--
-- Name: base_module_upgrade_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_module_upgrade_id_seq', 1, false);


--
-- Name: base_partner_merge_automatic_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_partner_merge_automatic_wizard_id_seq', 35, true);


--
-- Name: base_partner_merge_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_partner_merge_line_id_seq', 56, true);


--
-- Name: base_registry_signaling; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.base_registry_signaling', 40, true);


--
-- Name: bill_to_po_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.bill_to_po_wizard_id_seq', 1, false);


--
-- Name: bus_bus_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.bus_bus_id_seq', 3815, true);


--
-- Name: bus_presence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.bus_presence_id_seq', 121, true);


--
-- Name: calendar_alarm_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_alarm_id_seq', 7, true);


--
-- Name: calendar_attendee_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_attendee_id_seq', 1, false);


--
-- Name: calendar_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_event_id_seq', 1, false);


--
-- Name: calendar_event_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_event_type_id_seq', 1, false);


--
-- Name: calendar_filters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_filters_id_seq', 1, false);


--
-- Name: calendar_popover_delete_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_popover_delete_wizard_id_seq', 1, false);


--
-- Name: calendar_provider_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_provider_config_id_seq', 1, false);


--
-- Name: calendar_recurrence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.calendar_recurrence_id_seq', 1, false);


--
-- Name: certificate_certificate_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.certificate_certificate_id_seq', 1, false);


--
-- Name: certificate_key_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.certificate_key_id_seq', 1, false);


--
-- Name: change_password_own_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.change_password_own_id_seq', 6, true);


--
-- Name: change_password_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.change_password_user_id_seq', 44, true);


--
-- Name: change_password_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.change_password_wizard_id_seq', 44, true);


--
-- Name: confirm_stock_sms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.confirm_stock_sms_id_seq', 1, false);


--
-- Name: crm_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_tag_id_seq', 1, false);


--
-- Name: crm_team_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_team_id_seq', 3, true);


--
-- Name: crm_team_member_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.crm_team_member_id_seq', 1, true);


--
-- Name: decimal_precision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.decimal_precision_id_seq', 7, true);


--
-- Name: digest_digest_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.digest_digest_id_seq', 1, true);


--
-- Name: digest_tip_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.digest_tip_id_seq', 41, true);


--
-- Name: discuss_channel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.discuss_channel_id_seq', 25, true);


--
-- Name: discuss_channel_member_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.discuss_channel_member_id_seq', 83, true);


--
-- Name: discuss_channel_rtc_session_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.discuss_channel_rtc_session_id_seq', 1, false);


--
-- Name: discuss_gif_favorite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.discuss_gif_favorite_id_seq', 1, false);


--
-- Name: discuss_voice_metadata_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.discuss_voice_metadata_id_seq', 1, false);


--
-- Name: fetchmail_server_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.fetchmail_server_id_seq', 1, false);


--
-- Name: gamification_badge_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_badge_id_seq', 4, true);


--
-- Name: gamification_badge_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_badge_user_id_seq', 1, false);


--
-- Name: gamification_badge_user_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_badge_user_wizard_id_seq', 1, false);


--
-- Name: gamification_challenge_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_challenge_id_seq', 4, true);


--
-- Name: gamification_challenge_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_challenge_line_id_seq', 8, true);


--
-- Name: gamification_goal_definition_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_goal_definition_id_seq', 14, true);


--
-- Name: gamification_goal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_goal_id_seq', 57, true);


--
-- Name: gamification_goal_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_goal_wizard_id_seq', 1, false);


--
-- Name: gamification_karma_rank_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_karma_rank_id_seq', 5, true);


--
-- Name: gamification_karma_tracking_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.gamification_karma_tracking_id_seq', 2, true);


--
-- Name: hr_contract_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_contract_type_id_seq', 10, true);


--
-- Name: hr_department_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_department_id_seq', 12, true);


--
-- Name: hr_departure_reason_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_departure_reason_id_seq', 3, true);


--
-- Name: hr_departure_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_departure_wizard_id_seq', 1, false);


--
-- Name: hr_employee_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_employee_category_id_seq', 1, false);


--
-- Name: hr_employee_cv_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_employee_cv_wizard_id_seq', 1, false);


--
-- Name: hr_employee_delete_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_employee_delete_wizard_id_seq', 1, false);


--
-- Name: hr_employee_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_employee_id_seq', 30, true);


--
-- Name: hr_employee_skill_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_employee_skill_id_seq', 204, true);


--
-- Name: hr_employee_skill_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_employee_skill_log_id_seq', 222, true);


--
-- Name: hr_job_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_job_id_seq', 11, true);


--
-- Name: hr_resume_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_resume_line_id_seq', 126, true);


--
-- Name: hr_resume_line_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_resume_line_type_id_seq', 5, true);


--
-- Name: hr_skill_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_skill_id_seq', 36, true);


--
-- Name: hr_skill_level_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_skill_level_id_seq', 11, true);


--
-- Name: hr_skill_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_skill_type_id_seq', 2, true);


--
-- Name: hr_work_location_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.hr_work_location_id_seq', 3, true);


--
-- Name: iap_account_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.iap_account_id_seq', 3, true);


--
-- Name: iap_service_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.iap_service_id_seq', 4, true);


--
-- Name: ir_act_window_view_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_act_window_view_id_seq', 287, true);


--
-- Name: ir_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_actions_id_seq', 840, true);


--
-- Name: ir_actions_todo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_actions_todo_id_seq', 4, true);


--
-- Name: ir_asset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_asset_id_seq', 226, true);


--
-- Name: ir_attachment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_attachment_id_seq', 1938, true);


--
-- Name: ir_config_parameter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_config_parameter_id_seq', 34, true);


--
-- Name: ir_cron_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_cron_id_seq', 43, true);


--
-- Name: ir_cron_progress_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_cron_progress_id_seq', 3363, true);


--
-- Name: ir_cron_trigger_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_cron_trigger_id_seq', 19, true);


--
-- Name: ir_default_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_default_id_seq', 20, true);


--
-- Name: ir_demo_failure_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_demo_failure_id_seq', 1, false);


--
-- Name: ir_demo_failure_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_demo_failure_wizard_id_seq', 1, false);


--
-- Name: ir_demo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_demo_id_seq', 1, false);


--
-- Name: ir_embedded_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_embedded_actions_id_seq', 16, true);


--
-- Name: ir_exports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_exports_id_seq', 4, true);


--
-- Name: ir_exports_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_exports_line_id_seq', 34, true);


--
-- Name: ir_filters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_filters_id_seq', 6, true);


--
-- Name: ir_logging_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_logging_id_seq', 1, false);


--
-- Name: ir_mail_server_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_mail_server_id_seq', 1, false);


--
-- Name: ir_model_access_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_access_id_seq', 1235, true);


--
-- Name: ir_model_constraint_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_constraint_id_seq', 3044, true);


--
-- Name: ir_model_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_data_id_seq', 91709, true);


--
-- Name: ir_model_fields_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_fields_id_seq', 13826, true);


--
-- Name: ir_model_fields_selection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_fields_selection_id_seq', 2860, true);


--
-- Name: ir_model_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_id_seq', 848, true);


--
-- Name: ir_model_inherit_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_inherit_id_seq', 334, true);


--
-- Name: ir_model_relation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_model_relation_id_seq', 243, true);


--
-- Name: ir_module_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_module_category_id_seq', 101, true);


--
-- Name: ir_module_module_dependency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_module_module_dependency_id_seq', 1391, true);


--
-- Name: ir_module_module_exclusion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_module_module_exclusion_id_seq', 1, false);


--
-- Name: ir_module_module_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_module_module_id_seq', 702, true);


--
-- Name: ir_profile_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_profile_id_seq', 1, false);


--
-- Name: ir_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_rule_id_seq', 325, true);


--
-- Name: ir_sequence_002; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_002', 1, false);


--
-- Name: ir_sequence_003; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_003', 492, true);


--
-- Name: ir_sequence_005; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_005', 1151, true);


--
-- Name: ir_sequence_006; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_006', 2853, true);


--
-- Name: ir_sequence_007; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_007', 1, false);


--
-- Name: ir_sequence_008; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_008', 1, false);


--
-- Name: ir_sequence_009; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_009', 1, false);


--
-- Name: ir_sequence_010; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_010', 1, false);


--
-- Name: ir_sequence_011; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_011', 1, false);


--
-- Name: ir_sequence_012; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_012', 1, false);


--
-- Name: ir_sequence_013; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_013', 1, false);


--
-- Name: ir_sequence_014; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_014', 1, false);


--
-- Name: ir_sequence_015; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_015', 1, false);


--
-- Name: ir_sequence_016; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_016', 1, false);


--
-- Name: ir_sequence_017; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_017', 1, false);


--
-- Name: ir_sequence_018; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_018', 1, false);


--
-- Name: ir_sequence_019; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_019', 2604, true);


--
-- Name: ir_sequence_020; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_020', 1, false);


--
-- Name: ir_sequence_021; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_021', 1, false);


--
-- Name: ir_sequence_022; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_022', 1, false);


--
-- Name: ir_sequence_023; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_023', 1, true);


--
-- Name: ir_sequence_024; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_024', 2, true);


--
-- Name: ir_sequence_date_range_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_date_range_id_seq', 1, false);


--
-- Name: ir_sequence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_sequence_id_seq', 24, true);


--
-- Name: ir_ui_menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_ui_menu_id_seq', 560, true);


--
-- Name: ir_ui_view_custom_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_ui_view_custom_id_seq', 1, false);


--
-- Name: ir_ui_view_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.ir_ui_view_id_seq', 4139, true);


--
-- Name: l10n_es_edi_facturae_ac_role_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.l10n_es_edi_facturae_ac_role_type_id_seq', 9, true);


--
-- Name: link_tracker_click_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.link_tracker_click_id_seq', 1, false);


--
-- Name: link_tracker_code_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.link_tracker_code_id_seq', 1, false);


--
-- Name: link_tracker_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.link_tracker_id_seq', 1, false);


--
-- Name: lot_label_layout_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.lot_label_layout_id_seq', 1, false);


--
-- Name: mail_activity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_activity_id_seq', 198, true);


--
-- Name: mail_activity_plan_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_activity_plan_id_seq', 4, true);


--
-- Name: mail_activity_plan_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_activity_plan_template_id_seq', 10, true);


--
-- Name: mail_activity_schedule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_activity_schedule_id_seq', 66, true);


--
-- Name: mail_activity_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_activity_type_id_seq', 8, true);


--
-- Name: mail_alias_domain_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_alias_domain_id_seq', 1, false);


--
-- Name: mail_alias_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_alias_id_seq', 6, true);


--
-- Name: mail_blacklist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_blacklist_id_seq', 1, false);


--
-- Name: mail_blacklist_remove_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_blacklist_remove_id_seq', 1, false);


--
-- Name: mail_canned_response_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_canned_response_id_seq', 1, true);


--
-- Name: mail_compose_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_compose_message_id_seq', 1, false);


--
-- Name: mail_followers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_followers_id_seq', 1613, true);


--
-- Name: mail_gateway_allowed_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_gateway_allowed_id_seq', 1, false);


--
-- Name: mail_guest_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_guest_id_seq', 1, false);


--
-- Name: mail_ice_server_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_ice_server_id_seq', 1, false);


--
-- Name: mail_link_preview_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_link_preview_id_seq', 1, false);


--
-- Name: mail_mail_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_mail_id_seq', 418, true);


--
-- Name: mail_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_id_seq', 2437, true);


--
-- Name: mail_message_reaction_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_reaction_id_seq', 1, false);


--
-- Name: mail_message_schedule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_schedule_id_seq', 1, false);


--
-- Name: mail_message_subtype_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_subtype_id_seq', 62, true);


--
-- Name: mail_message_translation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_message_translation_id_seq', 1, false);


--
-- Name: mail_notification_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_notification_id_seq', 192, true);


--
-- Name: mail_push_device_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_push_device_id_seq', 1, false);


--
-- Name: mail_push_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_push_id_seq', 1, false);


--
-- Name: mail_resend_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_resend_message_id_seq', 1, false);


--
-- Name: mail_resend_partner_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_resend_partner_id_seq', 1, false);


--
-- Name: mail_scheduled_message_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_scheduled_message_id_seq', 1, false);


--
-- Name: mail_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_template_id_seq', 34, true);


--
-- Name: mail_template_preview_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_template_preview_id_seq', 1, false);


--
-- Name: mail_template_reset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_template_reset_id_seq', 1, false);


--
-- Name: mail_tracking_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_tracking_value_id_seq', 1264, true);


--
-- Name: mail_wizard_invite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.mail_wizard_invite_id_seq', 1, true);


--
-- Name: maintenance_equipment_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.maintenance_equipment_category_id_seq', 1, false);


--
-- Name: maintenance_equipment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.maintenance_equipment_id_seq', 1, false);


--
-- Name: maintenance_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.maintenance_request_id_seq', 1, false);


--
-- Name: maintenance_stage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.maintenance_stage_id_seq', 4, true);


--
-- Name: maintenance_team_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.maintenance_team_id_seq', 1, true);


--
-- Name: onboarding_onboarding_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.onboarding_onboarding_id_seq', 1, true);


--
-- Name: onboarding_onboarding_step_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.onboarding_onboarding_step_id_seq', 7, true);


--
-- Name: onboarding_progress_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.onboarding_progress_id_seq', 1, false);


--
-- Name: onboarding_progress_step_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.onboarding_progress_step_id_seq', 1, false);


--
-- Name: payment_capture_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_capture_wizard_id_seq', 1, false);


--
-- Name: payment_link_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_link_wizard_id_seq', 1, false);


--
-- Name: payment_method_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_method_id_seq', 220, true);


--
-- Name: payment_provider_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_provider_id_seq', 17, true);


--
-- Name: payment_provider_onboarding_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_provider_onboarding_wizard_id_seq', 1, false);


--
-- Name: payment_refund_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_refund_wizard_id_seq', 1, false);


--
-- Name: payment_token_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_token_id_seq', 1, false);


--
-- Name: payment_transaction_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.payment_transaction_id_seq', 1, false);


--
-- Name: peppol_registration_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.peppol_registration_id_seq', 1, false);


--
-- Name: phone_blacklist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.phone_blacklist_id_seq', 1, false);


--
-- Name: phone_blacklist_remove_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.phone_blacklist_remove_id_seq', 1, false);


--
-- Name: picking_label_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.picking_label_type_id_seq', 1, false);


--
-- Name: portal_share_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.portal_share_id_seq', 1, false);


--
-- Name: portal_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.portal_wizard_id_seq', 1, true);


--
-- Name: portal_wizard_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.portal_wizard_user_id_seq', 1, true);


--
-- Name: privacy_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.privacy_log_id_seq', 1, false);


--
-- Name: privacy_lookup_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.privacy_lookup_wizard_id_seq', 1, false);


--
-- Name: privacy_lookup_wizard_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.privacy_lookup_wizard_line_id_seq', 1, false);


--
-- Name: procurement_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.procurement_group_id_seq', 668, true);


--
-- Name: product_attribute_custom_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_attribute_custom_value_id_seq', 1, false);


--
-- Name: product_attribute_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_attribute_id_seq', 1, false);


--
-- Name: product_attribute_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_attribute_value_id_seq', 1, false);


--
-- Name: product_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_category_id_seq', 3, true);


--
-- Name: product_combo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_combo_id_seq', 1, false);


--
-- Name: product_combo_item_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_combo_item_id_seq', 1, false);


--
-- Name: product_document_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_document_id_seq', 1, false);


--
-- Name: product_label_layout_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_label_layout_id_seq', 1, false);


--
-- Name: product_packaging_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_packaging_id_seq', 1, false);


--
-- Name: product_pricelist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_pricelist_id_seq', 1, false);


--
-- Name: product_pricelist_item_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_pricelist_item_id_seq', 1, false);


--
-- Name: product_product_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_product_id_seq', 20, true);


--
-- Name: product_removal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_removal_id_seq', 4, true);


--
-- Name: product_replenish_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_replenish_id_seq', 1, false);


--
-- Name: product_supplierinfo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_supplierinfo_id_seq', 11, true);


--
-- Name: product_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_tag_id_seq', 1, false);


--
-- Name: product_template_attribute_exclusion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_template_attribute_exclusion_id_seq', 1, false);


--
-- Name: product_template_attribute_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_template_attribute_line_id_seq', 1, false);


--
-- Name: product_template_attribute_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_template_attribute_value_id_seq', 1, false);


--
-- Name: product_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.product_template_id_seq', 20, true);


--
-- Name: project_collaborator_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_collaborator_id_seq', 1, false);


--
-- Name: project_create_invoice_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_create_invoice_id_seq', 1, false);


--
-- Name: project_milestone_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_milestone_id_seq', 1, false);


--
-- Name: project_project_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_project_id_seq', 1, true);


--
-- Name: project_project_stage_delete_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_project_stage_delete_wizard_id_seq', 1, false);


--
-- Name: project_project_stage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_project_stage_id_seq', 4, true);


--
-- Name: project_sale_line_employee_map_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_sale_line_employee_map_id_seq', 1, false);


--
-- Name: project_share_collaborator_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_share_collaborator_wizard_id_seq', 1, false);


--
-- Name: project_share_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_share_wizard_id_seq', 1, false);


--
-- Name: project_tags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_tags_id_seq', 1, false);


--
-- Name: project_task_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_id_seq', 2, true);


--
-- Name: project_task_recurrence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_recurrence_id_seq', 1, false);


--
-- Name: project_task_type_delete_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_type_delete_wizard_id_seq', 1, false);


--
-- Name: project_task_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_type_id_seq', 8, true);


--
-- Name: project_task_user_rel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_task_user_rel_id_seq', 2, true);


--
-- Name: project_update_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.project_update_id_seq', 1, false);


--
-- Name: purchase_order_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.purchase_order_id_seq', 2090, true);


--
-- Name: purchase_order_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.purchase_order_line_id_seq', 2304, true);


--
-- Name: quotation_document_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.quotation_document_id_seq', 1, false);


--
-- Name: rating_rating_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.rating_rating_id_seq', 1, false);


--
-- Name: repair_order_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.repair_order_id_seq', 762, true);


--
-- Name: repair_tags_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.repair_tags_id_seq', 1, false);


--
-- Name: report_layout_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.report_layout_id_seq', 7, true);


--
-- Name: report_paperformat_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.report_paperformat_id_seq', 11, true);


--
-- Name: res_bank_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_bank_id_seq', 1, true);


--
-- Name: res_company_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_company_id_seq', 1, true);


--
-- Name: res_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_config_id_seq', 1, false);


--
-- Name: res_config_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_config_settings_id_seq', 128, true);


--
-- Name: res_country_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_country_group_id_seq', 6, true);


--
-- Name: res_country_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_country_id_seq', 250, true);


--
-- Name: res_country_state_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_country_state_id_seq', 1780, true);


--
-- Name: res_currency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_currency_id_seq', 170, true);


--
-- Name: res_currency_rate_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_currency_rate_id_seq', 1, false);


--
-- Name: res_device_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_device_log_id_seq', 859, true);


--
-- Name: res_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_groups_id_seq', 97, true);


--
-- Name: res_lang_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_lang_id_seq', 92, true);


--
-- Name: res_partner_autocomplete_sync_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_autocomplete_sync_id_seq', 1, false);


--
-- Name: res_partner_bank_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_bank_id_seq', 1, false);


--
-- Name: res_partner_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_category_id_seq', 1, false);


--
-- Name: res_partner_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_id_seq', 3591, true);


--
-- Name: res_partner_industry_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_industry_id_seq', 21, true);


--
-- Name: res_partner_title_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_partner_title_id_seq', 5, true);


--
-- Name: res_users_apikeys_description_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_apikeys_description_id_seq', 1, false);


--
-- Name: res_users_apikeys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_apikeys_id_seq', 1, false);


--
-- Name: res_users_deletion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_deletion_id_seq', 1, false);


--
-- Name: res_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_id_seq', 48, true);


--
-- Name: res_users_identitycheck_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_identitycheck_id_seq', 11, true);


--
-- Name: res_users_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_log_id_seq', 106, true);


--
-- Name: res_users_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_settings_id_seq', 26, true);


--
-- Name: res_users_settings_volumes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.res_users_settings_volumes_id_seq', 1, false);


--
-- Name: reset_view_arch_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.reset_view_arch_wizard_id_seq', 1, false);


--
-- Name: resource_calendar_attendance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.resource_calendar_attendance_id_seq', 15, true);


--
-- Name: resource_calendar_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.resource_calendar_id_seq', 1, true);


--
-- Name: resource_calendar_leaves_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.resource_calendar_leaves_id_seq', 1, false);


--
-- Name: resource_resource_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.resource_resource_id_seq', 32, true);


--
-- Name: sale_advance_payment_inv_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_advance_payment_inv_id_seq', 5, true);


--
-- Name: sale_mass_cancel_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_mass_cancel_orders_id_seq', 10, true);


--
-- Name: sale_order_cancel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_cancel_id_seq', 3, true);


--
-- Name: sale_order_discount_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_discount_id_seq', 1, false);


--
-- Name: sale_order_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_id_seq', 11180, true);


--
-- Name: sale_order_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_line_id_seq', 6317, true);


--
-- Name: sale_order_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_option_id_seq', 1, false);


--
-- Name: sale_order_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_template_id_seq', 1, false);


--
-- Name: sale_order_template_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_template_line_id_seq', 1, false);


--
-- Name: sale_order_template_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_order_template_option_id_seq', 1, false);


--
-- Name: sale_payment_provider_onboarding_wizard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_payment_provider_onboarding_wizard_id_seq', 1, false);


--
-- Name: sale_pdf_form_field_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sale_pdf_form_field_id_seq', 27, true);


--
-- Name: sms_account_code_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_account_code_id_seq', 1, false);


--
-- Name: sms_account_phone_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_account_phone_id_seq', 1, false);


--
-- Name: sms_account_sender_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_account_sender_id_seq', 1, false);


--
-- Name: sms_composer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_composer_id_seq', 1, false);


--
-- Name: sms_resend_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_resend_id_seq', 1, false);


--
-- Name: sms_resend_recipient_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_resend_recipient_id_seq', 1, false);


--
-- Name: sms_sms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_sms_id_seq', 1, false);


--
-- Name: sms_template_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_template_id_seq', 2, true);


--
-- Name: sms_template_preview_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_template_preview_id_seq', 1, false);


--
-- Name: sms_template_reset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_template_reset_id_seq', 1, false);


--
-- Name: sms_tracker_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.sms_tracker_id_seq', 1, false);


--
-- Name: snailmail_letter_format_error_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.snailmail_letter_format_error_id_seq', 1, false);


--
-- Name: snailmail_letter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.snailmail_letter_id_seq', 1, false);


--
-- Name: snailmail_letter_missing_required_fields_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.snailmail_letter_missing_required_fields_id_seq', 1, false);


--
-- Name: spreadsheet_dashboard_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.spreadsheet_dashboard_group_id_seq', 7, true);


--
-- Name: spreadsheet_dashboard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.spreadsheet_dashboard_id_seq', 6, true);


--
-- Name: spreadsheet_dashboard_share_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.spreadsheet_dashboard_share_id_seq', 1, false);


--
-- Name: stock_backorder_confirmation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_backorder_confirmation_id_seq', 1, false);


--
-- Name: stock_backorder_confirmation_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_backorder_confirmation_line_id_seq', 1, false);


--
-- Name: stock_change_product_qty_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_change_product_qty_id_seq', 1, false);


--
-- Name: stock_inventory_adjustment_name_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_inventory_adjustment_name_id_seq', 1, false);


--
-- Name: stock_inventory_conflict_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_inventory_conflict_id_seq', 1, false);


--
-- Name: stock_inventory_warning_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_inventory_warning_id_seq', 1, false);


--
-- Name: stock_location_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_location_id_seq', 18, true);


--
-- Name: stock_lot_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_lot_id_seq', 1, false);


--
-- Name: stock_move_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_move_id_seq', 41, true);


--
-- Name: stock_move_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_move_line_id_seq', 6, true);


--
-- Name: stock_orderpoint_snooze_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_orderpoint_snooze_id_seq', 1, false);


--
-- Name: stock_package_destination_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_package_destination_id_seq', 1, false);


--
-- Name: stock_package_level_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_package_level_id_seq', 1, false);


--
-- Name: stock_package_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_package_type_id_seq', 1, false);


--
-- Name: stock_picking_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_picking_id_seq', 3853, true);


--
-- Name: stock_picking_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_picking_type_id_seq', 12, true);


--
-- Name: stock_putaway_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_putaway_rule_id_seq', 1, false);


--
-- Name: stock_quant_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_quant_id_seq', 1, false);


--
-- Name: stock_quant_package_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_quant_package_id_seq', 1, false);


--
-- Name: stock_quant_relocate_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_quant_relocate_id_seq', 1, false);


--
-- Name: stock_quantity_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_quantity_history_id_seq', 1, false);


--
-- Name: stock_replenishment_info_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_replenishment_info_id_seq', 1, false);


--
-- Name: stock_replenishment_option_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_replenishment_option_id_seq', 1, false);


--
-- Name: stock_request_count_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_request_count_id_seq', 1, false);


--
-- Name: stock_return_picking_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_return_picking_id_seq', 2, true);


--
-- Name: stock_return_picking_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_return_picking_line_id_seq', 1, true);


--
-- Name: stock_route_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_route_id_seq', 7, true);


--
-- Name: stock_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_rule_id_seq', 11, true);


--
-- Name: stock_rules_report_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_rules_report_id_seq', 1, false);


--
-- Name: stock_scrap_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_scrap_id_seq', 1, false);


--
-- Name: stock_scrap_reason_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_scrap_reason_tag_id_seq', 1, false);


--
-- Name: stock_storage_category_capacity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_storage_category_capacity_id_seq', 1, false);


--
-- Name: stock_storage_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_storage_category_id_seq', 1, false);


--
-- Name: stock_traceability_report_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_traceability_report_id_seq', 1, false);


--
-- Name: stock_track_confirmation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_track_confirmation_id_seq', 1, false);


--
-- Name: stock_track_line_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_track_line_id_seq', 1, false);


--
-- Name: stock_valuation_layer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_valuation_layer_id_seq', 2, true);


--
-- Name: stock_valuation_layer_revaluation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_valuation_layer_revaluation_id_seq', 1, false);


--
-- Name: stock_warehouse_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_warehouse_id_seq', 1, true);


--
-- Name: stock_warehouse_orderpoint_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_warehouse_orderpoint_id_seq', 1, false);


--
-- Name: stock_warn_insufficient_qty_repair_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_warn_insufficient_qty_repair_id_seq', 1, false);


--
-- Name: stock_warn_insufficient_qty_scrap_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.stock_warn_insufficient_qty_scrap_id_seq', 1, false);


--
-- Name: theme_ir_asset_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_ir_asset_id_seq', 1, false);


--
-- Name: theme_ir_attachment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_ir_attachment_id_seq', 1, false);


--
-- Name: theme_ir_ui_view_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_ir_ui_view_id_seq', 1, false);


--
-- Name: theme_website_menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_website_menu_id_seq', 1, false);


--
-- Name: theme_website_page_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.theme_website_page_id_seq', 1, false);


--
-- Name: uom_category_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.uom_category_id_seq', 7, true);


--
-- Name: uom_uom_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.uom_uom_id_seq', 28, true);


--
-- Name: update_product_attribute_value_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.update_product_attribute_value_id_seq', 1, false);


--
-- Name: utm_campaign_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_campaign_id_seq', 1, false);


--
-- Name: utm_medium_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_medium_id_seq', 10, true);


--
-- Name: utm_source_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_source_id_seq', 9, true);


--
-- Name: utm_stage_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_stage_id_seq', 1, true);


--
-- Name: utm_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.utm_tag_id_seq', 1, true);


--
-- Name: validate_account_move_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.validate_account_move_id_seq', 1, false);


--
-- Name: web_editor_converter_test_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.web_editor_converter_test_id_seq', 1, false);


--
-- Name: web_editor_converter_test_sub_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.web_editor_converter_test_sub_id_seq', 1, false);


--
-- Name: web_tour_tour_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.web_tour_tour_id_seq', 8, true);


--
-- Name: web_tour_tour_step_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.web_tour_tour_step_id_seq', 1, false);


--
-- Name: website_configurator_feature_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_configurator_feature_id_seq', 13, true);


--
-- Name: website_controller_page_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_controller_page_id_seq', 1, false);


--
-- Name: website_custom_blocked_third_party_domains_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_custom_blocked_third_party_domains_id_seq', 1, false);


--
-- Name: website_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_id_seq', 1, true);


--
-- Name: website_menu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_menu_id_seq', 14, true);


--
-- Name: website_page_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_page_id_seq', 37, true);


--
-- Name: website_page_properties_base_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_page_properties_base_id_seq', 1, false);


--
-- Name: website_page_properties_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_page_properties_id_seq', 1, false);


--
-- Name: website_rewrite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_rewrite_id_seq', 1, false);


--
-- Name: website_robots_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_robots_id_seq', 1, false);


--
-- Name: website_route_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_route_id_seq', 1, false);


--
-- Name: website_snippet_filter_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_snippet_filter_id_seq', 1, false);


--
-- Name: website_track_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_track_id_seq', 2765, true);


--
-- Name: website_visitor_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.website_visitor_id_seq', 2779, true);


--
-- Name: wizard_ir_model_menu_create_id_seq; Type: SEQUENCE SET; Schema: public; Owner: odoo
--

SELECT pg_catalog.setval('public.wizard_ir_model_menu_create_id_seq', 1, false);


--
-- Name: account_account_account_journal_rel account_account_account_journal_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_account_journal_rel
    ADD CONSTRAINT account_account_account_journal_rel_pkey PRIMARY KEY (account_account_id, account_journal_id);


--
-- Name: account_account_account_merge_wizard_rel account_account_account_merge_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_account_merge_wizard_rel
    ADD CONSTRAINT account_account_account_merge_wizard_rel_pkey PRIMARY KEY (account_merge_wizard_id, account_account_id);


--
-- Name: account_account_account_tag account_account_account_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_account_tag
    ADD CONSTRAINT account_account_account_tag_pkey PRIMARY KEY (account_account_id, account_account_tag_id);


--
-- Name: account_account account_account_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account
    ADD CONSTRAINT account_account_pkey PRIMARY KEY (id);


--
-- Name: account_account_res_company_rel account_account_res_company_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_res_company_rel
    ADD CONSTRAINT account_account_res_company_rel_pkey PRIMARY KEY (account_account_id, res_company_id);


--
-- Name: account_account_tag_account_move_line_rel account_account_tag_account_move_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag_account_move_line_rel
    ADD CONSTRAINT account_account_tag_account_move_line_rel_pkey PRIMARY KEY (account_move_line_id, account_account_tag_id);


--
-- Name: account_account_tag_account_tax_repartition_line_rel account_account_tag_account_tax_repartition_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag_account_tax_repartition_line_rel
    ADD CONSTRAINT account_account_tag_account_tax_repartition_line_rel_pkey PRIMARY KEY (account_tax_repartition_line_id, account_account_tag_id);


--
-- Name: account_account_tag account_account_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag
    ADD CONSTRAINT account_account_tag_name_uniq UNIQUE (name, applicability, country_id);


--
-- Name: CONSTRAINT account_account_tag_name_uniq ON account_account_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_account_tag_name_uniq ON public.account_account_tag IS 'unique(name, applicability, country_id)';


--
-- Name: account_account_tag account_account_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag
    ADD CONSTRAINT account_account_tag_pkey PRIMARY KEY (id);


--
-- Name: account_account_tag_product_template_rel account_account_tag_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag_product_template_rel
    ADD CONSTRAINT account_account_tag_product_template_rel_pkey PRIMARY KEY (product_template_id, account_account_tag_id);


--
-- Name: account_account_tax_default_rel account_account_tax_default_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tax_default_rel
    ADD CONSTRAINT account_account_tax_default_rel_pkey PRIMARY KEY (account_id, tax_id);


--
-- Name: account_accrued_orders_wizard account_accrued_orders_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_accrued_orders_wizard
    ADD CONSTRAINT account_accrued_orders_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_account account_analytic_account_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_account
    ADD CONSTRAINT account_analytic_account_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_applicability account_analytic_applicability_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_applicability
    ADD CONSTRAINT account_analytic_applicability_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_distribution_model account_analytic_distribution_model_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_distribution_model
    ADD CONSTRAINT account_analytic_distribution_model_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_line account_analytic_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_line
    ADD CONSTRAINT account_analytic_line_pkey PRIMARY KEY (id);


--
-- Name: account_analytic_line_stock_move_rel account_analytic_line_stock_move_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_line_stock_move_rel
    ADD CONSTRAINT account_analytic_line_stock_move_rel_pkey PRIMARY KEY (stock_move_id, account_analytic_line_id);


--
-- Name: account_analytic_plan account_analytic_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_plan
    ADD CONSTRAINT account_analytic_plan_pkey PRIMARY KEY (id);


--
-- Name: account_automatic_entry_wizard_account_move_line_rel account_automatic_entry_wizard_account_move_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_automatic_entry_wizard_account_move_line_rel
    ADD CONSTRAINT account_automatic_entry_wizard_account_move_line_rel_pkey PRIMARY KEY (account_automatic_entry_wizard_id, account_move_line_id);


--
-- Name: account_automatic_entry_wizard account_automatic_entry_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_automatic_entry_wizard
    ADD CONSTRAINT account_automatic_entry_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_autopost_bills_wizard account_autopost_bills_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_autopost_bills_wizard
    ADD CONSTRAINT account_autopost_bills_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_bank_statement_ir_attachment_rel account_bank_statement_ir_attachment_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_bank_statement_ir_attachment_rel
    ADD CONSTRAINT account_bank_statement_ir_attachment_rel_pkey PRIMARY KEY (account_bank_statement_id, ir_attachment_id);


--
-- Name: account_bank_statement_line account_bank_statement_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_bank_statement_line
    ADD CONSTRAINT account_bank_statement_line_pkey PRIMARY KEY (id);


--
-- Name: account_bank_statement account_bank_statement_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_bank_statement
    ADD CONSTRAINT account_bank_statement_pkey PRIMARY KEY (id);


--
-- Name: account_cash_rounding account_cash_rounding_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_cash_rounding
    ADD CONSTRAINT account_cash_rounding_pkey PRIMARY KEY (id);


--
-- Name: account_edi_proxy_client_user account_edi_proxy_client_user_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_edi_proxy_client_user
    ADD CONSTRAINT account_edi_proxy_client_user_pkey PRIMARY KEY (id);


--
-- Name: account_edi_proxy_client_user account_edi_proxy_client_user_unique_id_client; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_edi_proxy_client_user
    ADD CONSTRAINT account_edi_proxy_client_user_unique_id_client UNIQUE (id_client);


--
-- Name: CONSTRAINT account_edi_proxy_client_user_unique_id_client ON account_edi_proxy_client_user; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_edi_proxy_client_user_unique_id_client ON public.account_edi_proxy_client_user IS 'unique(id_client)';


--
-- Name: account_financial_year_op account_financial_year_op_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_financial_year_op
    ADD CONSTRAINT account_financial_year_op_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_account account_fiscal_position_account_account_src_dest_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_account
    ADD CONSTRAINT account_fiscal_position_account_account_src_dest_uniq UNIQUE (position_id, account_src_id, account_dest_id);


--
-- Name: CONSTRAINT account_fiscal_position_account_account_src_dest_uniq ON account_fiscal_position_account; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_fiscal_position_account_account_src_dest_uniq ON public.account_fiscal_position_account IS 'unique (position_id,account_src_id,account_dest_id)';


--
-- Name: account_fiscal_position_account account_fiscal_position_account_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_account
    ADD CONSTRAINT account_fiscal_position_account_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position account_fiscal_position_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position
    ADD CONSTRAINT account_fiscal_position_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_res_country_state_rel account_fiscal_position_res_country_state_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_res_country_state_rel
    ADD CONSTRAINT account_fiscal_position_res_country_state_rel_pkey PRIMARY KEY (account_fiscal_position_id, res_country_state_id);


--
-- Name: account_fiscal_position_tax account_fiscal_position_tax_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_tax
    ADD CONSTRAINT account_fiscal_position_tax_pkey PRIMARY KEY (id);


--
-- Name: account_fiscal_position_tax account_fiscal_position_tax_tax_src_dest_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_tax
    ADD CONSTRAINT account_fiscal_position_tax_tax_src_dest_uniq UNIQUE (position_id, tax_src_id, tax_dest_id);


--
-- Name: CONSTRAINT account_fiscal_position_tax_tax_src_dest_uniq ON account_fiscal_position_tax; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_fiscal_position_tax_tax_src_dest_uniq ON public.account_fiscal_position_tax IS 'unique (position_id,tax_src_id,tax_dest_id)';


--
-- Name: account_full_reconcile account_full_reconcile_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_full_reconcile
    ADD CONSTRAINT account_full_reconcile_pkey PRIMARY KEY (id);


--
-- Name: account_group account_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_group
    ADD CONSTRAINT account_group_pkey PRIMARY KEY (id);


--
-- Name: account_incoterms account_incoterms_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_incoterms
    ADD CONSTRAINT account_incoterms_pkey PRIMARY KEY (id);


--
-- Name: account_invoice_transaction_rel account_invoice_transaction_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_invoice_transaction_rel
    ADD CONSTRAINT account_invoice_transaction_rel_pkey PRIMARY KEY (invoice_id, transaction_id);


--
-- Name: account_journal_account_journal_group_rel account_journal_account_journal_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_account_journal_group_rel
    ADD CONSTRAINT account_journal_account_journal_group_rel_pkey PRIMARY KEY (account_journal_group_id, account_journal_id);


--
-- Name: account_journal_account_reconcile_model_rel account_journal_account_reconcile_model_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_account_reconcile_model_rel
    ADD CONSTRAINT account_journal_account_reconcile_model_rel_pkey PRIMARY KEY (account_reconcile_model_id, account_journal_id);


--
-- Name: account_journal account_journal_code_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal
    ADD CONSTRAINT account_journal_code_company_uniq UNIQUE (company_id, code);


--
-- Name: CONSTRAINT account_journal_code_company_uniq ON account_journal; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_journal_code_company_uniq ON public.account_journal IS 'unique (company_id, code)';


--
-- Name: account_journal_group account_journal_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_group
    ADD CONSTRAINT account_journal_group_pkey PRIMARY KEY (id);


--
-- Name: account_journal_group account_journal_group_uniq_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_group
    ADD CONSTRAINT account_journal_group_uniq_name UNIQUE (company_id, name);


--
-- Name: CONSTRAINT account_journal_group_uniq_name ON account_journal_group; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_journal_group_uniq_name ON public.account_journal_group IS 'unique(company_id, name)';


--
-- Name: account_journal account_journal_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal
    ADD CONSTRAINT account_journal_pkey PRIMARY KEY (id);


--
-- Name: account_lock_exception account_lock_exception_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_lock_exception
    ADD CONSTRAINT account_lock_exception_pkey PRIMARY KEY (id);


--
-- Name: account_merge_wizard_line account_merge_wizard_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_merge_wizard_line
    ADD CONSTRAINT account_merge_wizard_line_pkey PRIMARY KEY (id);


--
-- Name: account_merge_wizard account_merge_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_merge_wizard
    ADD CONSTRAINT account_merge_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_move__account_payment account_move__account_payment_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move__account_payment
    ADD CONSTRAINT account_move__account_payment_pkey PRIMARY KEY (invoice_id, payment_id);


--
-- Name: account_move_account_move_send_batch_wizard_rel account_move_account_move_send_batch_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_account_move_send_batch_wizard_rel
    ADD CONSTRAINT account_move_account_move_send_batch_wizard_rel_pkey PRIMARY KEY (account_move_send_batch_wizard_id, account_move_id);


--
-- Name: account_move_account_peppol_rejection_wizard_rel account_move_account_peppol_rejection_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_account_peppol_rejection_wizard_rel
    ADD CONSTRAINT account_move_account_peppol_rejection_wizard_rel_pkey PRIMARY KEY (account_peppol_rejection_wizard_id, account_move_id);


--
-- Name: account_move_account_resequence_wizard_rel account_move_account_resequence_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_account_resequence_wizard_rel
    ADD CONSTRAINT account_move_account_resequence_wizard_rel_pkey PRIMARY KEY (account_resequence_wizard_id, account_move_id);


--
-- Name: account_move_line_account_tax_rel account_move_line_account_tax_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_line_account_tax_rel
    ADD CONSTRAINT account_move_line_account_tax_rel_pkey PRIMARY KEY (account_move_line_id, account_tax_id);


--
-- Name: account_move_line account_move_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_line
    ADD CONSTRAINT account_move_line_pkey PRIMARY KEY (id);


--
-- Name: account_move account_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move
    ADD CONSTRAINT account_move_pkey PRIMARY KEY (id);


--
-- Name: account_move_purchase_order_rel account_move_purchase_order_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_purchase_order_rel
    ADD CONSTRAINT account_move_purchase_order_rel_pkey PRIMARY KEY (purchase_order_id, account_move_id);


--
-- Name: account_move_reversal_move account_move_reversal_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_reversal_move
    ADD CONSTRAINT account_move_reversal_move_pkey PRIMARY KEY (reversal_id, move_id);


--
-- Name: account_move_reversal_new_move account_move_reversal_new_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_reversal_new_move
    ADD CONSTRAINT account_move_reversal_new_move_pkey PRIMARY KEY (reversal_id, new_move_id);


--
-- Name: account_move_reversal account_move_reversal_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_reversal
    ADD CONSTRAINT account_move_reversal_pkey PRIMARY KEY (id);


--
-- Name: account_move_send_batch_wizard account_move_send_batch_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_send_batch_wizard
    ADD CONSTRAINT account_move_send_batch_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_move_send_wizard account_move_send_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_send_wizard
    ADD CONSTRAINT account_move_send_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_move_send_wizard_res_partner_rel account_move_send_wizard_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_send_wizard_res_partner_rel
    ADD CONSTRAINT account_move_send_wizard_res_partner_rel_pkey PRIMARY KEY (account_move_send_wizard_id, res_partner_id);


--
-- Name: account_move_validate_account_move_rel account_move_validate_account_move_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_validate_account_move_rel
    ADD CONSTRAINT account_move_validate_account_move_rel_pkey PRIMARY KEY (validate_account_move_id, account_move_id);


--
-- Name: account_partial_reconcile account_partial_reconcile_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_partial_reconcile
    ADD CONSTRAINT account_partial_reconcile_pkey PRIMARY KEY (id);


--
-- Name: account_payment_account_bank_statement_line_rel account_payment_account_bank_statement_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_account_bank_statement_line_rel
    ADD CONSTRAINT account_payment_account_bank_statement_line_rel_pkey PRIMARY KEY (account_bank_statement_line_id, account_payment_id);


--
-- Name: account_payment_method_line account_payment_method_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_method_line
    ADD CONSTRAINT account_payment_method_line_pkey PRIMARY KEY (id);


--
-- Name: account_payment_method account_payment_method_name_code_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_method
    ADD CONSTRAINT account_payment_method_name_code_unique UNIQUE (code, payment_type);


--
-- Name: CONSTRAINT account_payment_method_name_code_unique ON account_payment_method; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_payment_method_name_code_unique ON public.account_payment_method IS 'unique (code, payment_type)';


--
-- Name: account_payment_method account_payment_method_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_method
    ADD CONSTRAINT account_payment_method_pkey PRIMARY KEY (id);


--
-- Name: account_payment account_payment_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment
    ADD CONSTRAINT account_payment_pkey PRIMARY KEY (id);


--
-- Name: account_payment_register_move_line_rel account_payment_register_move_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_register_move_line_rel
    ADD CONSTRAINT account_payment_register_move_line_rel_pkey PRIMARY KEY (wizard_id, line_id);


--
-- Name: account_payment_register account_payment_register_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_register
    ADD CONSTRAINT account_payment_register_pkey PRIMARY KEY (id);


--
-- Name: account_payment_term_line account_payment_term_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_term_line
    ADD CONSTRAINT account_payment_term_line_pkey PRIMARY KEY (id);


--
-- Name: account_payment_term account_payment_term_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_term
    ADD CONSTRAINT account_payment_term_pkey PRIMARY KEY (id);


--
-- Name: account_peppol_clarification account_peppol_clarification_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_clarification
    ADD CONSTRAINT account_peppol_clarification_pkey PRIMARY KEY (id);


--
-- Name: account_peppol_rejection_action_rel account_peppol_rejection_action_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_rejection_action_rel
    ADD CONSTRAINT account_peppol_rejection_action_rel_pkey PRIMARY KEY (account_peppol_rejection_wizard_id, account_peppol_clarification_id);


--
-- Name: account_peppol_rejection_reason_rel account_peppol_rejection_reason_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_rejection_reason_rel
    ADD CONSTRAINT account_peppol_rejection_reason_rel_pkey PRIMARY KEY (account_peppol_rejection_wizard_id, account_peppol_clarification_id);


--
-- Name: account_peppol_rejection_wizard account_peppol_rejection_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_rejection_wizard
    ADD CONSTRAINT account_peppol_rejection_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_peppol_response account_peppol_response_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_response
    ADD CONSTRAINT account_peppol_response_pkey PRIMARY KEY (id);


--
-- Name: account_peppol_service account_peppol_service_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_service
    ADD CONSTRAINT account_peppol_service_pkey PRIMARY KEY (id);


--
-- Name: account_peppol_service_wizard account_peppol_service_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_service_wizard
    ADD CONSTRAINT account_peppol_service_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model_line_account_tax_rel account_reconcile_model_line_account_tax_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_line_account_tax_rel
    ADD CONSTRAINT account_reconcile_model_line_account_tax_rel_pkey PRIMARY KEY (account_reconcile_model_line_id, account_tax_id);


--
-- Name: account_reconcile_model_line account_reconcile_model_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_line
    ADD CONSTRAINT account_reconcile_model_line_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model account_reconcile_model_name_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model
    ADD CONSTRAINT account_reconcile_model_name_unique UNIQUE (name, company_id);


--
-- Name: CONSTRAINT account_reconcile_model_name_unique ON account_reconcile_model; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_reconcile_model_name_unique ON public.account_reconcile_model IS 'unique(name, company_id)';


--
-- Name: account_reconcile_model_partner_mapping account_reconcile_model_partner_mapping_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_partner_mapping
    ADD CONSTRAINT account_reconcile_model_partner_mapping_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model account_reconcile_model_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model
    ADD CONSTRAINT account_reconcile_model_pkey PRIMARY KEY (id);


--
-- Name: account_reconcile_model_res_partner_category_rel account_reconcile_model_res_partner_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_res_partner_category_rel
    ADD CONSTRAINT account_reconcile_model_res_partner_category_rel_pkey PRIMARY KEY (account_reconcile_model_id, res_partner_category_id);


--
-- Name: account_reconcile_model_res_partner_rel account_reconcile_model_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_res_partner_rel
    ADD CONSTRAINT account_reconcile_model_res_partner_rel_pkey PRIMARY KEY (account_reconcile_model_id, res_partner_id);


--
-- Name: account_report_column account_report_column_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_column
    ADD CONSTRAINT account_report_column_pkey PRIMARY KEY (id);


--
-- Name: account_report_expression account_report_expression_line_label_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_expression
    ADD CONSTRAINT account_report_expression_line_label_uniq UNIQUE (report_line_id, label);


--
-- Name: CONSTRAINT account_report_expression_line_label_uniq ON account_report_expression; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_report_expression_line_label_uniq ON public.account_report_expression IS 'UNIQUE(report_line_id,label)';


--
-- Name: account_report_expression account_report_expression_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_expression
    ADD CONSTRAINT account_report_expression_pkey PRIMARY KEY (id);


--
-- Name: account_report_external_value account_report_external_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_external_value
    ADD CONSTRAINT account_report_external_value_pkey PRIMARY KEY (id);


--
-- Name: account_report_line account_report_line_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_line
    ADD CONSTRAINT account_report_line_code_uniq UNIQUE (report_id, code);


--
-- Name: CONSTRAINT account_report_line_code_uniq ON account_report_line; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT account_report_line_code_uniq ON public.account_report_line IS 'unique (report_id, code)';


--
-- Name: account_report_line account_report_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_line
    ADD CONSTRAINT account_report_line_pkey PRIMARY KEY (id);


--
-- Name: account_report account_report_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report
    ADD CONSTRAINT account_report_pkey PRIMARY KEY (id);


--
-- Name: account_report_section_rel account_report_section_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_section_rel
    ADD CONSTRAINT account_report_section_rel_pkey PRIMARY KEY (main_report_id, sub_report_id);


--
-- Name: account_resequence_wizard account_resequence_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_resequence_wizard
    ADD CONSTRAINT account_resequence_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_secure_entries_wizard account_secure_entries_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_secure_entries_wizard
    ADD CONSTRAINT account_secure_entries_wizard_pkey PRIMARY KEY (id);


--
-- Name: account_setup_bank_manual_config account_setup_bank_manual_config_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_setup_bank_manual_config
    ADD CONSTRAINT account_setup_bank_manual_config_pkey PRIMARY KEY (id);


--
-- Name: account_tax_filiation_rel account_tax_filiation_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_filiation_rel
    ADD CONSTRAINT account_tax_filiation_rel_pkey PRIMARY KEY (parent_tax, child_tax);


--
-- Name: account_tax_group account_tax_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_group
    ADD CONSTRAINT account_tax_group_pkey PRIMARY KEY (id);


--
-- Name: account_tax account_tax_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax
    ADD CONSTRAINT account_tax_pkey PRIMARY KEY (id);


--
-- Name: account_tax_purchase_order_line_rel account_tax_purchase_order_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_purchase_order_line_rel
    ADD CONSTRAINT account_tax_purchase_order_line_rel_pkey PRIMARY KEY (purchase_order_line_id, account_tax_id);


--
-- Name: account_tax_repartition_line account_tax_repartition_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_repartition_line
    ADD CONSTRAINT account_tax_repartition_line_pkey PRIMARY KEY (id);


--
-- Name: account_tax_sale_order_discount_rel account_tax_sale_order_discount_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_sale_order_discount_rel
    ADD CONSTRAINT account_tax_sale_order_discount_rel_pkey PRIMARY KEY (sale_order_discount_id, account_tax_id);


--
-- Name: account_tax_sale_order_line_rel account_tax_sale_order_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_sale_order_line_rel
    ADD CONSTRAINT account_tax_sale_order_line_rel_pkey PRIMARY KEY (sale_order_line_id, account_tax_id);


--
-- Name: activity_attachment_rel activity_attachment_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.activity_attachment_rel
    ADD CONSTRAINT activity_attachment_rel_pkey PRIMARY KEY (activity_id, attachment_id);


--
-- Name: auth_totp_device auth_totp_device_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.auth_totp_device
    ADD CONSTRAINT auth_totp_device_pkey PRIMARY KEY (id);


--
-- Name: auth_totp_wizard auth_totp_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.auth_totp_wizard
    ADD CONSTRAINT auth_totp_wizard_pkey PRIMARY KEY (id);


--
-- Name: badge_unlocked_definition_rel badge_unlocked_definition_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.badge_unlocked_definition_rel
    ADD CONSTRAINT badge_unlocked_definition_rel_pkey PRIMARY KEY (gamification_badge_id, gamification_goal_definition_id);


--
-- Name: barcode_nomenclature barcode_nomenclature_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.barcode_nomenclature
    ADD CONSTRAINT barcode_nomenclature_pkey PRIMARY KEY (id);


--
-- Name: barcode_rule barcode_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.barcode_rule
    ADD CONSTRAINT barcode_rule_pkey PRIMARY KEY (id);


--
-- Name: base_document_layout base_document_layout_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_document_layout
    ADD CONSTRAINT base_document_layout_pkey PRIMARY KEY (id);


--
-- Name: base_enable_profiling_wizard base_enable_profiling_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_enable_profiling_wizard
    ADD CONSTRAINT base_enable_profiling_wizard_pkey PRIMARY KEY (id);


--
-- Name: base_import_import base_import_import_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_import
    ADD CONSTRAINT base_import_import_pkey PRIMARY KEY (id);


--
-- Name: base_import_mapping base_import_mapping_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_mapping
    ADD CONSTRAINT base_import_mapping_pkey PRIMARY KEY (id);


--
-- Name: base_import_module base_import_module_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_module
    ADD CONSTRAINT base_import_module_pkey PRIMARY KEY (id);


--
-- Name: base_language_export base_language_export_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_export
    ADD CONSTRAINT base_language_export_pkey PRIMARY KEY (id);


--
-- Name: base_language_import base_language_import_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_import
    ADD CONSTRAINT base_language_import_pkey PRIMARY KEY (id);


--
-- Name: base_language_install base_language_install_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_install
    ADD CONSTRAINT base_language_install_pkey PRIMARY KEY (id);


--
-- Name: base_language_install_website_rel base_language_install_website_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_install_website_rel
    ADD CONSTRAINT base_language_install_website_rel_pkey PRIMARY KEY (base_language_install_id, website_id);


--
-- Name: base_module_install_request base_module_install_request_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_install_request
    ADD CONSTRAINT base_module_install_request_pkey PRIMARY KEY (id);


--
-- Name: base_module_install_review base_module_install_review_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_install_review
    ADD CONSTRAINT base_module_install_review_pkey PRIMARY KEY (id);


--
-- Name: base_module_uninstall base_module_uninstall_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_uninstall
    ADD CONSTRAINT base_module_uninstall_pkey PRIMARY KEY (id);


--
-- Name: base_module_update base_module_update_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_update
    ADD CONSTRAINT base_module_update_pkey PRIMARY KEY (id);


--
-- Name: base_module_upgrade base_module_upgrade_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_upgrade
    ADD CONSTRAINT base_module_upgrade_pkey PRIMARY KEY (id);


--
-- Name: base_partner_merge_automatic_wizard base_partner_merge_automatic_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_partner_merge_automatic_wizard
    ADD CONSTRAINT base_partner_merge_automatic_wizard_pkey PRIMARY KEY (id);


--
-- Name: base_partner_merge_automatic_wizard_res_partner_rel base_partner_merge_automatic_wizard_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_partner_merge_automatic_wizard_res_partner_rel
    ADD CONSTRAINT base_partner_merge_automatic_wizard_res_partner_rel_pkey PRIMARY KEY (base_partner_merge_automatic_wizard_id, res_partner_id);


--
-- Name: base_partner_merge_line base_partner_merge_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_partner_merge_line
    ADD CONSTRAINT base_partner_merge_line_pkey PRIMARY KEY (id);


--
-- Name: bill_to_po_wizard bill_to_po_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.bill_to_po_wizard
    ADD CONSTRAINT bill_to_po_wizard_pkey PRIMARY KEY (id);


--
-- Name: bus_bus bus_bus_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.bus_bus
    ADD CONSTRAINT bus_bus_pkey PRIMARY KEY (id);


--
-- Name: bus_presence bus_presence_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.bus_presence
    ADD CONSTRAINT bus_presence_pkey PRIMARY KEY (id);


--
-- Name: calendar_alarm_calendar_event_rel calendar_alarm_calendar_event_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_alarm_calendar_event_rel
    ADD CONSTRAINT calendar_alarm_calendar_event_rel_pkey PRIMARY KEY (calendar_event_id, calendar_alarm_id);


--
-- Name: calendar_alarm calendar_alarm_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_alarm
    ADD CONSTRAINT calendar_alarm_pkey PRIMARY KEY (id);


--
-- Name: calendar_attendee calendar_attendee_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_attendee
    ADD CONSTRAINT calendar_attendee_pkey PRIMARY KEY (id);


--
-- Name: calendar_event calendar_event_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event
    ADD CONSTRAINT calendar_event_pkey PRIMARY KEY (id);


--
-- Name: calendar_event_res_partner_rel calendar_event_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event_res_partner_rel
    ADD CONSTRAINT calendar_event_res_partner_rel_pkey PRIMARY KEY (res_partner_id, calendar_event_id);


--
-- Name: calendar_event_type calendar_event_type_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event_type
    ADD CONSTRAINT calendar_event_type_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT calendar_event_type_name_uniq ON calendar_event_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT calendar_event_type_name_uniq ON public.calendar_event_type IS 'unique (name)';


--
-- Name: calendar_event_type calendar_event_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event_type
    ADD CONSTRAINT calendar_event_type_pkey PRIMARY KEY (id);


--
-- Name: calendar_filters calendar_filters_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_filters
    ADD CONSTRAINT calendar_filters_pkey PRIMARY KEY (id);


--
-- Name: calendar_filters calendar_filters_user_id_partner_id_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_filters
    ADD CONSTRAINT calendar_filters_user_id_partner_id_unique UNIQUE (user_id, partner_id);


--
-- Name: CONSTRAINT calendar_filters_user_id_partner_id_unique ON calendar_filters; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT calendar_filters_user_id_partner_id_unique ON public.calendar_filters IS 'UNIQUE(user_id, partner_id)';


--
-- Name: calendar_popover_delete_wizard calendar_popover_delete_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_popover_delete_wizard
    ADD CONSTRAINT calendar_popover_delete_wizard_pkey PRIMARY KEY (id);


--
-- Name: calendar_provider_config calendar_provider_config_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_provider_config
    ADD CONSTRAINT calendar_provider_config_pkey PRIMARY KEY (id);


--
-- Name: calendar_recurrence calendar_recurrence_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_recurrence
    ADD CONSTRAINT calendar_recurrence_pkey PRIMARY KEY (id);


--
-- Name: certificate_certificate certificate_certificate_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.certificate_certificate
    ADD CONSTRAINT certificate_certificate_pkey PRIMARY KEY (id);


--
-- Name: certificate_key certificate_key_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.certificate_key
    ADD CONSTRAINT certificate_key_pkey PRIMARY KEY (id);


--
-- Name: change_password_own change_password_own_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_own
    ADD CONSTRAINT change_password_own_pkey PRIMARY KEY (id);


--
-- Name: change_password_user change_password_user_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_user
    ADD CONSTRAINT change_password_user_pkey PRIMARY KEY (id);


--
-- Name: change_password_wizard change_password_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_wizard
    ADD CONSTRAINT change_password_wizard_pkey PRIMARY KEY (id);


--
-- Name: confirm_stock_sms confirm_stock_sms_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.confirm_stock_sms
    ADD CONSTRAINT confirm_stock_sms_pkey PRIMARY KEY (id);


--
-- Name: crm_tag crm_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_tag
    ADD CONSTRAINT crm_tag_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT crm_tag_name_uniq ON crm_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT crm_tag_name_uniq ON public.crm_tag IS 'unique (name)';


--
-- Name: crm_tag crm_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_tag
    ADD CONSTRAINT crm_tag_pkey PRIMARY KEY (id);


--
-- Name: crm_team_member crm_team_member_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_team_member
    ADD CONSTRAINT crm_team_member_pkey PRIMARY KEY (id);


--
-- Name: crm_team crm_team_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_team
    ADD CONSTRAINT crm_team_pkey PRIMARY KEY (id);


--
-- Name: decimal_precision decimal_precision_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.decimal_precision
    ADD CONSTRAINT decimal_precision_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT decimal_precision_name_uniq ON decimal_precision; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT decimal_precision_name_uniq ON public.decimal_precision IS 'unique (name)';


--
-- Name: decimal_precision decimal_precision_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.decimal_precision
    ADD CONSTRAINT decimal_precision_pkey PRIMARY KEY (id);


--
-- Name: digest_digest digest_digest_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_digest
    ADD CONSTRAINT digest_digest_pkey PRIMARY KEY (id);


--
-- Name: digest_digest_res_users_rel digest_digest_res_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_digest_res_users_rel
    ADD CONSTRAINT digest_digest_res_users_rel_pkey PRIMARY KEY (digest_digest_id, res_users_id);


--
-- Name: digest_tip digest_tip_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_tip
    ADD CONSTRAINT digest_tip_pkey PRIMARY KEY (id);


--
-- Name: digest_tip_res_users_rel digest_tip_res_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_tip_res_users_rel
    ADD CONSTRAINT digest_tip_res_users_rel_pkey PRIMARY KEY (digest_tip_id, res_users_id);


--
-- Name: discuss_channel discuss_channel_from_message_id_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel
    ADD CONSTRAINT discuss_channel_from_message_id_unique UNIQUE (from_message_id);


--
-- Name: CONSTRAINT discuss_channel_from_message_id_unique ON discuss_channel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT discuss_channel_from_message_id_unique ON public.discuss_channel IS 'UNIQUE(from_message_id)';


--
-- Name: discuss_channel_hr_department_rel discuss_channel_hr_department_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel_hr_department_rel
    ADD CONSTRAINT discuss_channel_hr_department_rel_pkey PRIMARY KEY (discuss_channel_id, hr_department_id);


--
-- Name: discuss_channel_member discuss_channel_member_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel_member
    ADD CONSTRAINT discuss_channel_member_pkey PRIMARY KEY (id);


--
-- Name: discuss_channel discuss_channel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel
    ADD CONSTRAINT discuss_channel_pkey PRIMARY KEY (id);


--
-- Name: discuss_channel_res_groups_rel discuss_channel_res_groups_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel_res_groups_rel
    ADD CONSTRAINT discuss_channel_res_groups_rel_pkey PRIMARY KEY (discuss_channel_id, res_groups_id);


--
-- Name: discuss_channel_rtc_session discuss_channel_rtc_session_channel_member_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel_rtc_session
    ADD CONSTRAINT discuss_channel_rtc_session_channel_member_unique UNIQUE (channel_member_id);


--
-- Name: CONSTRAINT discuss_channel_rtc_session_channel_member_unique ON discuss_channel_rtc_session; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT discuss_channel_rtc_session_channel_member_unique ON public.discuss_channel_rtc_session IS 'UNIQUE(channel_member_id)';


--
-- Name: discuss_channel_rtc_session discuss_channel_rtc_session_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel_rtc_session
    ADD CONSTRAINT discuss_channel_rtc_session_pkey PRIMARY KEY (id);


--
-- Name: discuss_channel discuss_channel_uuid_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel
    ADD CONSTRAINT discuss_channel_uuid_unique UNIQUE (uuid);


--
-- Name: CONSTRAINT discuss_channel_uuid_unique ON discuss_channel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT discuss_channel_uuid_unique ON public.discuss_channel IS 'UNIQUE(uuid)';


--
-- Name: discuss_gif_favorite discuss_gif_favorite_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_gif_favorite
    ADD CONSTRAINT discuss_gif_favorite_pkey PRIMARY KEY (id);


--
-- Name: discuss_gif_favorite discuss_gif_favorite_user_gif_favorite; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_gif_favorite
    ADD CONSTRAINT discuss_gif_favorite_user_gif_favorite UNIQUE (create_uid, tenor_gif_id);


--
-- Name: CONSTRAINT discuss_gif_favorite_user_gif_favorite ON discuss_gif_favorite; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT discuss_gif_favorite_user_gif_favorite ON public.discuss_gif_favorite IS 'unique(create_uid,tenor_gif_id)';


--
-- Name: discuss_voice_metadata discuss_voice_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_voice_metadata
    ADD CONSTRAINT discuss_voice_metadata_pkey PRIMARY KEY (id);


--
-- Name: email_template_attachment_rel email_template_attachment_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.email_template_attachment_rel
    ADD CONSTRAINT email_template_attachment_rel_pkey PRIMARY KEY (email_template_id, attachment_id);


--
-- Name: employee_category_rel employee_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.employee_category_rel
    ADD CONSTRAINT employee_category_rel_pkey PRIMARY KEY (employee_id, category_id);


--
-- Name: fetchmail_server fetchmail_server_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.fetchmail_server
    ADD CONSTRAINT fetchmail_server_pkey PRIMARY KEY (id);


--
-- Name: gamification_badge gamification_badge_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge
    ADD CONSTRAINT gamification_badge_pkey PRIMARY KEY (id);


--
-- Name: gamification_badge_rule_badge_rel gamification_badge_rule_badge_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge_rule_badge_rel
    ADD CONSTRAINT gamification_badge_rule_badge_rel_pkey PRIMARY KEY (badge1_id, badge2_id);


--
-- Name: gamification_badge_user gamification_badge_user_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge_user
    ADD CONSTRAINT gamification_badge_user_pkey PRIMARY KEY (id);


--
-- Name: gamification_badge_user_wizard gamification_badge_user_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge_user_wizard
    ADD CONSTRAINT gamification_badge_user_wizard_pkey PRIMARY KEY (id);


--
-- Name: gamification_challenge_line gamification_challenge_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_challenge_line
    ADD CONSTRAINT gamification_challenge_line_pkey PRIMARY KEY (id);


--
-- Name: gamification_challenge gamification_challenge_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_challenge
    ADD CONSTRAINT gamification_challenge_pkey PRIMARY KEY (id);


--
-- Name: gamification_challenge_users_rel gamification_challenge_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_challenge_users_rel
    ADD CONSTRAINT gamification_challenge_users_rel_pkey PRIMARY KEY (gamification_challenge_id, res_users_id);


--
-- Name: gamification_goal_definition gamification_goal_definition_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal_definition
    ADD CONSTRAINT gamification_goal_definition_pkey PRIMARY KEY (id);


--
-- Name: gamification_goal gamification_goal_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal
    ADD CONSTRAINT gamification_goal_pkey PRIMARY KEY (id);


--
-- Name: gamification_goal_wizard gamification_goal_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal_wizard
    ADD CONSTRAINT gamification_goal_wizard_pkey PRIMARY KEY (id);


--
-- Name: gamification_invited_user_ids_rel gamification_invited_user_ids_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_invited_user_ids_rel
    ADD CONSTRAINT gamification_invited_user_ids_rel_pkey PRIMARY KEY (gamification_challenge_id, res_users_id);


--
-- Name: gamification_karma_rank gamification_karma_rank_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_karma_rank
    ADD CONSTRAINT gamification_karma_rank_pkey PRIMARY KEY (id);


--
-- Name: gamification_karma_tracking gamification_karma_tracking_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_karma_tracking
    ADD CONSTRAINT gamification_karma_tracking_pkey PRIMARY KEY (id);


--
-- Name: header_footer_quotation_template_rel header_footer_quotation_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.header_footer_quotation_template_rel
    ADD CONSTRAINT header_footer_quotation_template_rel_pkey PRIMARY KEY (quotation_document_id, sale_order_template_id);


--
-- Name: hr_contract_type hr_contract_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_contract_type
    ADD CONSTRAINT hr_contract_type_pkey PRIMARY KEY (id);


--
-- Name: hr_department hr_department_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_department
    ADD CONSTRAINT hr_department_pkey PRIMARY KEY (id);


--
-- Name: hr_departure_reason hr_departure_reason_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_departure_reason
    ADD CONSTRAINT hr_departure_reason_pkey PRIMARY KEY (id);


--
-- Name: hr_departure_wizard hr_departure_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_departure_wizard
    ADD CONSTRAINT hr_departure_wizard_pkey PRIMARY KEY (id);


--
-- Name: hr_employee hr_employee_barcode_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee
    ADD CONSTRAINT hr_employee_barcode_uniq UNIQUE (barcode);


--
-- Name: CONSTRAINT hr_employee_barcode_uniq ON hr_employee; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_employee_barcode_uniq ON public.hr_employee IS 'unique (barcode)';


--
-- Name: hr_employee_category hr_employee_category_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_category
    ADD CONSTRAINT hr_employee_category_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT hr_employee_category_name_uniq ON hr_employee_category; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_employee_category_name_uniq ON public.hr_employee_category IS 'unique (name)';


--
-- Name: hr_employee_category hr_employee_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_category
    ADD CONSTRAINT hr_employee_category_pkey PRIMARY KEY (id);


--
-- Name: hr_employee_cv_wizard hr_employee_cv_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_cv_wizard
    ADD CONSTRAINT hr_employee_cv_wizard_pkey PRIMARY KEY (id);


--
-- Name: hr_employee_delete_wizard hr_employee_delete_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_delete_wizard
    ADD CONSTRAINT hr_employee_delete_wizard_pkey PRIMARY KEY (id);


--
-- Name: hr_employee_hr_employee_cv_wizard_rel hr_employee_hr_employee_cv_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_hr_employee_cv_wizard_rel
    ADD CONSTRAINT hr_employee_hr_employee_cv_wizard_rel_pkey PRIMARY KEY (hr_employee_cv_wizard_id, hr_employee_id);


--
-- Name: hr_employee_hr_employee_delete_wizard_rel hr_employee_hr_employee_delete_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_hr_employee_delete_wizard_rel
    ADD CONSTRAINT hr_employee_hr_employee_delete_wizard_rel_pkey PRIMARY KEY (hr_employee_delete_wizard_id, hr_employee_id);


--
-- Name: hr_employee_hr_skill_rel hr_employee_hr_skill_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_hr_skill_rel
    ADD CONSTRAINT hr_employee_hr_skill_rel_pkey PRIMARY KEY (hr_employee_id, hr_skill_id);


--
-- Name: hr_employee hr_employee_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee
    ADD CONSTRAINT hr_employee_pkey PRIMARY KEY (id);


--
-- Name: hr_employee_skill hr_employee_skill__unique_skill; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_skill
    ADD CONSTRAINT hr_employee_skill__unique_skill UNIQUE (employee_id, skill_id);


--
-- Name: CONSTRAINT hr_employee_skill__unique_skill ON hr_employee_skill; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_employee_skill__unique_skill ON public.hr_employee_skill IS 'unique (employee_id, skill_id)';


--
-- Name: hr_employee_skill_log hr_employee_skill_log__unique_skill_log; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_skill_log
    ADD CONSTRAINT hr_employee_skill_log__unique_skill_log UNIQUE (employee_id, department_id, skill_id, date);


--
-- Name: CONSTRAINT hr_employee_skill_log__unique_skill_log ON hr_employee_skill_log; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_employee_skill_log__unique_skill_log ON public.hr_employee_skill_log IS 'unique (employee_id, department_id, skill_id, date)';


--
-- Name: hr_employee_skill_log hr_employee_skill_log_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_skill_log
    ADD CONSTRAINT hr_employee_skill_log_pkey PRIMARY KEY (id);


--
-- Name: hr_employee_skill hr_employee_skill_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_skill
    ADD CONSTRAINT hr_employee_skill_pkey PRIMARY KEY (id);


--
-- Name: hr_employee hr_employee_user_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee
    ADD CONSTRAINT hr_employee_user_uniq UNIQUE (user_id, company_id);


--
-- Name: CONSTRAINT hr_employee_user_uniq ON hr_employee; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_employee_user_uniq ON public.hr_employee IS 'unique (user_id, company_id)';


--
-- Name: hr_job hr_job_name_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_job
    ADD CONSTRAINT hr_job_name_company_uniq UNIQUE (name, company_id, department_id);


--
-- Name: CONSTRAINT hr_job_name_company_uniq ON hr_job; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT hr_job_name_company_uniq ON public.hr_job IS 'unique(name, company_id, department_id)';


--
-- Name: hr_job hr_job_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_job
    ADD CONSTRAINT hr_job_pkey PRIMARY KEY (id);


--
-- Name: hr_resume_line hr_resume_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_resume_line
    ADD CONSTRAINT hr_resume_line_pkey PRIMARY KEY (id);


--
-- Name: hr_resume_line_type hr_resume_line_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_resume_line_type
    ADD CONSTRAINT hr_resume_line_type_pkey PRIMARY KEY (id);


--
-- Name: hr_skill_level hr_skill_level_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_skill_level
    ADD CONSTRAINT hr_skill_level_pkey PRIMARY KEY (id);


--
-- Name: hr_skill hr_skill_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_skill
    ADD CONSTRAINT hr_skill_pkey PRIMARY KEY (id);


--
-- Name: hr_skill_type hr_skill_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_skill_type
    ADD CONSTRAINT hr_skill_type_pkey PRIMARY KEY (id);


--
-- Name: hr_work_location hr_work_location_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_work_location
    ADD CONSTRAINT hr_work_location_pkey PRIMARY KEY (id);


--
-- Name: iap_account iap_account_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_account
    ADD CONSTRAINT iap_account_pkey PRIMARY KEY (id);


--
-- Name: iap_account_res_company_rel iap_account_res_company_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_account_res_company_rel
    ADD CONSTRAINT iap_account_res_company_rel_pkey PRIMARY KEY (iap_account_id, res_company_id);


--
-- Name: iap_account_res_users_rel iap_account_res_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_account_res_users_rel
    ADD CONSTRAINT iap_account_res_users_rel_pkey PRIMARY KEY (iap_account_id, res_users_id);


--
-- Name: iap_service iap_service_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_service
    ADD CONSTRAINT iap_service_pkey PRIMARY KEY (id);


--
-- Name: iap_service iap_service_unique_technical_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_service
    ADD CONSTRAINT iap_service_unique_technical_name UNIQUE (technical_name);


--
-- Name: CONSTRAINT iap_service_unique_technical_name ON iap_service; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT iap_service_unique_technical_name ON public.iap_service IS 'UNIQUE(technical_name)';


--
-- Name: ir_act_client ir_act_client_path_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_client
    ADD CONSTRAINT ir_act_client_path_unique UNIQUE (path);


--
-- Name: CONSTRAINT ir_act_client_path_unique ON ir_act_client; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_act_client_path_unique ON public.ir_act_client IS 'unique(path)';


--
-- Name: ir_act_client ir_act_client_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_client
    ADD CONSTRAINT ir_act_client_pkey PRIMARY KEY (id);


--
-- Name: ir_act_report_xml ir_act_report_xml_path_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_report_xml
    ADD CONSTRAINT ir_act_report_xml_path_unique UNIQUE (path);


--
-- Name: CONSTRAINT ir_act_report_xml_path_unique ON ir_act_report_xml; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_act_report_xml_path_unique ON public.ir_act_report_xml IS 'unique(path)';


--
-- Name: ir_act_report_xml ir_act_report_xml_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_report_xml
    ADD CONSTRAINT ir_act_report_xml_pkey PRIMARY KEY (id);


--
-- Name: ir_act_server_group_rel ir_act_server_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server_group_rel
    ADD CONSTRAINT ir_act_server_group_rel_pkey PRIMARY KEY (act_id, gid);


--
-- Name: ir_act_server ir_act_server_path_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server
    ADD CONSTRAINT ir_act_server_path_unique UNIQUE (path);


--
-- Name: CONSTRAINT ir_act_server_path_unique ON ir_act_server; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_act_server_path_unique ON public.ir_act_server IS 'unique(path)';


--
-- Name: ir_act_server ir_act_server_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server
    ADD CONSTRAINT ir_act_server_pkey PRIMARY KEY (id);


--
-- Name: ir_act_server_res_partner_rel ir_act_server_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server_res_partner_rel
    ADD CONSTRAINT ir_act_server_res_partner_rel_pkey PRIMARY KEY (ir_act_server_id, res_partner_id);


--
-- Name: ir_act_server_webhook_field_rel ir_act_server_webhook_field_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server_webhook_field_rel
    ADD CONSTRAINT ir_act_server_webhook_field_rel_pkey PRIMARY KEY (server_id, field_id);


--
-- Name: ir_act_url ir_act_url_path_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_url
    ADD CONSTRAINT ir_act_url_path_unique UNIQUE (path);


--
-- Name: CONSTRAINT ir_act_url_path_unique ON ir_act_url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_act_url_path_unique ON public.ir_act_url IS 'unique(path)';


--
-- Name: ir_act_url ir_act_url_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_url
    ADD CONSTRAINT ir_act_url_pkey PRIMARY KEY (id);


--
-- Name: ir_act_window_group_rel ir_act_window_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window_group_rel
    ADD CONSTRAINT ir_act_window_group_rel_pkey PRIMARY KEY (act_id, gid);


--
-- Name: ir_act_window ir_act_window_path_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window
    ADD CONSTRAINT ir_act_window_path_unique UNIQUE (path);


--
-- Name: CONSTRAINT ir_act_window_path_unique ON ir_act_window; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_act_window_path_unique ON public.ir_act_window IS 'unique(path)';


--
-- Name: ir_act_window ir_act_window_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window
    ADD CONSTRAINT ir_act_window_pkey PRIMARY KEY (id);


--
-- Name: ir_act_window_view ir_act_window_view_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window_view
    ADD CONSTRAINT ir_act_window_view_pkey PRIMARY KEY (id);


--
-- Name: ir_actions ir_actions_path_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_actions
    ADD CONSTRAINT ir_actions_path_unique UNIQUE (path);


--
-- Name: CONSTRAINT ir_actions_path_unique ON ir_actions; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_actions_path_unique ON public.ir_actions IS 'unique(path)';


--
-- Name: ir_actions ir_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_actions
    ADD CONSTRAINT ir_actions_pkey PRIMARY KEY (id);


--
-- Name: ir_actions_todo ir_actions_todo_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_actions_todo
    ADD CONSTRAINT ir_actions_todo_pkey PRIMARY KEY (id);


--
-- Name: ir_asset ir_asset_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_asset
    ADD CONSTRAINT ir_asset_pkey PRIMARY KEY (id);


--
-- Name: ir_attachment ir_attachment_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_attachment
    ADD CONSTRAINT ir_attachment_pkey PRIMARY KEY (id);


--
-- Name: ir_config_parameter ir_config_parameter_key_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_config_parameter
    ADD CONSTRAINT ir_config_parameter_key_uniq UNIQUE (key);


--
-- Name: CONSTRAINT ir_config_parameter_key_uniq ON ir_config_parameter; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_config_parameter_key_uniq ON public.ir_config_parameter IS 'unique (key)';


--
-- Name: ir_config_parameter ir_config_parameter_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_config_parameter
    ADD CONSTRAINT ir_config_parameter_pkey PRIMARY KEY (id);


--
-- Name: ir_cron ir_cron_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_cron
    ADD CONSTRAINT ir_cron_pkey PRIMARY KEY (id);


--
-- Name: ir_cron_progress ir_cron_progress_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_cron_progress
    ADD CONSTRAINT ir_cron_progress_pkey PRIMARY KEY (id);


--
-- Name: ir_cron_trigger ir_cron_trigger_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_cron_trigger
    ADD CONSTRAINT ir_cron_trigger_pkey PRIMARY KEY (id);


--
-- Name: ir_default ir_default_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_default
    ADD CONSTRAINT ir_default_pkey PRIMARY KEY (id);


--
-- Name: ir_demo_failure ir_demo_failure_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo_failure
    ADD CONSTRAINT ir_demo_failure_pkey PRIMARY KEY (id);


--
-- Name: ir_demo_failure_wizard ir_demo_failure_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo_failure_wizard
    ADD CONSTRAINT ir_demo_failure_wizard_pkey PRIMARY KEY (id);


--
-- Name: ir_demo ir_demo_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo
    ADD CONSTRAINT ir_demo_pkey PRIMARY KEY (id);


--
-- Name: ir_embedded_actions ir_embedded_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_embedded_actions
    ADD CONSTRAINT ir_embedded_actions_pkey PRIMARY KEY (id);


--
-- Name: ir_embedded_actions_res_groups_rel ir_embedded_actions_res_groups_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_embedded_actions_res_groups_rel
    ADD CONSTRAINT ir_embedded_actions_res_groups_rel_pkey PRIMARY KEY (ir_embedded_actions_id, res_groups_id);


--
-- Name: ir_exports_line ir_exports_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_exports_line
    ADD CONSTRAINT ir_exports_line_pkey PRIMARY KEY (id);


--
-- Name: ir_exports ir_exports_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_exports
    ADD CONSTRAINT ir_exports_pkey PRIMARY KEY (id);


--
-- Name: ir_filters ir_filters_name_model_uid_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_filters
    ADD CONSTRAINT ir_filters_name_model_uid_unique UNIQUE (model_id, user_id, action_id, embedded_action_id, embedded_parent_res_id, name);


--
-- Name: CONSTRAINT ir_filters_name_model_uid_unique ON ir_filters; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_filters_name_model_uid_unique ON public.ir_filters IS 'unique (model_id, user_id, action_id, embedded_action_id, embedded_parent_res_id, name)';


--
-- Name: ir_filters ir_filters_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_filters
    ADD CONSTRAINT ir_filters_pkey PRIMARY KEY (id);


--
-- Name: ir_logging ir_logging_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_logging
    ADD CONSTRAINT ir_logging_pkey PRIMARY KEY (id);


--
-- Name: ir_mail_server ir_mail_server_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_mail_server
    ADD CONSTRAINT ir_mail_server_pkey PRIMARY KEY (id);


--
-- Name: ir_model_access ir_model_access_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_access
    ADD CONSTRAINT ir_model_access_pkey PRIMARY KEY (id);


--
-- Name: ir_model_constraint ir_model_constraint_module_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_constraint
    ADD CONSTRAINT ir_model_constraint_module_name_uniq UNIQUE (name, module);


--
-- Name: CONSTRAINT ir_model_constraint_module_name_uniq ON ir_model_constraint; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_constraint_module_name_uniq ON public.ir_model_constraint IS 'unique(name, module)';


--
-- Name: ir_model_constraint ir_model_constraint_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_constraint
    ADD CONSTRAINT ir_model_constraint_pkey PRIMARY KEY (id);


--
-- Name: ir_model_data ir_model_data_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_data
    ADD CONSTRAINT ir_model_data_pkey PRIMARY KEY (id);


--
-- Name: ir_model_fields_group_rel ir_model_fields_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields_group_rel
    ADD CONSTRAINT ir_model_fields_group_rel_pkey PRIMARY KEY (field_id, group_id);


--
-- Name: ir_model_fields ir_model_fields_name_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields
    ADD CONSTRAINT ir_model_fields_name_unique UNIQUE (model, name);


--
-- Name: CONSTRAINT ir_model_fields_name_unique ON ir_model_fields; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_fields_name_unique ON public.ir_model_fields IS 'UNIQUE(model, name)';


--
-- Name: ir_model_fields ir_model_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields
    ADD CONSTRAINT ir_model_fields_pkey PRIMARY KEY (id);


--
-- Name: ir_model_fields_selection ir_model_fields_selection_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields_selection
    ADD CONSTRAINT ir_model_fields_selection_pkey PRIMARY KEY (id);


--
-- Name: ir_model_fields_selection ir_model_fields_selection_selection_field_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_fields_selection
    ADD CONSTRAINT ir_model_fields_selection_selection_field_uniq UNIQUE (field_id, value);


--
-- Name: CONSTRAINT ir_model_fields_selection_selection_field_uniq ON ir_model_fields_selection; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_fields_selection_selection_field_uniq ON public.ir_model_fields_selection IS 'unique(field_id, value)';


--
-- Name: ir_model_inherit ir_model_inherit_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_inherit
    ADD CONSTRAINT ir_model_inherit_pkey PRIMARY KEY (id);


--
-- Name: ir_model_inherit ir_model_inherit_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_inherit
    ADD CONSTRAINT ir_model_inherit_uniq UNIQUE (model_id, parent_id);


--
-- Name: CONSTRAINT ir_model_inherit_uniq ON ir_model_inherit; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_inherit_uniq ON public.ir_model_inherit IS 'UNIQUE(model_id, parent_id)';


--
-- Name: ir_model ir_model_obj_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model
    ADD CONSTRAINT ir_model_obj_name_uniq UNIQUE (model);


--
-- Name: CONSTRAINT ir_model_obj_name_uniq ON ir_model; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_model_obj_name_uniq ON public.ir_model IS 'unique (model)';


--
-- Name: ir_model ir_model_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model
    ADD CONSTRAINT ir_model_pkey PRIMARY KEY (id);


--
-- Name: ir_model_relation ir_model_relation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_relation
    ADD CONSTRAINT ir_model_relation_pkey PRIMARY KEY (id);


--
-- Name: ir_model_spreadsheet_dashboard_rel ir_model_spreadsheet_dashboard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_model_spreadsheet_dashboard_rel
    ADD CONSTRAINT ir_model_spreadsheet_dashboard_rel_pkey PRIMARY KEY (spreadsheet_dashboard_id, ir_model_id);


--
-- Name: ir_module_category ir_module_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_category
    ADD CONSTRAINT ir_module_category_pkey PRIMARY KEY (id);


--
-- Name: ir_module_module_dependency ir_module_module_dependency_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_module_dependency
    ADD CONSTRAINT ir_module_module_dependency_pkey PRIMARY KEY (id);


--
-- Name: ir_module_module_exclusion ir_module_module_exclusion_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_module_exclusion
    ADD CONSTRAINT ir_module_module_exclusion_pkey PRIMARY KEY (id);


--
-- Name: ir_module_module ir_module_module_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_module
    ADD CONSTRAINT ir_module_module_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT ir_module_module_name_uniq ON ir_module_module; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_module_module_name_uniq ON public.ir_module_module IS 'UNIQUE (name)';


--
-- Name: ir_module_module ir_module_module_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_module_module
    ADD CONSTRAINT ir_module_module_pkey PRIMARY KEY (id);


--
-- Name: ir_profile ir_profile_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_profile
    ADD CONSTRAINT ir_profile_pkey PRIMARY KEY (id);


--
-- Name: ir_rule ir_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_rule
    ADD CONSTRAINT ir_rule_pkey PRIMARY KEY (id);


--
-- Name: ir_sequence_date_range ir_sequence_date_range_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_sequence_date_range
    ADD CONSTRAINT ir_sequence_date_range_pkey PRIMARY KEY (id);


--
-- Name: ir_sequence_date_range ir_sequence_date_range_unique_range_per_sequence; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_sequence_date_range
    ADD CONSTRAINT ir_sequence_date_range_unique_range_per_sequence UNIQUE (sequence_id, date_from, date_to);


--
-- Name: CONSTRAINT ir_sequence_date_range_unique_range_per_sequence ON ir_sequence_date_range; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT ir_sequence_date_range_unique_range_per_sequence ON public.ir_sequence_date_range IS 'UNIQUE(sequence_id, date_from, date_to)';


--
-- Name: ir_sequence ir_sequence_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_sequence
    ADD CONSTRAINT ir_sequence_pkey PRIMARY KEY (id);


--
-- Name: ir_ui_menu_group_rel ir_ui_menu_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_menu_group_rel
    ADD CONSTRAINT ir_ui_menu_group_rel_pkey PRIMARY KEY (menu_id, gid);


--
-- Name: ir_ui_menu ir_ui_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_menu
    ADD CONSTRAINT ir_ui_menu_pkey PRIMARY KEY (id);


--
-- Name: ir_ui_view_custom ir_ui_view_custom_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_view_custom
    ADD CONSTRAINT ir_ui_view_custom_pkey PRIMARY KEY (id);


--
-- Name: ir_ui_view_group_rel ir_ui_view_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_view_group_rel
    ADD CONSTRAINT ir_ui_view_group_rel_pkey PRIMARY KEY (view_id, group_id);


--
-- Name: ir_ui_view ir_ui_view_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_ui_view
    ADD CONSTRAINT ir_ui_view_pkey PRIMARY KEY (id);


--
-- Name: journal_account_control_rel journal_account_control_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.journal_account_control_rel
    ADD CONSTRAINT journal_account_control_rel_pkey PRIMARY KEY (journal_id, account_id);


--
-- Name: l10n_es_edi_facturae_ac_role_type l10n_es_edi_facturae_ac_role_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.l10n_es_edi_facturae_ac_role_type
    ADD CONSTRAINT l10n_es_edi_facturae_ac_role_type_pkey PRIMARY KEY (id);


--
-- Name: l10n_es_edi_facturae_ac_role_type_res_partner_rel l10n_es_edi_facturae_ac_role_type_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.l10n_es_edi_facturae_ac_role_type_res_partner_rel
    ADD CONSTRAINT l10n_es_edi_facturae_ac_role_type_res_partner_rel_pkey PRIMARY KEY (res_partner_id, l10n_es_edi_facturae_ac_role_type_id);


--
-- Name: link_tracker_click link_tracker_click_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.link_tracker_click
    ADD CONSTRAINT link_tracker_click_pkey PRIMARY KEY (id);


--
-- Name: link_tracker_code link_tracker_code_code; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.link_tracker_code
    ADD CONSTRAINT link_tracker_code_code UNIQUE (code);


--
-- Name: CONSTRAINT link_tracker_code_code ON link_tracker_code; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT link_tracker_code_code ON public.link_tracker_code IS 'unique( code )';


--
-- Name: link_tracker_code link_tracker_code_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.link_tracker_code
    ADD CONSTRAINT link_tracker_code_pkey PRIMARY KEY (id);


--
-- Name: link_tracker link_tracker_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.link_tracker
    ADD CONSTRAINT link_tracker_pkey PRIMARY KEY (id);


--
-- Name: lot_label_layout lot_label_layout_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.lot_label_layout
    ADD CONSTRAINT lot_label_layout_pkey PRIMARY KEY (id);


--
-- Name: lot_label_layout_stock_move_line_rel lot_label_layout_stock_move_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.lot_label_layout_stock_move_line_rel
    ADD CONSTRAINT lot_label_layout_stock_move_line_rel_pkey PRIMARY KEY (lot_label_layout_id, stock_move_line_id);


--
-- Name: mail_activity mail_activity_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity
    ADD CONSTRAINT mail_activity_pkey PRIMARY KEY (id);


--
-- Name: mail_activity_plan_mail_activity_schedule_rel mail_activity_plan_mail_activity_schedule_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_plan_mail_activity_schedule_rel
    ADD CONSTRAINT mail_activity_plan_mail_activity_schedule_rel_pkey PRIMARY KEY (mail_activity_schedule_id, mail_activity_plan_id);


--
-- Name: mail_activity_plan mail_activity_plan_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_plan
    ADD CONSTRAINT mail_activity_plan_pkey PRIMARY KEY (id);


--
-- Name: mail_activity_plan_template mail_activity_plan_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_plan_template
    ADD CONSTRAINT mail_activity_plan_template_pkey PRIMARY KEY (id);


--
-- Name: mail_activity_rel mail_activity_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_rel
    ADD CONSTRAINT mail_activity_rel_pkey PRIMARY KEY (activity_id, recommended_id);


--
-- Name: mail_activity_schedule mail_activity_schedule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_schedule
    ADD CONSTRAINT mail_activity_schedule_pkey PRIMARY KEY (id);


--
-- Name: mail_activity_type_mail_template_rel mail_activity_type_mail_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_type_mail_template_rel
    ADD CONSTRAINT mail_activity_type_mail_template_rel_pkey PRIMARY KEY (mail_activity_type_id, mail_template_id);


--
-- Name: mail_activity_type mail_activity_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_activity_type
    ADD CONSTRAINT mail_activity_type_pkey PRIMARY KEY (id);


--
-- Name: mail_alias_domain mail_alias_domain_bounce_email_uniques; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_alias_domain
    ADD CONSTRAINT mail_alias_domain_bounce_email_uniques UNIQUE (bounce_alias, name);


--
-- Name: CONSTRAINT mail_alias_domain_bounce_email_uniques ON mail_alias_domain; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_alias_domain_bounce_email_uniques ON public.mail_alias_domain IS 'UNIQUE(bounce_alias, name)';


--
-- Name: mail_alias_domain mail_alias_domain_catchall_email_uniques; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_alias_domain
    ADD CONSTRAINT mail_alias_domain_catchall_email_uniques UNIQUE (catchall_alias, name);


--
-- Name: CONSTRAINT mail_alias_domain_catchall_email_uniques ON mail_alias_domain; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_alias_domain_catchall_email_uniques ON public.mail_alias_domain IS 'UNIQUE(catchall_alias, name)';


--
-- Name: mail_alias_domain mail_alias_domain_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_alias_domain
    ADD CONSTRAINT mail_alias_domain_pkey PRIMARY KEY (id);


--
-- Name: mail_alias mail_alias_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_alias
    ADD CONSTRAINT mail_alias_pkey PRIMARY KEY (id);


--
-- Name: mail_blacklist mail_blacklist_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_blacklist
    ADD CONSTRAINT mail_blacklist_pkey PRIMARY KEY (id);


--
-- Name: mail_blacklist_remove mail_blacklist_remove_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_blacklist_remove
    ADD CONSTRAINT mail_blacklist_remove_pkey PRIMARY KEY (id);


--
-- Name: mail_blacklist mail_blacklist_unique_email; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_blacklist
    ADD CONSTRAINT mail_blacklist_unique_email UNIQUE (email);


--
-- Name: CONSTRAINT mail_blacklist_unique_email ON mail_blacklist; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_blacklist_unique_email ON public.mail_blacklist IS 'unique (email)';


--
-- Name: mail_canned_response mail_canned_response_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_canned_response
    ADD CONSTRAINT mail_canned_response_pkey PRIMARY KEY (id);


--
-- Name: mail_canned_response_res_groups_rel mail_canned_response_res_groups_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_canned_response_res_groups_rel
    ADD CONSTRAINT mail_canned_response_res_groups_rel_pkey PRIMARY KEY (mail_canned_response_id, res_groups_id);


--
-- Name: mail_compose_message_ir_attachments_rel mail_compose_message_ir_attachments_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_compose_message_ir_attachments_rel
    ADD CONSTRAINT mail_compose_message_ir_attachments_rel_pkey PRIMARY KEY (wizard_id, attachment_id);


--
-- Name: mail_compose_message mail_compose_message_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_compose_message
    ADD CONSTRAINT mail_compose_message_pkey PRIMARY KEY (id);


--
-- Name: mail_compose_message_res_partner_rel mail_compose_message_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_compose_message_res_partner_rel
    ADD CONSTRAINT mail_compose_message_res_partner_rel_pkey PRIMARY KEY (wizard_id, partner_id);


--
-- Name: mail_followers mail_followers_mail_followers_res_partner_res_model_id_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_followers
    ADD CONSTRAINT mail_followers_mail_followers_res_partner_res_model_id_uniq UNIQUE (res_model, res_id, partner_id);


--
-- Name: CONSTRAINT mail_followers_mail_followers_res_partner_res_model_id_uniq ON mail_followers; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_followers_mail_followers_res_partner_res_model_id_uniq ON public.mail_followers IS 'unique(res_model,res_id,partner_id)';


--
-- Name: mail_followers_mail_message_subtype_rel mail_followers_mail_message_subtype_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_followers_mail_message_subtype_rel
    ADD CONSTRAINT mail_followers_mail_message_subtype_rel_pkey PRIMARY KEY (mail_followers_id, mail_message_subtype_id);


--
-- Name: mail_followers mail_followers_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_followers
    ADD CONSTRAINT mail_followers_pkey PRIMARY KEY (id);


--
-- Name: mail_gateway_allowed mail_gateway_allowed_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_gateway_allowed
    ADD CONSTRAINT mail_gateway_allowed_pkey PRIMARY KEY (id);


--
-- Name: mail_guest mail_guest_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_guest
    ADD CONSTRAINT mail_guest_pkey PRIMARY KEY (id);


--
-- Name: mail_ice_server mail_ice_server_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_ice_server
    ADD CONSTRAINT mail_ice_server_pkey PRIMARY KEY (id);


--
-- Name: mail_link_preview mail_link_preview_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_link_preview
    ADD CONSTRAINT mail_link_preview_pkey PRIMARY KEY (id);


--
-- Name: mail_mail mail_mail_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_mail
    ADD CONSTRAINT mail_mail_pkey PRIMARY KEY (id);


--
-- Name: mail_mail_res_partner_rel mail_mail_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_mail_res_partner_rel
    ADD CONSTRAINT mail_mail_res_partner_rel_pkey PRIMARY KEY (mail_mail_id, res_partner_id);


--
-- Name: mail_message mail_message_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message
    ADD CONSTRAINT mail_message_pkey PRIMARY KEY (id);


--
-- Name: mail_message_reaction mail_message_reaction_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_reaction
    ADD CONSTRAINT mail_message_reaction_pkey PRIMARY KEY (id);


--
-- Name: mail_message_res_partner_rel mail_message_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_res_partner_rel
    ADD CONSTRAINT mail_message_res_partner_rel_pkey PRIMARY KEY (mail_message_id, res_partner_id);


--
-- Name: mail_message_res_partner_starred_rel mail_message_res_partner_starred_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_res_partner_starred_rel
    ADD CONSTRAINT mail_message_res_partner_starred_rel_pkey PRIMARY KEY (mail_message_id, res_partner_id);


--
-- Name: mail_message_schedule mail_message_schedule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_schedule
    ADD CONSTRAINT mail_message_schedule_pkey PRIMARY KEY (id);


--
-- Name: mail_message_subtype mail_message_subtype_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_subtype
    ADD CONSTRAINT mail_message_subtype_pkey PRIMARY KEY (id);


--
-- Name: mail_message_translation mail_message_translation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_message_translation
    ADD CONSTRAINT mail_message_translation_pkey PRIMARY KEY (id);


--
-- Name: mail_notification_mail_resend_message_rel mail_notification_mail_resend_message_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_notification_mail_resend_message_rel
    ADD CONSTRAINT mail_notification_mail_resend_message_rel_pkey PRIMARY KEY (mail_resend_message_id, mail_notification_id);


--
-- Name: mail_notification mail_notification_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_notification
    ADD CONSTRAINT mail_notification_pkey PRIMARY KEY (id);


--
-- Name: mail_push_device mail_push_device_endpoint_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_push_device
    ADD CONSTRAINT mail_push_device_endpoint_unique UNIQUE (endpoint);


--
-- Name: CONSTRAINT mail_push_device_endpoint_unique ON mail_push_device; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT mail_push_device_endpoint_unique ON public.mail_push_device IS 'unique(endpoint)';


--
-- Name: mail_push_device mail_push_device_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_push_device
    ADD CONSTRAINT mail_push_device_pkey PRIMARY KEY (id);


--
-- Name: mail_push mail_push_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_push
    ADD CONSTRAINT mail_push_pkey PRIMARY KEY (id);


--
-- Name: mail_resend_message mail_resend_message_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_resend_message
    ADD CONSTRAINT mail_resend_message_pkey PRIMARY KEY (id);


--
-- Name: mail_resend_partner mail_resend_partner_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_resend_partner
    ADD CONSTRAINT mail_resend_partner_pkey PRIMARY KEY (id);


--
-- Name: mail_scheduled_message mail_scheduled_message_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_scheduled_message
    ADD CONSTRAINT mail_scheduled_message_pkey PRIMARY KEY (id);


--
-- Name: mail_scheduled_message_res_partner_rel mail_scheduled_message_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_scheduled_message_res_partner_rel
    ADD CONSTRAINT mail_scheduled_message_res_partner_rel_pkey PRIMARY KEY (mail_scheduled_message_id, res_partner_id);


--
-- Name: mail_template_ir_actions_report_rel mail_template_ir_actions_report_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template_ir_actions_report_rel
    ADD CONSTRAINT mail_template_ir_actions_report_rel_pkey PRIMARY KEY (mail_template_id, ir_actions_report_id);


--
-- Name: mail_template_mail_template_reset_rel mail_template_mail_template_reset_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template_mail_template_reset_rel
    ADD CONSTRAINT mail_template_mail_template_reset_rel_pkey PRIMARY KEY (mail_template_reset_id, mail_template_id);


--
-- Name: mail_template mail_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template
    ADD CONSTRAINT mail_template_pkey PRIMARY KEY (id);


--
-- Name: mail_template_preview mail_template_preview_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template_preview
    ADD CONSTRAINT mail_template_preview_pkey PRIMARY KEY (id);


--
-- Name: mail_template_reset mail_template_reset_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_template_reset
    ADD CONSTRAINT mail_template_reset_pkey PRIMARY KEY (id);


--
-- Name: mail_tracking_value mail_tracking_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_tracking_value
    ADD CONSTRAINT mail_tracking_value_pkey PRIMARY KEY (id);


--
-- Name: mail_wizard_invite mail_wizard_invite_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_wizard_invite
    ADD CONSTRAINT mail_wizard_invite_pkey PRIMARY KEY (id);


--
-- Name: mail_wizard_invite_res_partner_rel mail_wizard_invite_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.mail_wizard_invite_res_partner_rel
    ADD CONSTRAINT mail_wizard_invite_res_partner_rel_pkey PRIMARY KEY (mail_wizard_invite_id, res_partner_id);


--
-- Name: maintenance_equipment_category maintenance_equipment_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.maintenance_equipment_category
    ADD CONSTRAINT maintenance_equipment_category_pkey PRIMARY KEY (id);


--
-- Name: maintenance_equipment maintenance_equipment_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.maintenance_equipment
    ADD CONSTRAINT maintenance_equipment_pkey PRIMARY KEY (id);


--
-- Name: maintenance_equipment maintenance_equipment_serial_no; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.maintenance_equipment
    ADD CONSTRAINT maintenance_equipment_serial_no UNIQUE (serial_no);


--
-- Name: CONSTRAINT maintenance_equipment_serial_no ON maintenance_equipment; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT maintenance_equipment_serial_no ON public.maintenance_equipment IS 'unique(serial_no)';


--
-- Name: maintenance_request maintenance_request_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.maintenance_request
    ADD CONSTRAINT maintenance_request_pkey PRIMARY KEY (id);


--
-- Name: maintenance_stage maintenance_stage_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.maintenance_stage
    ADD CONSTRAINT maintenance_stage_pkey PRIMARY KEY (id);


--
-- Name: maintenance_team maintenance_team_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.maintenance_team
    ADD CONSTRAINT maintenance_team_pkey PRIMARY KEY (id);


--
-- Name: maintenance_team_users_rel maintenance_team_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.maintenance_team_users_rel
    ADD CONSTRAINT maintenance_team_users_rel_pkey PRIMARY KEY (maintenance_team_id, res_users_id);


--
-- Name: meeting_category_rel meeting_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.meeting_category_rel
    ADD CONSTRAINT meeting_category_rel_pkey PRIMARY KEY (event_id, type_id);


--
-- Name: message_attachment_rel message_attachment_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.message_attachment_rel
    ADD CONSTRAINT message_attachment_rel_pkey PRIMARY KEY (message_id, attachment_id);


--
-- Name: module_country module_country_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.module_country
    ADD CONSTRAINT module_country_pkey PRIMARY KEY (module_id, country_id);


--
-- Name: onboarding_onboarding_onboarding_onboarding_step_rel onboarding_onboarding_onboarding_onboarding_step_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.onboarding_onboarding_onboarding_onboarding_step_rel
    ADD CONSTRAINT onboarding_onboarding_onboarding_onboarding_step_rel_pkey PRIMARY KEY (onboarding_onboarding_id, onboarding_onboarding_step_id);


--
-- Name: onboarding_onboarding onboarding_onboarding_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.onboarding_onboarding
    ADD CONSTRAINT onboarding_onboarding_pkey PRIMARY KEY (id);


--
-- Name: onboarding_onboarding onboarding_onboarding_route_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.onboarding_onboarding
    ADD CONSTRAINT onboarding_onboarding_route_name_uniq UNIQUE (route_name);


--
-- Name: CONSTRAINT onboarding_onboarding_route_name_uniq ON onboarding_onboarding; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT onboarding_onboarding_route_name_uniq ON public.onboarding_onboarding IS 'UNIQUE (route_name)';


--
-- Name: onboarding_onboarding_step onboarding_onboarding_step_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.onboarding_onboarding_step
    ADD CONSTRAINT onboarding_onboarding_step_pkey PRIMARY KEY (id);


--
-- Name: onboarding_progress_onboarding_progress_step_rel onboarding_progress_onboarding_progress_step_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.onboarding_progress_onboarding_progress_step_rel
    ADD CONSTRAINT onboarding_progress_onboarding_progress_step_rel_pkey PRIMARY KEY (onboarding_progress_id, onboarding_progress_step_id);


--
-- Name: onboarding_progress onboarding_progress_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.onboarding_progress
    ADD CONSTRAINT onboarding_progress_pkey PRIMARY KEY (id);


--
-- Name: onboarding_progress_step onboarding_progress_step_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.onboarding_progress_step
    ADD CONSTRAINT onboarding_progress_step_pkey PRIMARY KEY (id);


--
-- Name: payment_capture_wizard_payment_transaction_rel payment_capture_wizard_payment_transaction_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_capture_wizard_payment_transaction_rel
    ADD CONSTRAINT payment_capture_wizard_payment_transaction_rel_pkey PRIMARY KEY (payment_capture_wizard_id, payment_transaction_id);


--
-- Name: payment_capture_wizard payment_capture_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_capture_wizard
    ADD CONSTRAINT payment_capture_wizard_pkey PRIMARY KEY (id);


--
-- Name: payment_country_rel payment_country_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_country_rel
    ADD CONSTRAINT payment_country_rel_pkey PRIMARY KEY (payment_id, country_id);


--
-- Name: payment_currency_rel payment_currency_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_currency_rel
    ADD CONSTRAINT payment_currency_rel_pkey PRIMARY KEY (payment_provider_id, currency_id);


--
-- Name: payment_link_wizard payment_link_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_link_wizard
    ADD CONSTRAINT payment_link_wizard_pkey PRIMARY KEY (id);


--
-- Name: payment_method_payment_provider_rel payment_method_payment_provider_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_method_payment_provider_rel
    ADD CONSTRAINT payment_method_payment_provider_rel_pkey PRIMARY KEY (payment_method_id, payment_provider_id);


--
-- Name: payment_method payment_method_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_method
    ADD CONSTRAINT payment_method_pkey PRIMARY KEY (id);


--
-- Name: payment_method_res_country_rel payment_method_res_country_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_method_res_country_rel
    ADD CONSTRAINT payment_method_res_country_rel_pkey PRIMARY KEY (payment_method_id, res_country_id);


--
-- Name: payment_method_res_currency_rel payment_method_res_currency_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_method_res_currency_rel
    ADD CONSTRAINT payment_method_res_currency_rel_pkey PRIMARY KEY (payment_method_id, res_currency_id);


--
-- Name: payment_provider_onboarding_wizard payment_provider_onboarding_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_provider_onboarding_wizard
    ADD CONSTRAINT payment_provider_onboarding_wizard_pkey PRIMARY KEY (id);


--
-- Name: payment_provider payment_provider_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_provider
    ADD CONSTRAINT payment_provider_pkey PRIMARY KEY (id);


--
-- Name: payment_refund_wizard payment_refund_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_refund_wizard
    ADD CONSTRAINT payment_refund_wizard_pkey PRIMARY KEY (id);


--
-- Name: payment_token payment_token_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_token
    ADD CONSTRAINT payment_token_pkey PRIMARY KEY (id);


--
-- Name: payment_transaction payment_transaction_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_transaction
    ADD CONSTRAINT payment_transaction_pkey PRIMARY KEY (id);


--
-- Name: payment_transaction payment_transaction_reference_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.payment_transaction
    ADD CONSTRAINT payment_transaction_reference_uniq UNIQUE (reference);


--
-- Name: CONSTRAINT payment_transaction_reference_uniq ON payment_transaction; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT payment_transaction_reference_uniq ON public.payment_transaction IS 'unique(reference)';


--
-- Name: peppol_registration peppol_registration_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.peppol_registration
    ADD CONSTRAINT peppol_registration_pkey PRIMARY KEY (id);


--
-- Name: phone_blacklist phone_blacklist_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.phone_blacklist
    ADD CONSTRAINT phone_blacklist_pkey PRIMARY KEY (id);


--
-- Name: phone_blacklist_remove phone_blacklist_remove_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.phone_blacklist_remove
    ADD CONSTRAINT phone_blacklist_remove_pkey PRIMARY KEY (id);


--
-- Name: phone_blacklist phone_blacklist_unique_number; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.phone_blacklist
    ADD CONSTRAINT phone_blacklist_unique_number UNIQUE (number);


--
-- Name: CONSTRAINT phone_blacklist_unique_number ON phone_blacklist; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT phone_blacklist_unique_number ON public.phone_blacklist IS 'unique (number)';


--
-- Name: picking_label_type picking_label_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.picking_label_type
    ADD CONSTRAINT picking_label_type_pkey PRIMARY KEY (id);


--
-- Name: picking_label_type_stock_picking_rel picking_label_type_stock_picking_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.picking_label_type_stock_picking_rel
    ADD CONSTRAINT picking_label_type_stock_picking_rel_pkey PRIMARY KEY (picking_label_type_id, stock_picking_id);


--
-- Name: picking_type_favorite_user_rel picking_type_favorite_user_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.picking_type_favorite_user_rel
    ADD CONSTRAINT picking_type_favorite_user_rel_pkey PRIMARY KEY (picking_type_id, user_id);


--
-- Name: portal_share portal_share_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_share
    ADD CONSTRAINT portal_share_pkey PRIMARY KEY (id);


--
-- Name: portal_share_res_partner_rel portal_share_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_share_res_partner_rel
    ADD CONSTRAINT portal_share_res_partner_rel_pkey PRIMARY KEY (portal_share_id, res_partner_id);


--
-- Name: portal_wizard portal_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_wizard
    ADD CONSTRAINT portal_wizard_pkey PRIMARY KEY (id);


--
-- Name: portal_wizard_res_partner_rel portal_wizard_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_wizard_res_partner_rel
    ADD CONSTRAINT portal_wizard_res_partner_rel_pkey PRIMARY KEY (portal_wizard_id, res_partner_id);


--
-- Name: portal_wizard_user portal_wizard_user_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.portal_wizard_user
    ADD CONSTRAINT portal_wizard_user_pkey PRIMARY KEY (id);


--
-- Name: privacy_log privacy_log_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.privacy_log
    ADD CONSTRAINT privacy_log_pkey PRIMARY KEY (id);


--
-- Name: privacy_lookup_wizard_line privacy_lookup_wizard_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.privacy_lookup_wizard_line
    ADD CONSTRAINT privacy_lookup_wizard_line_pkey PRIMARY KEY (id);


--
-- Name: privacy_lookup_wizard privacy_lookup_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.privacy_lookup_wizard
    ADD CONSTRAINT privacy_lookup_wizard_pkey PRIMARY KEY (id);


--
-- Name: procurement_group procurement_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.procurement_group
    ADD CONSTRAINT procurement_group_pkey PRIMARY KEY (id);


--
-- Name: product_attr_exclusion_value_ids_rel product_attr_exclusion_value_ids_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attr_exclusion_value_ids_rel
    ADD CONSTRAINT product_attr_exclusion_value_ids_rel_pkey PRIMARY KEY (product_template_attribute_exclusion_id, product_template_attribute_value_id);


--
-- Name: product_attribute_custom_value product_attribute_custom_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_custom_value
    ADD CONSTRAINT product_attribute_custom_value_pkey PRIMARY KEY (id);


--
-- Name: product_attribute_custom_value product_attribute_custom_value_sol_custom_value_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_custom_value
    ADD CONSTRAINT product_attribute_custom_value_sol_custom_value_unique UNIQUE (custom_product_template_attribute_value_id, sale_order_line_id);


--
-- Name: CONSTRAINT product_attribute_custom_value_sol_custom_value_unique ON product_attribute_custom_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_attribute_custom_value_sol_custom_value_unique ON public.product_attribute_custom_value IS 'unique(custom_product_template_attribute_value_id, sale_order_line_id)';


--
-- Name: product_attribute product_attribute_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute
    ADD CONSTRAINT product_attribute_pkey PRIMARY KEY (id);


--
-- Name: product_attribute_product_template_rel product_attribute_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_product_template_rel
    ADD CONSTRAINT product_attribute_product_template_rel_pkey PRIMARY KEY (product_attribute_id, product_template_id);


--
-- Name: product_attribute_value product_attribute_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_value
    ADD CONSTRAINT product_attribute_value_pkey PRIMARY KEY (id);


--
-- Name: product_attribute_value_product_template_attribute_line_rel product_attribute_value_product_template_attribute_line_re_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_attribute_value_product_template_attribute_line_rel
    ADD CONSTRAINT product_attribute_value_product_template_attribute_line_re_pkey PRIMARY KEY (product_attribute_value_id, product_template_attribute_line_id);


--
-- Name: product_category product_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_category
    ADD CONSTRAINT product_category_pkey PRIMARY KEY (id);


--
-- Name: product_combo_item product_combo_item_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_combo_item
    ADD CONSTRAINT product_combo_item_pkey PRIMARY KEY (id);


--
-- Name: product_combo product_combo_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_combo
    ADD CONSTRAINT product_combo_pkey PRIMARY KEY (id);


--
-- Name: product_combo_product_template_rel product_combo_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_combo_product_template_rel
    ADD CONSTRAINT product_combo_product_template_rel_pkey PRIMARY KEY (product_template_id, product_combo_id);


--
-- Name: product_document product_document_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_document
    ADD CONSTRAINT product_document_pkey PRIMARY KEY (id);


--
-- Name: product_document_sale_pdf_form_field_rel product_document_sale_pdf_form_field_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_document_sale_pdf_form_field_rel
    ADD CONSTRAINT product_document_sale_pdf_form_field_rel_pkey PRIMARY KEY (product_document_id, sale_pdf_form_field_id);


--
-- Name: product_label_layout product_label_layout_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_label_layout
    ADD CONSTRAINT product_label_layout_pkey PRIMARY KEY (id);


--
-- Name: product_label_layout_product_product_rel product_label_layout_product_product_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_label_layout_product_product_rel
    ADD CONSTRAINT product_label_layout_product_product_rel_pkey PRIMARY KEY (product_label_layout_id, product_product_id);


--
-- Name: product_label_layout_product_template_rel product_label_layout_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_label_layout_product_template_rel
    ADD CONSTRAINT product_label_layout_product_template_rel_pkey PRIMARY KEY (product_label_layout_id, product_template_id);


--
-- Name: product_label_layout_stock_move_rel product_label_layout_stock_move_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_label_layout_stock_move_rel
    ADD CONSTRAINT product_label_layout_stock_move_rel_pkey PRIMARY KEY (product_label_layout_id, stock_move_id);


--
-- Name: product_optional_rel product_optional_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_optional_rel
    ADD CONSTRAINT product_optional_rel_pkey PRIMARY KEY (src_id, dest_id);


--
-- Name: product_packaging product_packaging_barcode_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_packaging
    ADD CONSTRAINT product_packaging_barcode_uniq UNIQUE (barcode);


--
-- Name: CONSTRAINT product_packaging_barcode_uniq ON product_packaging; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_packaging_barcode_uniq ON public.product_packaging IS 'unique(barcode)';


--
-- Name: product_packaging product_packaging_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_packaging
    ADD CONSTRAINT product_packaging_pkey PRIMARY KEY (id);


--
-- Name: product_pricelist_item product_pricelist_item_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_pricelist_item
    ADD CONSTRAINT product_pricelist_item_pkey PRIMARY KEY (id);


--
-- Name: product_pricelist product_pricelist_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_pricelist
    ADD CONSTRAINT product_pricelist_pkey PRIMARY KEY (id);


--
-- Name: product_product product_product_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_product
    ADD CONSTRAINT product_product_pkey PRIMARY KEY (id);


--
-- Name: product_product_stock_track_confirmation_rel product_product_stock_track_confirmation_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_product_stock_track_confirmation_rel
    ADD CONSTRAINT product_product_stock_track_confirmation_rel_pkey PRIMARY KEY (stock_track_confirmation_id, product_product_id);


--
-- Name: product_removal product_removal_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_removal
    ADD CONSTRAINT product_removal_pkey PRIMARY KEY (id);


--
-- Name: product_replenish product_replenish_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_replenish
    ADD CONSTRAINT product_replenish_pkey PRIMARY KEY (id);


--
-- Name: product_supplier_taxes_rel product_supplier_taxes_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_supplier_taxes_rel
    ADD CONSTRAINT product_supplier_taxes_rel_pkey PRIMARY KEY (prod_id, tax_id);


--
-- Name: product_supplierinfo product_supplierinfo_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_supplierinfo
    ADD CONSTRAINT product_supplierinfo_pkey PRIMARY KEY (id);


--
-- Name: product_supplierinfo_stock_replenishment_info_rel product_supplierinfo_stock_replenishment_info_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_supplierinfo_stock_replenishment_info_rel
    ADD CONSTRAINT product_supplierinfo_stock_replenishment_info_rel_pkey PRIMARY KEY (stock_replenishment_info_id, product_supplierinfo_id);


--
-- Name: product_tag product_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_tag
    ADD CONSTRAINT product_tag_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT product_tag_name_uniq ON product_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_tag_name_uniq ON public.product_tag IS 'unique (name)';


--
-- Name: product_tag product_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_tag
    ADD CONSTRAINT product_tag_pkey PRIMARY KEY (id);


--
-- Name: product_tag_product_product_rel product_tag_product_product_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_tag_product_product_rel
    ADD CONSTRAINT product_tag_product_product_rel_pkey PRIMARY KEY (product_product_id, product_tag_id);


--
-- Name: product_tag_product_template_rel product_tag_product_template_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_tag_product_template_rel
    ADD CONSTRAINT product_tag_product_template_rel_pkey PRIMARY KEY (product_template_id, product_tag_id);


--
-- Name: product_taxes_rel product_taxes_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_taxes_rel
    ADD CONSTRAINT product_taxes_rel_pkey PRIMARY KEY (prod_id, tax_id);


--
-- Name: product_template_attribute_exclusion product_template_attribute_exclusion_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_exclusion
    ADD CONSTRAINT product_template_attribute_exclusion_pkey PRIMARY KEY (id);


--
-- Name: product_template_attribute_line product_template_attribute_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_line
    ADD CONSTRAINT product_template_attribute_line_pkey PRIMARY KEY (id);


--
-- Name: product_template_attribute_value product_template_attribute_value_attribute_value_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_value
    ADD CONSTRAINT product_template_attribute_value_attribute_value_unique UNIQUE (attribute_line_id, product_attribute_value_id);


--
-- Name: CONSTRAINT product_template_attribute_value_attribute_value_unique ON product_template_attribute_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT product_template_attribute_value_attribute_value_unique ON public.product_template_attribute_value IS 'unique(attribute_line_id, product_attribute_value_id)';


--
-- Name: product_template_attribute_value product_template_attribute_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_value
    ADD CONSTRAINT product_template_attribute_value_pkey PRIMARY KEY (id);


--
-- Name: product_template_attribute_value_purchase_order_line_rel product_template_attribute_value_purchase_order_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_value_purchase_order_line_rel
    ADD CONSTRAINT product_template_attribute_value_purchase_order_line_rel_pkey PRIMARY KEY (purchase_order_line_id, product_template_attribute_value_id);


--
-- Name: product_template_attribute_value_sale_order_line_rel product_template_attribute_value_sale_order_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template_attribute_value_sale_order_line_rel
    ADD CONSTRAINT product_template_attribute_value_sale_order_line_rel_pkey PRIMARY KEY (sale_order_line_id, product_template_attribute_value_id);


--
-- Name: product_template product_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_template
    ADD CONSTRAINT product_template_pkey PRIMARY KEY (id);


--
-- Name: product_variant_combination product_variant_combination_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.product_variant_combination
    ADD CONSTRAINT product_variant_combination_pkey PRIMARY KEY (product_product_id, product_template_attribute_value_id);


--
-- Name: project_collaborator project_collaborator_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_collaborator
    ADD CONSTRAINT project_collaborator_pkey PRIMARY KEY (id);


--
-- Name: project_collaborator project_collaborator_unique_collaborator; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_collaborator
    ADD CONSTRAINT project_collaborator_unique_collaborator UNIQUE (project_id, partner_id);


--
-- Name: CONSTRAINT project_collaborator_unique_collaborator ON project_collaborator; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT project_collaborator_unique_collaborator ON public.project_collaborator IS 'UNIQUE(project_id, partner_id)';


--
-- Name: project_create_invoice project_create_invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_create_invoice
    ADD CONSTRAINT project_create_invoice_pkey PRIMARY KEY (id);


--
-- Name: project_favorite_user_rel project_favorite_user_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_favorite_user_rel
    ADD CONSTRAINT project_favorite_user_rel_pkey PRIMARY KEY (project_id, user_id);


--
-- Name: project_milestone project_milestone_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_milestone
    ADD CONSTRAINT project_milestone_pkey PRIMARY KEY (id);


--
-- Name: project_project project_project_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project
    ADD CONSTRAINT project_project_pkey PRIMARY KEY (id);


--
-- Name: project_project_project_tags_rel project_project_project_tags_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project_project_tags_rel
    ADD CONSTRAINT project_project_project_tags_rel_pkey PRIMARY KEY (project_project_id, project_tags_id);


--
-- Name: project_project_project_task_type_delete_wizard_rel project_project_project_task_type_delete_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project_project_task_type_delete_wizard_rel
    ADD CONSTRAINT project_project_project_task_type_delete_wizard_rel_pkey PRIMARY KEY (project_task_type_delete_wizard_id, project_project_id);


--
-- Name: project_project_stage_delete_wizard project_project_stage_delete_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project_stage_delete_wizard
    ADD CONSTRAINT project_project_stage_delete_wizard_pkey PRIMARY KEY (id);


--
-- Name: project_project_stage project_project_stage_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project_stage
    ADD CONSTRAINT project_project_stage_pkey PRIMARY KEY (id);


--
-- Name: project_project_stage_project_project_stage_delete_wizard_rel project_project_stage_project_project_stage_delete_wizard__pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_project_stage_project_project_stage_delete_wizard_rel
    ADD CONSTRAINT project_project_stage_project_project_stage_delete_wizard__pkey PRIMARY KEY (project_project_stage_delete_wizard_id, project_project_stage_id);


--
-- Name: project_sale_line_employee_map project_sale_line_employee_map_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_sale_line_employee_map
    ADD CONSTRAINT project_sale_line_employee_map_pkey PRIMARY KEY (id);


--
-- Name: project_sale_line_employee_map project_sale_line_employee_map_uniqueness_employee; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_sale_line_employee_map
    ADD CONSTRAINT project_sale_line_employee_map_uniqueness_employee UNIQUE (project_id, employee_id);


--
-- Name: CONSTRAINT project_sale_line_employee_map_uniqueness_employee ON project_sale_line_employee_map; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT project_sale_line_employee_map_uniqueness_employee ON public.project_sale_line_employee_map IS 'UNIQUE(project_id,employee_id)';


--
-- Name: project_share_collaborator_wizard project_share_collaborator_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_share_collaborator_wizard
    ADD CONSTRAINT project_share_collaborator_wizard_pkey PRIMARY KEY (id);


--
-- Name: project_share_wizard project_share_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_share_wizard
    ADD CONSTRAINT project_share_wizard_pkey PRIMARY KEY (id);


--
-- Name: project_share_wizard_res_partner_rel project_share_wizard_res_partner_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_share_wizard_res_partner_rel
    ADD CONSTRAINT project_share_wizard_res_partner_rel_pkey PRIMARY KEY (project_share_wizard_id, res_partner_id);


--
-- Name: project_tags project_tags_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_tags
    ADD CONSTRAINT project_tags_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT project_tags_name_uniq ON project_tags; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT project_tags_name_uniq ON public.project_tags IS 'unique (name)';


--
-- Name: project_tags project_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_tags
    ADD CONSTRAINT project_tags_pkey PRIMARY KEY (id);


--
-- Name: project_tags_project_task_rel project_tags_project_task_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_tags_project_task_rel
    ADD CONSTRAINT project_tags_project_task_rel_pkey PRIMARY KEY (project_task_id, project_tags_id);


--
-- Name: project_task project_task_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task
    ADD CONSTRAINT project_task_pkey PRIMARY KEY (id);


--
-- Name: project_task_recurrence project_task_recurrence_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_recurrence
    ADD CONSTRAINT project_task_recurrence_pkey PRIMARY KEY (id);


--
-- Name: project_task_type_delete_wizard project_task_type_delete_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_type_delete_wizard
    ADD CONSTRAINT project_task_type_delete_wizard_pkey PRIMARY KEY (id);


--
-- Name: project_task_type project_task_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_type
    ADD CONSTRAINT project_task_type_pkey PRIMARY KEY (id);


--
-- Name: project_task_type_project_task_type_delete_wizard_rel project_task_type_project_task_type_delete_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_type_project_task_type_delete_wizard_rel
    ADD CONSTRAINT project_task_type_project_task_type_delete_wizard_rel_pkey PRIMARY KEY (project_task_type_delete_wizard_id, project_task_type_id);


--
-- Name: project_task_type_rel project_task_type_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_type_rel
    ADD CONSTRAINT project_task_type_rel_pkey PRIMARY KEY (project_id, type_id);


--
-- Name: project_task_user_rel project_task_user_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_user_rel
    ADD CONSTRAINT project_task_user_rel_pkey PRIMARY KEY (id);


--
-- Name: project_task_user_rel project_task_user_rel_project_personal_stage_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_task_user_rel
    ADD CONSTRAINT project_task_user_rel_project_personal_stage_unique UNIQUE (task_id, user_id);


--
-- Name: CONSTRAINT project_task_user_rel_project_personal_stage_unique ON project_task_user_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT project_task_user_rel_project_personal_stage_unique ON public.project_task_user_rel IS 'UNIQUE (task_id, user_id)';


--
-- Name: project_update project_update_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.project_update
    ADD CONSTRAINT project_update_pkey PRIMARY KEY (id);


--
-- Name: purchase_order_line purchase_order_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.purchase_order_line
    ADD CONSTRAINT purchase_order_line_pkey PRIMARY KEY (id);


--
-- Name: purchase_order purchase_order_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.purchase_order
    ADD CONSTRAINT purchase_order_pkey PRIMARY KEY (id);


--
-- Name: purchase_order_stock_picking_rel purchase_order_stock_picking_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.purchase_order_stock_picking_rel
    ADD CONSTRAINT purchase_order_stock_picking_rel_pkey PRIMARY KEY (purchase_order_id, stock_picking_id);


--
-- Name: quotation_document quotation_document_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.quotation_document
    ADD CONSTRAINT quotation_document_pkey PRIMARY KEY (id);


--
-- Name: quotation_document_sale_order_rel quotation_document_sale_order_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.quotation_document_sale_order_rel
    ADD CONSTRAINT quotation_document_sale_order_rel_pkey PRIMARY KEY (sale_order_id, quotation_document_id);


--
-- Name: quotation_document_sale_pdf_form_field_rel quotation_document_sale_pdf_form_field_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.quotation_document_sale_pdf_form_field_rel
    ADD CONSTRAINT quotation_document_sale_pdf_form_field_rel_pkey PRIMARY KEY (quotation_document_id, sale_pdf_form_field_id);


--
-- Name: rating_rating rating_rating_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rating_rating
    ADD CONSTRAINT rating_rating_pkey PRIMARY KEY (id);


--
-- Name: rel_badge_auth_users rel_badge_auth_users_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rel_badge_auth_users
    ADD CONSTRAINT rel_badge_auth_users_pkey PRIMARY KEY (gamification_badge_id, res_users_id);


--
-- Name: rel_modules_langexport rel_modules_langexport_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rel_modules_langexport
    ADD CONSTRAINT rel_modules_langexport_pkey PRIMARY KEY (wiz_id, module_id);


--
-- Name: rel_server_actions rel_server_actions_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rel_server_actions
    ADD CONSTRAINT rel_server_actions_pkey PRIMARY KEY (server_id, action_id);


--
-- Name: repair_order repair_order_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.repair_order
    ADD CONSTRAINT repair_order_pkey PRIMARY KEY (id);


--
-- Name: repair_order_repair_tags_rel repair_order_repair_tags_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.repair_order_repair_tags_rel
    ADD CONSTRAINT repair_order_repair_tags_rel_pkey PRIMARY KEY (repair_order_id, repair_tags_id);


--
-- Name: repair_purchase_rel repair_purchase_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.repair_purchase_rel
    ADD CONSTRAINT repair_purchase_rel_pkey PRIMARY KEY (repair_id, purchase_id);


--
-- Name: repair_tags repair_tags_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.repair_tags
    ADD CONSTRAINT repair_tags_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT repair_tags_name_uniq ON repair_tags; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT repair_tags_name_uniq ON public.repair_tags IS 'unique (name)';


--
-- Name: repair_tags repair_tags_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.repair_tags
    ADD CONSTRAINT repair_tags_pkey PRIMARY KEY (id);


--
-- Name: report_layout report_layout_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.report_layout
    ADD CONSTRAINT report_layout_pkey PRIMARY KEY (id);


--
-- Name: report_paperformat report_paperformat_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.report_paperformat
    ADD CONSTRAINT report_paperformat_pkey PRIMARY KEY (id);


--
-- Name: res_bank res_bank_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_bank
    ADD CONSTRAINT res_bank_pkey PRIMARY KEY (id);


--
-- Name: res_company res_company_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_company
    ADD CONSTRAINT res_company_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT res_company_name_uniq ON res_company; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_company_name_uniq ON public.res_company IS 'unique (name)';


--
-- Name: res_company res_company_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_company
    ADD CONSTRAINT res_company_pkey PRIMARY KEY (id);


--
-- Name: res_company_users_rel res_company_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_company_users_rel
    ADD CONSTRAINT res_company_users_rel_pkey PRIMARY KEY (cid, user_id);


--
-- Name: res_config res_config_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_config
    ADD CONSTRAINT res_config_pkey PRIMARY KEY (id);


--
-- Name: res_config_settings res_config_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_config_settings
    ADD CONSTRAINT res_config_settings_pkey PRIMARY KEY (id);


--
-- Name: res_country res_country_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country
    ADD CONSTRAINT res_country_code_uniq UNIQUE (code);


--
-- Name: CONSTRAINT res_country_code_uniq ON res_country; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_country_code_uniq ON public.res_country IS 'unique (code)';


--
-- Name: res_country_group res_country_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_group
    ADD CONSTRAINT res_country_group_pkey PRIMARY KEY (id);


--
-- Name: res_country_group_pricelist_rel res_country_group_pricelist_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_group_pricelist_rel
    ADD CONSTRAINT res_country_group_pricelist_rel_pkey PRIMARY KEY (pricelist_id, res_country_group_id);


--
-- Name: res_country res_country_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country
    ADD CONSTRAINT res_country_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT res_country_name_uniq ON res_country; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_country_name_uniq ON public.res_country IS 'unique (name)';


--
-- Name: res_country res_country_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country
    ADD CONSTRAINT res_country_pkey PRIMARY KEY (id);


--
-- Name: res_country_res_country_group_rel res_country_res_country_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_res_country_group_rel
    ADD CONSTRAINT res_country_res_country_group_rel_pkey PRIMARY KEY (res_country_id, res_country_group_id);


--
-- Name: res_country_state res_country_state_name_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_state
    ADD CONSTRAINT res_country_state_name_code_uniq UNIQUE (country_id, code);


--
-- Name: CONSTRAINT res_country_state_name_code_uniq ON res_country_state; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_country_state_name_code_uniq ON public.res_country_state IS 'unique(country_id, code)';


--
-- Name: res_country_state res_country_state_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_country_state
    ADD CONSTRAINT res_country_state_pkey PRIMARY KEY (id);


--
-- Name: res_currency res_currency_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_currency
    ADD CONSTRAINT res_currency_pkey PRIMARY KEY (id);


--
-- Name: res_currency_rate res_currency_rate_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_currency_rate
    ADD CONSTRAINT res_currency_rate_pkey PRIMARY KEY (id);


--
-- Name: res_currency_rate res_currency_rate_unique_name_per_day; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_currency_rate
    ADD CONSTRAINT res_currency_rate_unique_name_per_day UNIQUE (name, currency_id, company_id);


--
-- Name: CONSTRAINT res_currency_rate_unique_name_per_day ON res_currency_rate; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_currency_rate_unique_name_per_day ON public.res_currency_rate IS 'unique (name,currency_id,company_id)';


--
-- Name: res_currency res_currency_unique_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_currency
    ADD CONSTRAINT res_currency_unique_name UNIQUE (name);


--
-- Name: CONSTRAINT res_currency_unique_name ON res_currency; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_currency_unique_name ON public.res_currency IS 'unique (name)';


--
-- Name: res_device_log res_device_log_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_device_log
    ADD CONSTRAINT res_device_log_pkey PRIMARY KEY (id);


--
-- Name: res_groups_implied_rel res_groups_implied_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_implied_rel
    ADD CONSTRAINT res_groups_implied_rel_pkey PRIMARY KEY (gid, hid);


--
-- Name: res_groups res_groups_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups
    ADD CONSTRAINT res_groups_name_uniq UNIQUE (category_id, name);


--
-- Name: CONSTRAINT res_groups_name_uniq ON res_groups; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_groups_name_uniq ON public.res_groups IS 'unique (category_id, name)';


--
-- Name: res_groups res_groups_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups
    ADD CONSTRAINT res_groups_pkey PRIMARY KEY (id);


--
-- Name: res_groups_report_rel res_groups_report_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_report_rel
    ADD CONSTRAINT res_groups_report_rel_pkey PRIMARY KEY (uid, gid);


--
-- Name: res_groups_spreadsheet_dashboard_rel res_groups_spreadsheet_dashboard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_spreadsheet_dashboard_rel
    ADD CONSTRAINT res_groups_spreadsheet_dashboard_rel_pkey PRIMARY KEY (spreadsheet_dashboard_id, res_groups_id);


--
-- Name: res_groups_users_rel res_groups_users_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_users_rel
    ADD CONSTRAINT res_groups_users_rel_pkey PRIMARY KEY (gid, uid);


--
-- Name: res_groups_website_menu_rel res_groups_website_menu_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_groups_website_menu_rel
    ADD CONSTRAINT res_groups_website_menu_rel_pkey PRIMARY KEY (website_menu_id, res_groups_id);


--
-- Name: res_lang res_lang_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang
    ADD CONSTRAINT res_lang_code_uniq UNIQUE (code);


--
-- Name: CONSTRAINT res_lang_code_uniq ON res_lang; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_lang_code_uniq ON public.res_lang IS 'unique(code)';


--
-- Name: res_lang_install_rel res_lang_install_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang_install_rel
    ADD CONSTRAINT res_lang_install_rel_pkey PRIMARY KEY (language_wizard_id, lang_id);


--
-- Name: res_lang res_lang_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang
    ADD CONSTRAINT res_lang_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT res_lang_name_uniq ON res_lang; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_lang_name_uniq ON public.res_lang IS 'unique(name)';


--
-- Name: res_lang res_lang_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang
    ADD CONSTRAINT res_lang_pkey PRIMARY KEY (id);


--
-- Name: res_lang res_lang_url_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_lang
    ADD CONSTRAINT res_lang_url_code_uniq UNIQUE (url_code);


--
-- Name: CONSTRAINT res_lang_url_code_uniq ON res_lang; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_lang_url_code_uniq ON public.res_lang IS 'unique(url_code)';


--
-- Name: res_partner_autocomplete_sync res_partner_autocomplete_sync_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_autocomplete_sync
    ADD CONSTRAINT res_partner_autocomplete_sync_pkey PRIMARY KEY (id);


--
-- Name: res_partner_bank res_partner_bank_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_bank
    ADD CONSTRAINT res_partner_bank_pkey PRIMARY KEY (id);


--
-- Name: res_partner_bank res_partner_bank_unique_number; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_bank
    ADD CONSTRAINT res_partner_bank_unique_number UNIQUE (sanitized_acc_number, partner_id);


--
-- Name: CONSTRAINT res_partner_bank_unique_number ON res_partner_bank; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_partner_bank_unique_number ON public.res_partner_bank IS 'unique(sanitized_acc_number, partner_id)';


--
-- Name: res_partner_category res_partner_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_category
    ADD CONSTRAINT res_partner_category_pkey PRIMARY KEY (id);


--
-- Name: res_partner_industry res_partner_industry_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_industry
    ADD CONSTRAINT res_partner_industry_pkey PRIMARY KEY (id);


--
-- Name: res_partner res_partner_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner
    ADD CONSTRAINT res_partner_pkey PRIMARY KEY (id);


--
-- Name: res_partner_res_partner_category_rel res_partner_res_partner_category_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_res_partner_category_rel
    ADD CONSTRAINT res_partner_res_partner_category_rel_pkey PRIMARY KEY (category_id, partner_id);


--
-- Name: res_partner_title res_partner_title_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_partner_title
    ADD CONSTRAINT res_partner_title_pkey PRIMARY KEY (id);


--
-- Name: res_users_apikeys_description res_users_apikeys_description_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_apikeys_description
    ADD CONSTRAINT res_users_apikeys_description_pkey PRIMARY KEY (id);


--
-- Name: res_users_apikeys res_users_apikeys_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_apikeys
    ADD CONSTRAINT res_users_apikeys_pkey PRIMARY KEY (id);


--
-- Name: res_users_deletion res_users_deletion_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_deletion
    ADD CONSTRAINT res_users_deletion_pkey PRIMARY KEY (id);


--
-- Name: res_users_identitycheck res_users_identitycheck_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_identitycheck
    ADD CONSTRAINT res_users_identitycheck_pkey PRIMARY KEY (id);


--
-- Name: res_users_log res_users_log_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_log
    ADD CONSTRAINT res_users_log_pkey PRIMARY KEY (id);


--
-- Name: res_users res_users_login_key; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users
    ADD CONSTRAINT res_users_login_key UNIQUE (login, website_id);


--
-- Name: CONSTRAINT res_users_login_key ON res_users; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_users_login_key ON public.res_users IS 'unique (login, website_id)';


--
-- Name: res_users res_users_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users
    ADD CONSTRAINT res_users_pkey PRIMARY KEY (id);


--
-- Name: res_users_settings res_users_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_settings
    ADD CONSTRAINT res_users_settings_pkey PRIMARY KEY (id);


--
-- Name: res_users_settings res_users_settings_unique_user_id; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_settings
    ADD CONSTRAINT res_users_settings_unique_user_id UNIQUE (user_id);


--
-- Name: CONSTRAINT res_users_settings_unique_user_id ON res_users_settings; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT res_users_settings_unique_user_id ON public.res_users_settings IS 'UNIQUE(user_id)';


--
-- Name: res_users_settings_volumes res_users_settings_volumes_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_settings_volumes
    ADD CONSTRAINT res_users_settings_volumes_pkey PRIMARY KEY (id);


--
-- Name: res_users_web_tour_tour_rel res_users_web_tour_tour_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.res_users_web_tour_tour_rel
    ADD CONSTRAINT res_users_web_tour_tour_rel_pkey PRIMARY KEY (web_tour_tour_id, res_users_id);


--
-- Name: reset_view_arch_wizard reset_view_arch_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.reset_view_arch_wizard
    ADD CONSTRAINT reset_view_arch_wizard_pkey PRIMARY KEY (id);


--
-- Name: resource_calendar_attendance resource_calendar_attendance_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.resource_calendar_attendance
    ADD CONSTRAINT resource_calendar_attendance_pkey PRIMARY KEY (id);


--
-- Name: resource_calendar_leaves resource_calendar_leaves_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.resource_calendar_leaves
    ADD CONSTRAINT resource_calendar_leaves_pkey PRIMARY KEY (id);


--
-- Name: resource_calendar resource_calendar_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.resource_calendar
    ADD CONSTRAINT resource_calendar_pkey PRIMARY KEY (id);


--
-- Name: resource_resource resource_resource_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.resource_resource
    ADD CONSTRAINT resource_resource_pkey PRIMARY KEY (id);


--
-- Name: rule_group_rel rule_group_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.rule_group_rel
    ADD CONSTRAINT rule_group_rel_pkey PRIMARY KEY (rule_group_id, group_id);


--
-- Name: sale_advance_payment_inv sale_advance_payment_inv_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_advance_payment_inv
    ADD CONSTRAINT sale_advance_payment_inv_pkey PRIMARY KEY (id);


--
-- Name: sale_advance_payment_inv_sale_order_rel sale_advance_payment_inv_sale_order_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_advance_payment_inv_sale_order_rel
    ADD CONSTRAINT sale_advance_payment_inv_sale_order_rel_pkey PRIMARY KEY (sale_advance_payment_inv_id, sale_order_id);


--
-- Name: sale_mass_cancel_orders sale_mass_cancel_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_mass_cancel_orders
    ADD CONSTRAINT sale_mass_cancel_orders_pkey PRIMARY KEY (id);


--
-- Name: sale_order_cancel sale_order_cancel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_cancel
    ADD CONSTRAINT sale_order_cancel_pkey PRIMARY KEY (id);


--
-- Name: sale_order_discount sale_order_discount_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_discount
    ADD CONSTRAINT sale_order_discount_pkey PRIMARY KEY (id);


--
-- Name: sale_order_line_invoice_rel sale_order_line_invoice_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_line_invoice_rel
    ADD CONSTRAINT sale_order_line_invoice_rel_pkey PRIMARY KEY (invoice_line_id, order_line_id);


--
-- Name: sale_order_line sale_order_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_line
    ADD CONSTRAINT sale_order_line_pkey PRIMARY KEY (id);


--
-- Name: sale_order_line_product_document_rel sale_order_line_product_document_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_line_product_document_rel
    ADD CONSTRAINT sale_order_line_product_document_rel_pkey PRIMARY KEY (sale_order_line_id, product_document_id);


--
-- Name: sale_order_mass_cancel_wizard_rel sale_order_mass_cancel_wizard_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_mass_cancel_wizard_rel
    ADD CONSTRAINT sale_order_mass_cancel_wizard_rel_pkey PRIMARY KEY (sale_mass_cancel_orders_id, sale_order_id);


--
-- Name: sale_order_option sale_order_option_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_option
    ADD CONSTRAINT sale_order_option_pkey PRIMARY KEY (id);


--
-- Name: sale_order sale_order_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order
    ADD CONSTRAINT sale_order_pkey PRIMARY KEY (id);


--
-- Name: sale_order_tag_rel sale_order_tag_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_tag_rel
    ADD CONSTRAINT sale_order_tag_rel_pkey PRIMARY KEY (order_id, tag_id);


--
-- Name: sale_order_template_line sale_order_template_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_template_line
    ADD CONSTRAINT sale_order_template_line_pkey PRIMARY KEY (id);


--
-- Name: sale_order_template_option sale_order_template_option_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_template_option
    ADD CONSTRAINT sale_order_template_option_pkey PRIMARY KEY (id);


--
-- Name: sale_order_template sale_order_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_template
    ADD CONSTRAINT sale_order_template_pkey PRIMARY KEY (id);


--
-- Name: sale_order_transaction_rel sale_order_transaction_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_order_transaction_rel
    ADD CONSTRAINT sale_order_transaction_rel_pkey PRIMARY KEY (transaction_id, sale_order_id);


--
-- Name: sale_payment_provider_onboarding_wizard sale_payment_provider_onboarding_wizard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_payment_provider_onboarding_wizard
    ADD CONSTRAINT sale_payment_provider_onboarding_wizard_pkey PRIMARY KEY (id);


--
-- Name: sale_pdf_form_field sale_pdf_form_field_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_pdf_form_field
    ADD CONSTRAINT sale_pdf_form_field_pkey PRIMARY KEY (id);


--
-- Name: sale_pdf_form_field sale_pdf_form_field_unique_name_per_doc_type; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sale_pdf_form_field
    ADD CONSTRAINT sale_pdf_form_field_unique_name_per_doc_type UNIQUE (name, document_type);


--
-- Name: CONSTRAINT sale_pdf_form_field_unique_name_per_doc_type ON sale_pdf_form_field; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT sale_pdf_form_field_unique_name_per_doc_type ON public.sale_pdf_form_field IS 'UNIQUE(name, document_type)';


--
-- Name: scheduled_message_attachment_rel scheduled_message_attachment_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.scheduled_message_attachment_rel
    ADD CONSTRAINT scheduled_message_attachment_rel_pkey PRIMARY KEY (scheduled_message_id, attachment_id);


--
-- Name: sms_account_code sms_account_code_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_account_code
    ADD CONSTRAINT sms_account_code_pkey PRIMARY KEY (id);


--
-- Name: sms_account_phone sms_account_phone_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_account_phone
    ADD CONSTRAINT sms_account_phone_pkey PRIMARY KEY (id);


--
-- Name: sms_account_sender sms_account_sender_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_account_sender
    ADD CONSTRAINT sms_account_sender_pkey PRIMARY KEY (id);


--
-- Name: sms_composer sms_composer_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_composer
    ADD CONSTRAINT sms_composer_pkey PRIMARY KEY (id);


--
-- Name: sms_resend sms_resend_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_resend
    ADD CONSTRAINT sms_resend_pkey PRIMARY KEY (id);


--
-- Name: sms_resend_recipient sms_resend_recipient_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_resend_recipient
    ADD CONSTRAINT sms_resend_recipient_pkey PRIMARY KEY (id);


--
-- Name: sms_sms sms_sms_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_sms
    ADD CONSTRAINT sms_sms_pkey PRIMARY KEY (id);


--
-- Name: sms_sms sms_sms_uuid_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_sms
    ADD CONSTRAINT sms_sms_uuid_unique UNIQUE (uuid);


--
-- Name: CONSTRAINT sms_sms_uuid_unique ON sms_sms; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT sms_sms_uuid_unique ON public.sms_sms IS 'unique(uuid)';


--
-- Name: sms_template sms_template_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_template
    ADD CONSTRAINT sms_template_pkey PRIMARY KEY (id);


--
-- Name: sms_template_preview sms_template_preview_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_template_preview
    ADD CONSTRAINT sms_template_preview_pkey PRIMARY KEY (id);


--
-- Name: sms_template_reset sms_template_reset_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_template_reset
    ADD CONSTRAINT sms_template_reset_pkey PRIMARY KEY (id);


--
-- Name: sms_template_sms_template_reset_rel sms_template_sms_template_reset_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_template_sms_template_reset_rel
    ADD CONSTRAINT sms_template_sms_template_reset_rel_pkey PRIMARY KEY (sms_template_reset_id, sms_template_id);


--
-- Name: sms_tracker sms_tracker_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_tracker
    ADD CONSTRAINT sms_tracker_pkey PRIMARY KEY (id);


--
-- Name: sms_tracker sms_tracker_sms_uuid_unique; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.sms_tracker
    ADD CONSTRAINT sms_tracker_sms_uuid_unique UNIQUE (sms_uuid);


--
-- Name: CONSTRAINT sms_tracker_sms_uuid_unique ON sms_tracker; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT sms_tracker_sms_uuid_unique ON public.sms_tracker IS 'unique(sms_uuid)';


--
-- Name: snailmail_letter_format_error snailmail_letter_format_error_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.snailmail_letter_format_error
    ADD CONSTRAINT snailmail_letter_format_error_pkey PRIMARY KEY (id);


--
-- Name: snailmail_letter_missing_required_fields snailmail_letter_missing_required_fields_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.snailmail_letter_missing_required_fields
    ADD CONSTRAINT snailmail_letter_missing_required_fields_pkey PRIMARY KEY (id);


--
-- Name: snailmail_letter snailmail_letter_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.snailmail_letter
    ADD CONSTRAINT snailmail_letter_pkey PRIMARY KEY (id);


--
-- Name: spreadsheet_dashboard_group spreadsheet_dashboard_group_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.spreadsheet_dashboard_group
    ADD CONSTRAINT spreadsheet_dashboard_group_pkey PRIMARY KEY (id);


--
-- Name: spreadsheet_dashboard spreadsheet_dashboard_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.spreadsheet_dashboard
    ADD CONSTRAINT spreadsheet_dashboard_pkey PRIMARY KEY (id);


--
-- Name: spreadsheet_dashboard_share spreadsheet_dashboard_share_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.spreadsheet_dashboard_share
    ADD CONSTRAINT spreadsheet_dashboard_share_pkey PRIMARY KEY (id);


--
-- Name: stock_backorder_confirmation_line stock_backorder_confirmation_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_backorder_confirmation_line
    ADD CONSTRAINT stock_backorder_confirmation_line_pkey PRIMARY KEY (id);


--
-- Name: stock_backorder_confirmation stock_backorder_confirmation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_backorder_confirmation
    ADD CONSTRAINT stock_backorder_confirmation_pkey PRIMARY KEY (id);


--
-- Name: stock_change_product_qty stock_change_product_qty_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_change_product_qty
    ADD CONSTRAINT stock_change_product_qty_pkey PRIMARY KEY (id);


--
-- Name: stock_conflict_quant_rel stock_conflict_quant_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_conflict_quant_rel
    ADD CONSTRAINT stock_conflict_quant_rel_pkey PRIMARY KEY (stock_inventory_conflict_id, stock_quant_id);


--
-- Name: stock_inventory_adjustment_name stock_inventory_adjustment_name_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_adjustment_name
    ADD CONSTRAINT stock_inventory_adjustment_name_pkey PRIMARY KEY (id);


--
-- Name: stock_inventory_adjustment_name_stock_quant_rel stock_inventory_adjustment_name_stock_quant_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_adjustment_name_stock_quant_rel
    ADD CONSTRAINT stock_inventory_adjustment_name_stock_quant_rel_pkey PRIMARY KEY (stock_inventory_adjustment_name_id, stock_quant_id);


--
-- Name: stock_inventory_conflict stock_inventory_conflict_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_conflict
    ADD CONSTRAINT stock_inventory_conflict_pkey PRIMARY KEY (id);


--
-- Name: stock_inventory_conflict_stock_quant_rel stock_inventory_conflict_stock_quant_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_conflict_stock_quant_rel
    ADD CONSTRAINT stock_inventory_conflict_stock_quant_rel_pkey PRIMARY KEY (stock_inventory_conflict_id, stock_quant_id);


--
-- Name: stock_inventory_warning stock_inventory_warning_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_warning
    ADD CONSTRAINT stock_inventory_warning_pkey PRIMARY KEY (id);


--
-- Name: stock_inventory_warning_stock_quant_rel stock_inventory_warning_stock_quant_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_inventory_warning_stock_quant_rel
    ADD CONSTRAINT stock_inventory_warning_stock_quant_rel_pkey PRIMARY KEY (stock_inventory_warning_id, stock_quant_id);


--
-- Name: stock_location stock_location_barcode_company_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_location
    ADD CONSTRAINT stock_location_barcode_company_uniq UNIQUE (barcode, company_id);


--
-- Name: CONSTRAINT stock_location_barcode_company_uniq ON stock_location; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_location_barcode_company_uniq ON public.stock_location IS 'unique (barcode,company_id)';


--
-- Name: stock_location stock_location_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_location
    ADD CONSTRAINT stock_location_pkey PRIMARY KEY (id);


--
-- Name: stock_lot stock_lot_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_lot
    ADD CONSTRAINT stock_lot_pkey PRIMARY KEY (id);


--
-- Name: stock_move_created_purchase_line_rel stock_move_created_purchase_line_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move_created_purchase_line_rel
    ADD CONSTRAINT stock_move_created_purchase_line_rel_pkey PRIMARY KEY (created_purchase_line_id, move_id);


--
-- Name: stock_move_line_consume_rel stock_move_line_consume_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move_line_consume_rel
    ADD CONSTRAINT stock_move_line_consume_rel_pkey PRIMARY KEY (consume_line_id, produce_line_id);


--
-- Name: stock_move_line stock_move_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move_line
    ADD CONSTRAINT stock_move_line_pkey PRIMARY KEY (id);


--
-- Name: stock_move_move_rel stock_move_move_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move_move_rel
    ADD CONSTRAINT stock_move_move_rel_pkey PRIMARY KEY (move_orig_id, move_dest_id);


--
-- Name: stock_move stock_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_move
    ADD CONSTRAINT stock_move_pkey PRIMARY KEY (id);


--
-- Name: stock_orderpoint_snooze stock_orderpoint_snooze_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_orderpoint_snooze
    ADD CONSTRAINT stock_orderpoint_snooze_pkey PRIMARY KEY (id);


--
-- Name: stock_orderpoint_snooze_stock_warehouse_orderpoint_rel stock_orderpoint_snooze_stock_warehouse_orderpoint_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_orderpoint_snooze_stock_warehouse_orderpoint_rel
    ADD CONSTRAINT stock_orderpoint_snooze_stock_warehouse_orderpoint_rel_pkey PRIMARY KEY (stock_orderpoint_snooze_id, stock_warehouse_orderpoint_id);


--
-- Name: stock_package_destination stock_package_destination_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_destination
    ADD CONSTRAINT stock_package_destination_pkey PRIMARY KEY (id);


--
-- Name: stock_package_level stock_package_level_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_level
    ADD CONSTRAINT stock_package_level_pkey PRIMARY KEY (id);


--
-- Name: stock_package_type stock_package_type_barcode_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_type
    ADD CONSTRAINT stock_package_type_barcode_uniq UNIQUE (barcode);


--
-- Name: CONSTRAINT stock_package_type_barcode_uniq ON stock_package_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_package_type_barcode_uniq ON public.stock_package_type IS 'unique(barcode)';


--
-- Name: stock_package_type stock_package_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_type
    ADD CONSTRAINT stock_package_type_pkey PRIMARY KEY (id);


--
-- Name: stock_package_type_stock_putaway_rule_rel stock_package_type_stock_putaway_rule_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_package_type_stock_putaway_rule_rel
    ADD CONSTRAINT stock_package_type_stock_putaway_rule_rel_pkey PRIMARY KEY (stock_putaway_rule_id, stock_package_type_id);


--
-- Name: stock_picking_backorder_rel stock_picking_backorder_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking_backorder_rel
    ADD CONSTRAINT stock_picking_backorder_rel_pkey PRIMARY KEY (stock_backorder_confirmation_id, stock_picking_id);


--
-- Name: stock_picking stock_picking_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking
    ADD CONSTRAINT stock_picking_name_uniq UNIQUE (name, company_id);


--
-- Name: CONSTRAINT stock_picking_name_uniq ON stock_picking; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_picking_name_uniq ON public.stock_picking IS 'unique(name, company_id)';


--
-- Name: stock_picking stock_picking_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking
    ADD CONSTRAINT stock_picking_pkey PRIMARY KEY (id);


--
-- Name: stock_picking_sms_rel stock_picking_sms_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking_sms_rel
    ADD CONSTRAINT stock_picking_sms_rel_pkey PRIMARY KEY (confirm_stock_sms_id, stock_picking_id);


--
-- Name: stock_picking_type stock_picking_type_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_picking_type
    ADD CONSTRAINT stock_picking_type_pkey PRIMARY KEY (id);


--
-- Name: stock_putaway_rule stock_putaway_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_putaway_rule
    ADD CONSTRAINT stock_putaway_rule_pkey PRIMARY KEY (id);


--
-- Name: stock_quant_package stock_quant_package_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant_package
    ADD CONSTRAINT stock_quant_package_pkey PRIMARY KEY (id);


--
-- Name: stock_quant stock_quant_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant
    ADD CONSTRAINT stock_quant_pkey PRIMARY KEY (id);


--
-- Name: stock_quant_relocate stock_quant_relocate_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant_relocate
    ADD CONSTRAINT stock_quant_relocate_pkey PRIMARY KEY (id);


--
-- Name: stock_quant_stock_quant_relocate_rel stock_quant_stock_quant_relocate_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant_stock_quant_relocate_rel
    ADD CONSTRAINT stock_quant_stock_quant_relocate_rel_pkey PRIMARY KEY (stock_quant_relocate_id, stock_quant_id);


--
-- Name: stock_quant_stock_request_count_rel stock_quant_stock_request_count_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant_stock_request_count_rel
    ADD CONSTRAINT stock_quant_stock_request_count_rel_pkey PRIMARY KEY (stock_request_count_id, stock_quant_id);


--
-- Name: stock_quant_stock_track_confirmation_rel stock_quant_stock_track_confirmation_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quant_stock_track_confirmation_rel
    ADD CONSTRAINT stock_quant_stock_track_confirmation_rel_pkey PRIMARY KEY (stock_track_confirmation_id, stock_quant_id);


--
-- Name: stock_quantity_history stock_quantity_history_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_quantity_history
    ADD CONSTRAINT stock_quantity_history_pkey PRIMARY KEY (id);


--
-- Name: stock_replenishment_info stock_replenishment_info_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_replenishment_info
    ADD CONSTRAINT stock_replenishment_info_pkey PRIMARY KEY (id);


--
-- Name: stock_replenishment_option stock_replenishment_option_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_replenishment_option
    ADD CONSTRAINT stock_replenishment_option_pkey PRIMARY KEY (id);


--
-- Name: stock_request_count stock_request_count_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_request_count
    ADD CONSTRAINT stock_request_count_pkey PRIMARY KEY (id);


--
-- Name: stock_return_picking_line stock_return_picking_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_return_picking_line
    ADD CONSTRAINT stock_return_picking_line_pkey PRIMARY KEY (id);


--
-- Name: stock_return_picking stock_return_picking_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_return_picking
    ADD CONSTRAINT stock_return_picking_pkey PRIMARY KEY (id);


--
-- Name: stock_route_categ stock_route_categ_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_categ
    ADD CONSTRAINT stock_route_categ_pkey PRIMARY KEY (route_id, categ_id);


--
-- Name: stock_route_move stock_route_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_move
    ADD CONSTRAINT stock_route_move_pkey PRIMARY KEY (move_id, route_id);


--
-- Name: stock_route_packaging stock_route_packaging_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_packaging
    ADD CONSTRAINT stock_route_packaging_pkey PRIMARY KEY (route_id, packaging_id);


--
-- Name: stock_route stock_route_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route
    ADD CONSTRAINT stock_route_pkey PRIMARY KEY (id);


--
-- Name: stock_route_product stock_route_product_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_product
    ADD CONSTRAINT stock_route_product_pkey PRIMARY KEY (route_id, product_id);


--
-- Name: stock_route_stock_rules_report_rel stock_route_stock_rules_report_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_stock_rules_report_rel
    ADD CONSTRAINT stock_route_stock_rules_report_rel_pkey PRIMARY KEY (stock_rules_report_id, stock_route_id);


--
-- Name: stock_route_warehouse stock_route_warehouse_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_route_warehouse
    ADD CONSTRAINT stock_route_warehouse_pkey PRIMARY KEY (route_id, warehouse_id);


--
-- Name: stock_rule stock_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_rule
    ADD CONSTRAINT stock_rule_pkey PRIMARY KEY (id);


--
-- Name: stock_rules_report stock_rules_report_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_rules_report
    ADD CONSTRAINT stock_rules_report_pkey PRIMARY KEY (id);


--
-- Name: stock_rules_report_stock_warehouse_rel stock_rules_report_stock_warehouse_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_rules_report_stock_warehouse_rel
    ADD CONSTRAINT stock_rules_report_stock_warehouse_rel_pkey PRIMARY KEY (stock_rules_report_id, stock_warehouse_id);


--
-- Name: stock_scrap stock_scrap_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_scrap
    ADD CONSTRAINT stock_scrap_pkey PRIMARY KEY (id);


--
-- Name: stock_scrap_reason_tag stock_scrap_reason_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_scrap_reason_tag
    ADD CONSTRAINT stock_scrap_reason_tag_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT stock_scrap_reason_tag_name_uniq ON stock_scrap_reason_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_scrap_reason_tag_name_uniq ON public.stock_scrap_reason_tag IS 'unique (name)';


--
-- Name: stock_scrap_reason_tag stock_scrap_reason_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_scrap_reason_tag
    ADD CONSTRAINT stock_scrap_reason_tag_pkey PRIMARY KEY (id);


--
-- Name: stock_scrap_stock_scrap_reason_tag_rel stock_scrap_stock_scrap_reason_tag_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_scrap_stock_scrap_reason_tag_rel
    ADD CONSTRAINT stock_scrap_stock_scrap_reason_tag_rel_pkey PRIMARY KEY (stock_scrap_id, stock_scrap_reason_tag_id);


--
-- Name: stock_storage_category_capacity stock_storage_category_capacity_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_storage_category_capacity
    ADD CONSTRAINT stock_storage_category_capacity_pkey PRIMARY KEY (id);


--
-- Name: stock_storage_category_capacity stock_storage_category_capacity_unique_package_type; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_storage_category_capacity
    ADD CONSTRAINT stock_storage_category_capacity_unique_package_type UNIQUE (package_type_id, storage_category_id);


--
-- Name: CONSTRAINT stock_storage_category_capacity_unique_package_type ON stock_storage_category_capacity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_storage_category_capacity_unique_package_type ON public.stock_storage_category_capacity IS 'UNIQUE(package_type_id, storage_category_id)';


--
-- Name: stock_storage_category_capacity stock_storage_category_capacity_unique_product; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_storage_category_capacity
    ADD CONSTRAINT stock_storage_category_capacity_unique_product UNIQUE (product_id, storage_category_id);


--
-- Name: CONSTRAINT stock_storage_category_capacity_unique_product ON stock_storage_category_capacity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_storage_category_capacity_unique_product ON public.stock_storage_category_capacity IS 'UNIQUE(product_id, storage_category_id)';


--
-- Name: stock_storage_category stock_storage_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_storage_category
    ADD CONSTRAINT stock_storage_category_pkey PRIMARY KEY (id);


--
-- Name: stock_traceability_report stock_traceability_report_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_traceability_report
    ADD CONSTRAINT stock_traceability_report_pkey PRIMARY KEY (id);


--
-- Name: stock_track_confirmation stock_track_confirmation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_track_confirmation
    ADD CONSTRAINT stock_track_confirmation_pkey PRIMARY KEY (id);


--
-- Name: stock_track_line stock_track_line_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_track_line
    ADD CONSTRAINT stock_track_line_pkey PRIMARY KEY (id);


--
-- Name: stock_valuation_layer stock_valuation_layer_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_valuation_layer
    ADD CONSTRAINT stock_valuation_layer_pkey PRIMARY KEY (id);


--
-- Name: stock_valuation_layer_revaluation stock_valuation_layer_revaluation_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_valuation_layer_revaluation
    ADD CONSTRAINT stock_valuation_layer_revaluation_pkey PRIMARY KEY (id);


--
-- Name: stock_valuation_layer_stock_valuation_layer_revaluation_rel stock_valuation_layer_stock_valuation_layer_revaluation_re_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_valuation_layer_stock_valuation_layer_revaluation_rel
    ADD CONSTRAINT stock_valuation_layer_stock_valuation_layer_revaluation_re_pkey PRIMARY KEY (stock_valuation_layer_revaluation_id, stock_valuation_layer_id);


--
-- Name: stock_warehouse_orderpoint stock_warehouse_orderpoint_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse_orderpoint
    ADD CONSTRAINT stock_warehouse_orderpoint_pkey PRIMARY KEY (id);


--
-- Name: stock_warehouse_orderpoint stock_warehouse_orderpoint_product_location_check; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse_orderpoint
    ADD CONSTRAINT stock_warehouse_orderpoint_product_location_check UNIQUE (product_id, location_id, company_id);


--
-- Name: CONSTRAINT stock_warehouse_orderpoint_product_location_check ON stock_warehouse_orderpoint; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_warehouse_orderpoint_product_location_check ON public.stock_warehouse_orderpoint IS 'unique (product_id, location_id, company_id)';


--
-- Name: stock_warehouse stock_warehouse_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse
    ADD CONSTRAINT stock_warehouse_pkey PRIMARY KEY (id);


--
-- Name: stock_warehouse stock_warehouse_warehouse_code_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse
    ADD CONSTRAINT stock_warehouse_warehouse_code_uniq UNIQUE (code, company_id);


--
-- Name: CONSTRAINT stock_warehouse_warehouse_code_uniq ON stock_warehouse; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_warehouse_warehouse_code_uniq ON public.stock_warehouse IS 'unique(code, company_id)';


--
-- Name: stock_warehouse stock_warehouse_warehouse_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warehouse
    ADD CONSTRAINT stock_warehouse_warehouse_name_uniq UNIQUE (name, company_id);


--
-- Name: CONSTRAINT stock_warehouse_warehouse_name_uniq ON stock_warehouse; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_warehouse_warehouse_name_uniq ON public.stock_warehouse IS 'unique(name, company_id)';


--
-- Name: stock_warn_insufficient_qty_repair stock_warn_insufficient_qty_repair_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warn_insufficient_qty_repair
    ADD CONSTRAINT stock_warn_insufficient_qty_repair_pkey PRIMARY KEY (id);


--
-- Name: stock_warn_insufficient_qty_scrap stock_warn_insufficient_qty_scrap_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_warn_insufficient_qty_scrap
    ADD CONSTRAINT stock_warn_insufficient_qty_scrap_pkey PRIMARY KEY (id);


--
-- Name: stock_wh_resupply_table stock_wh_resupply_table_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.stock_wh_resupply_table
    ADD CONSTRAINT stock_wh_resupply_table_pkey PRIMARY KEY (supplied_wh_id, supplier_wh_id);


--
-- Name: task_dependencies_rel task_dependencies_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.task_dependencies_rel
    ADD CONSTRAINT task_dependencies_rel_pkey PRIMARY KEY (task_id, depends_on_id);


--
-- Name: team_favorite_user_rel team_favorite_user_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.team_favorite_user_rel
    ADD CONSTRAINT team_favorite_user_rel_pkey PRIMARY KEY (team_id, user_id);


--
-- Name: template_attribute_value_stock_move_rel template_attribute_value_stock_move_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.template_attribute_value_stock_move_rel
    ADD CONSTRAINT template_attribute_value_stock_move_rel_pkey PRIMARY KEY (move_id, template_attribute_value_id);


--
-- Name: theme_ir_asset theme_ir_asset_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_ir_asset
    ADD CONSTRAINT theme_ir_asset_pkey PRIMARY KEY (id);


--
-- Name: theme_ir_attachment theme_ir_attachment_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_ir_attachment
    ADD CONSTRAINT theme_ir_attachment_pkey PRIMARY KEY (id);


--
-- Name: theme_ir_ui_view theme_ir_ui_view_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_ir_ui_view
    ADD CONSTRAINT theme_ir_ui_view_pkey PRIMARY KEY (id);


--
-- Name: theme_website_menu theme_website_menu_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_website_menu
    ADD CONSTRAINT theme_website_menu_pkey PRIMARY KEY (id);


--
-- Name: theme_website_page theme_website_page_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.theme_website_page
    ADD CONSTRAINT theme_website_page_pkey PRIMARY KEY (id);


--
-- Name: uom_category uom_category_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.uom_category
    ADD CONSTRAINT uom_category_pkey PRIMARY KEY (id);


--
-- Name: uom_uom uom_uom_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.uom_uom
    ADD CONSTRAINT uom_uom_pkey PRIMARY KEY (id);


--
-- Name: update_product_attribute_value update_product_attribute_value_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.update_product_attribute_value
    ADD CONSTRAINT update_product_attribute_value_pkey PRIMARY KEY (id);


--
-- Name: utm_campaign utm_campaign_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_campaign
    ADD CONSTRAINT utm_campaign_pkey PRIMARY KEY (id);


--
-- Name: utm_campaign utm_campaign_unique_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_campaign
    ADD CONSTRAINT utm_campaign_unique_name UNIQUE (name);


--
-- Name: CONSTRAINT utm_campaign_unique_name ON utm_campaign; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT utm_campaign_unique_name ON public.utm_campaign IS 'UNIQUE(name)';


--
-- Name: utm_medium utm_medium_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_medium
    ADD CONSTRAINT utm_medium_pkey PRIMARY KEY (id);


--
-- Name: utm_medium utm_medium_unique_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_medium
    ADD CONSTRAINT utm_medium_unique_name UNIQUE (name);


--
-- Name: CONSTRAINT utm_medium_unique_name ON utm_medium; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT utm_medium_unique_name ON public.utm_medium IS 'UNIQUE(name)';


--
-- Name: utm_source utm_source_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_source
    ADD CONSTRAINT utm_source_pkey PRIMARY KEY (id);


--
-- Name: utm_source utm_source_unique_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_source
    ADD CONSTRAINT utm_source_unique_name UNIQUE (name);


--
-- Name: CONSTRAINT utm_source_unique_name ON utm_source; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT utm_source_unique_name ON public.utm_source IS 'UNIQUE(name)';


--
-- Name: utm_stage utm_stage_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_stage
    ADD CONSTRAINT utm_stage_pkey PRIMARY KEY (id);


--
-- Name: utm_tag utm_tag_name_uniq; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_tag
    ADD CONSTRAINT utm_tag_name_uniq UNIQUE (name);


--
-- Name: CONSTRAINT utm_tag_name_uniq ON utm_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT utm_tag_name_uniq ON public.utm_tag IS 'unique (name)';


--
-- Name: utm_tag utm_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_tag
    ADD CONSTRAINT utm_tag_pkey PRIMARY KEY (id);


--
-- Name: utm_tag_rel utm_tag_rel_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.utm_tag_rel
    ADD CONSTRAINT utm_tag_rel_pkey PRIMARY KEY (tag_id, campaign_id);


--
-- Name: validate_account_move validate_account_move_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.validate_account_move
    ADD CONSTRAINT validate_account_move_pkey PRIMARY KEY (id);


--
-- Name: web_editor_converter_test web_editor_converter_test_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.web_editor_converter_test
    ADD CONSTRAINT web_editor_converter_test_pkey PRIMARY KEY (id);


--
-- Name: web_editor_converter_test_sub web_editor_converter_test_sub_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.web_editor_converter_test_sub
    ADD CONSTRAINT web_editor_converter_test_sub_pkey PRIMARY KEY (id);


--
-- Name: web_tour_tour web_tour_tour_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.web_tour_tour
    ADD CONSTRAINT web_tour_tour_pkey PRIMARY KEY (id);


--
-- Name: web_tour_tour_step web_tour_tour_step_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.web_tour_tour_step
    ADD CONSTRAINT web_tour_tour_step_pkey PRIMARY KEY (id);


--
-- Name: web_tour_tour web_tour_tour_uniq_name; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.web_tour_tour
    ADD CONSTRAINT web_tour_tour_uniq_name UNIQUE (name);


--
-- Name: CONSTRAINT web_tour_tour_uniq_name ON web_tour_tour; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT web_tour_tour_uniq_name ON public.web_tour_tour IS 'unique(name)';


--
-- Name: website_configurator_feature website_configurator_feature_pkey; Type: CONSTRAINT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.website_configurator_feature
    ADD CONSTRAINT website_configurator_feature_pkey PRIMARY KEY (id);


--
