Axelor ERD PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 241

vehicle_model

Sample Layout with Tools 22-11-2019 DbSchema.com. Table comments as mouse-over tooltips.

fleet_vehicle fleet_vehicle_service_log fleet_booking

fleet_vehicle vehicle fleet_vehicle_contract fleet_vehicle_contract fleet_vehicle_contract_vehicle_service_list fleet_vehicle_model_vehicle_vendors_set fleet_booking fleet_booking fleet_booking_contact_set


id bigint # id bigint # fleet_vehicle_contract bigint # fleet_vehicle_model bigint # id bigint # fleet_booking bigint #
created_by bigint # created_by bigint # vehicle_service_list bigint # vehicle_vendors_set bigint # created_by bigint # contact_set bigint #
fleet_vehicle_model
updated_by bigint # updated_by bigint # updated_by bigint #
company bigint # insurer_partner bigint # partner_category bigint #
partner_category

vehicle_service_list

vehicle_vendors_set

contact_set
driver_partner bigint # purchaser_partner bigint #
image bigint # vehicle bigint #
company purchaser_partner
vehicle_model bigint #

insurer_partner
driver_partner
fleet_booking
vehicle vehicle fleet_booking_partner_set
fleet_vehicle_service_log fleet_vehicle_model vehicle_make fleet_vehicle_make fleet_vehicle_cost
fleet_booking bigint #
id bigint # id bigint # id bigint # id bigint # partner_set bigint #
created_by bigint # created_by bigint # created_by bigint # created_by bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #

partner_set
purchase_partner bigint # vehicle_make bigint # image bigint # service_type bigint #
vehicle bigint # vehicle bigint #
vendor_partner bigint #
vendor_partner

service_type
purchase_partner
base_app_crm

base_app_leave base_app_crm base_app_cash_management


id bigint # id bigint # id bigint #

fleet_vehicle_service_log

id

id
base_app_invoice base_app_helpdesk base_app_bpm base_app_contract

vehicle
fleet_vehicle_service_log_vehicle_service_list vehicle_service_list fleet_vehicle_service service_type fleet_vehicle_service_type
id bigint # id bigint # id bigint # id bigint #
fleet_vehicle_service_log bigint # id bigint # id bigint #
vehicle
vehicle_service_list bigint # created_by bigint # created_by bigint #
fleet_vehicle_tag fleet_vehicle_odometer fleet_vehicle_fuel_log

id

id

id

id
message_message updated_by bigint # updated_by bigint #
id bigint # id bigint # id bigint # service_type bigint #
created_by bigint # created_by bigint # created_by bigint # base_advanced_export
auth_user_email_account_list
updated_by bigint # updated_by bigint # updated_by bigint #
auth_user bigint # unit bigint # purchase_partner bigint #
base_advanced_export advanced_export base_advanced_export_line
email_account_list bigint # vehicle bigint # vehicle bigint #
vendor_partner bigint # id bigint # id bigint #
vendor_partner
created_by bigint # created_by bigint #

auth_user

unit
updated_by bigint # updated_by bigint #

purchase_partner
meta_model bigint # advanced_export bigint #
meta_field bigint #
base_app_production portal_online_payment_method
base_app_crm
base_app_production base_app_employee base_app_expense base_app_extra_hours base_app_portal_online_payment_method_set base_app_crm_groups_assignable base_app_mobile_partner_set base_app_mobile_project_set
id bigint # id bigint # id bigint # id bigint # base_app_portal bigint # base_app_crm bigint # base_app_mobile bigint # base_app_mobile bigint #

vehicle_tag_set
partner_set
barcode_type_config bigint # online_payment_method_set bigint # groups_assignable bigint # partner_set bigint # project_set bigint #

fleet_vehicle
cycle_unit bigint #

id

id

id
product_cost_sheet_group bigint #
work_center_product

base_app_portal

groups_assignable

base_app_mobile

base_app_mobile
work_center_cost_sheet_group bigint #
barcode_type_config
work_center_product bigint #

fleet_vehicle_vehicle_tag_set
base_app_purchase base_app_purchase_request

id
cycle_unit
fleet_vehicle bigint #
vehicle_tag_set bigint # id bigint # id bigint #

id

id
base_indicator_generator_grouping
id bigint #
created_by bigint #
base_app_project
updated_by bigint #
crm_lead ical_event
id bigint #

crm_lead crm_event_reminder crm_event_category base_sharing_setting

id
id bigint # id bigint # id bigint # id bigint #
created_by bigint # created_by bigint # created_by bigint # created_by bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
email_address bigint # event bigint # calendar bigint #
industry_sector bigint # user_id bigint # shared_with bigint #
base_indicator_generator_grouping
lost_reason bigint #
base_indicator_generator_grouping_indicator_generator_set
partner bigint #
base_app_mobile
primary_country bigint # base_indicator_generator_grouping bigint #
lead_set
source bigint # indicator_generator_set bigint #
lost_reason base_app_mobile base_app_mobile base_app_mobile_lead_set
team bigint #
source
user_id bigint # id bigint # base_app_mobile bigint #
primary_country

indicator_generator_set
lead_set bigint #

partner
industry_sector
id
base_app_marketing
id bigint #
base_indicator_generator
id bigint #
created_by bigint #
updated_by bigint #

base_app_mobile
base_app_timesheet base_app_recruitment base_app_mobile_product_set
id bigint # id bigint # base_app_mobile bigint #
product_set bigint #

id

id
crm_event_reminder

product_set
lead crm_event_reminder_batch_set
crm_event_attendee
crm_event_reminder bigint #
id bigint # batch_set bigint #
base_app_training
created_by bigint #
updated_by bigint # id bigint #

batch_set
contact_partner bigint #
event bigint #

id
lead bigint #

contact_partner
base_data_config_line

base_partner_company_set base_partner_batch_set
sale_pack_line
base_partner bigint # base_partner bigint #
base_partner
company_set bigint # batch_set bigint #
base_product_pack_lines
base_product bigint #

company_set

base_partner

batch_set
pack_lines bigint #

base_product
crm_lost_reason crm_recurrence_configuration base_data_config_line base_partner_category base_partner_address

addressl7country
id bigint # id bigint # id bigint # id bigint # id bigint #
created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
base_address meta_model bigint # address bigint #
object_data_config bigint # partner bigint #

base_address base_geographical_area base_geographical_area base_geographical_area_department_set

object_data_config

address
partner
id bigint # id bigint # base_geographical_area bigint #
created_by bigint # created_by bigint # department_set bigint #
updated_by bigint # updated_by bigint #
addressl7country bigint #

department_set
city bigint #

city

base_data_config_line
base_data_config_line_to_delete_meta_field_set base_object_data_config
base_data_config_line bigint # id bigint #
to_delete_meta_field_set bigint # created_by bigint #
updated_by bigint #
crm_opportunity

crm_target_configuration_batch_set
crm_target_configuration bigint #
batch_set bigint #
crm_target_configuration
batch_set

address
base_address_export base_pick_list_entry
id bigint # id bigint #
created_by bigint # created_by bigint #
updated_by
updated_by bigint # updated_by bigint #
lost_reason base_calendar_configuration
address bigint #
crm_opportunity lead crm_target_configuration crm_target
base_app_supplychain

created_by
id bigint # id bigint # id bigint #
created_by bigint # created_by bigint # created_by bigint # id bigint #
updated_by bigint # updated_by bigint # updated_by bigint # cancel_reason_on_changing_sale_order bigint #
bank_details bigint # team bigint # team bigint #
company bigint # user_id bigint # user_id bigint #

id

cancel_reason_on_changing_sale_order
currency bigint #
lead bigint #
lost_reason bigint #
opportunity_type bigint #
partner bigint #
source bigint #
team bigint #
source
trading_name bigint #
trading_name currency
user_id bigint #
company
partner
opportunity_type

bank_details

base_routing_action_create
base_routing_action_create
base_routing_action_create routing_action_create base_routing_action_create_line
routing_action_create_line_list base_routing_action_create_routing_action_create_line_list
id bigint # id bigint # base_routing_action_create bigint #
created_by bigint # created_by bigint # routing_action_create_line_list bigint #
base_period
updated_by bigint # updated_by bigint #
meta_model bigint # meta_field bigint #
base_access_config_role_set
routing_action_create bigint #
base_access_config bigint #
role_set bigint #
base_access_config

role_set

routing_action_create
base_period base_access_config access_config base_user_access_config base_calendar_configuration base_cancel_reason base_day_planning
crm_opportunity_type crm_participant
id bigint # id bigint # id bigint # id bigint # id bigint # id bigint #
id bigint # id bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint #
created_by bigint # created_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
base_routing_action base_source
updated_by bigint # updated_by bigint # year bigint # app bigint # access_config bigint # calendar_group bigint # weekly_plann bigint #
partner bigint # app bigint # id bigint # id bigint # calendar_user bigint #
user_id bigint # created_by bigint # created_by bigint # meta_action bigint #

year

weekly_plann
updated_by bigint # updated_by bigint # parent_meta_menu bigint #
partner

routing bigint # role bigint #


role
routing_action_create bigint #

calendar_group
routing

base_calendar_configuration
fiscal_year
base_calendar_configuration_calendar_set base_calendar_management
base_calendar_management base_calendar_management_calendar_set
period
base_calendar_configuration bigint # id bigint # base_calendar_management bigint #
base_querie base_adjust_history base_routing_rule routing base_routing
calendar_set bigint # created_by bigint # calendar_set bigint #
base_product id bigint # id bigint # id bigint # id bigint # updated_by bigint #
created_by bigint # created_by bigint # created_by bigint # created_by bigint # parent_user bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # team bigint #
base_app_business_project
meta_model bigint # fiscal_year bigint # meta_field bigint # user_id bigint #
created_by
id bigint # period bigint # routing bigint #
product_invoicing_project bigint #
base_product_multiple_qty

updated_by
id bigint #

product_invoicing_project

id
created_by bigint #
purchase_purchase_order
updated_by bigint #
purchase_product bigint #
base_shipping_coef
sale_product bigint #
sale_product
id bigint #
created_by bigint #
purchase_product

updated_by bigint #
company bigint #
supplier_catalog bigint #
message_template

base_mail_batch

company
id bigint # base_city base_country base_timer base_blocking
created_by bigint #
updated_by bigint #
base_wizard base_country base_birt_template base_barcode_type_config base_timer base_template_rule_line base_template_context template_context base_template_context_line base_blocking base_import_configuration import_configuration base_import_history
company bigint #
template bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint #
created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #

company
economic_area bigint # assigned_to_user bigint # meta_action bigint # template_context bigint # blocking_by_user bigint # bind_meta_file bigint # data_meta_file bigint #
template bigint # blocking_reason bigint # data_meta_file bigint # import_configuration bigint #
partner
template_rule bigint # partner bigint # user_id bigint # log_meta_file bigint #
base_product_variant_config

economic_area
user_id bigint #
base_product base_product_category
product_category base_product_variant_config_product_variant_value4set

template_rule

blocking_reason
id bigint # id bigint #
created_by bigint # created_by bigint # base_product_variant_config bigint #
updated_by bigint # updated_by bigint # product_variant_value4set bigint #
parent_product_category product_variant_value4set
bar_code bigint # parent_product_category bigint #
barcode_type_config bigint #

product_variant_attr2
base_product_variant_config
barcode_type_config
cost_sheet_group bigint #
country_of_origin bigint #
length_unit
customs_code_nomenclature bigint #
product_variant_config base_unit
default_bill_of_material bigint #
account_payer_quality_config_line sales_unit
default_supplier_partner bigint #
product_variant base_unit_conversion
id bigint # length_unit bigint #

country
default_supplier_partner

timer
created_by bigint # mass_unit bigint # id bigint #
start_unit

base_blocking
updated_by bigint # mrp_family bigint # created_by bigint #
mass_unit end_unit base_unit unit_days base_app_base base_app_portal base_product_variant_config_product_variant_value3set base_product_variant_config
base_product_variant_config base_product_variant
product_variant_attr4 base_product_variant_attr
debt_recovery_level bigint # parent_product bigint # updated_by bigint #
purchases_unit unit_minutes product_variant_attr3 base_city base_events_planning events_planning base_events_planning_line birt_template base_timer_history
picture bigint # end_unit bigint # id bigint # id bigint # id bigint # base_product_variant_config bigint # id bigint # id bigint # id bigint #
meta_file crm_crm_config default_project_unit product_variant_attr1 base_birt_template_parameter

base_product_variant_config
product_approval bigint # start_unit bigint # created_by bigint # barcode_type_config bigint # product_variant_value3set bigint # created_by bigint # created_by bigint # created_by bigint # id bigint # id bigint # id bigint # id bigint #
unit_hours product_variant_attr2 base_template_rule
debt_recovery_level

product_category bigint # id bigint # updated_by bigint # default_partner_language bigint # updated_by bigint # updated_by bigint # updated_by bigint # created_by bigint # created_by bigint # created_by bigint # id bigint # created_by bigint #
dms_file file_id dms_permission
product_family bigint # created_by bigint # default_project_unit bigint # product_variant_attr1 bigint # product_variant_attr1 bigint # updated_by bigint # updated_by bigint # updated_by bigint # created_by bigint # updated_by bigint # id bigint #
base_blocking_company_set base_stop_reason

product_variant_value3set
id bigint # id bigint # product_variant bigint # updated_by bigint # password_changed_template bigint # product_variant_attr2 bigint # product_variant_attr2 bigint # canton bigint # events_planning bigint # updated_by bigint # timer bigint # created_by bigint #
country
created_by bigint # created_by bigint # product_variant_config bigint # call_template bigint # unit_days bigint # product_variant_attr3 bigint # product_variant_attr3 bigint # country bigint # birt_template bigint # updated_by bigint # base_blocking bigint # id bigint #
base_weekly_planning base_economic_area base_territory
updated_by bigint # updated_by bigint # purchase_currency bigint # company bigint # unit_hours bigint # product_variant_attr4 bigint # product_variant_attr4 bigint # department bigint # meta_model bigint # company_set bigint # created_by bigint #
unit product_variant_attr4 base_keyword department
meta_file bigint # file_id bigint # purchases_unit bigint # event_template bigint # unit_minutes bigint # product_variant_value1 bigint # id bigint # id bigint # updated_by bigint #
base_weekly_planning parent_product
parent bigint # group_id bigint # sale_currency bigint # meeting_date_change_template bigint # product_variant_value2 bigint # id bigint # created_by bigint # created_by bigint #
parent

product_variant_attr3
product_variant_attr1

canton

company_set
id bigint # permission_id bigint # sales_unit bigint # meeting_guest_added_template bigint # product_variant_value3 bigint # created_by bigint # updated_by bigint # updated_by bigint #
product_variant_value3

default_partner_language
created_by bigint # user_id bigint # tracking_number_configuration bigint # meeting_guest_deleted_template bigint # product_variant_value4 bigint # updated_by bigint # authority_partner bigint #
permission_id product_variant_value1
updated_by bigint # unit bigint # meeting_template bigint # city bigint #
base_product_variant_config_product_variant_value2set city
task_template bigint # country bigint #
group_id

product_variant_value2
product_variant_value4
base_product_variant_config bigint #
product_family

country_of_origin
barcode_type_config

base_product_variant_config
product_variant_value2set bigint #

company

authority_partner
product_variant_value2set
base_app_account

product_variant_attr
base_alarm
id bigint #
transfer_and_direct_debit_interbank_code
cheque_interbank_code bigint # id bigint #
cheque_interbank_code base_product_variant_config_product_variant_value1set

department
transfer_and_direct_debit_interbank_code bigint # created_by bigint #
base_app_bank_payment
updated_by bigint # base_product_variant_config bigint #

country
product_variant_value1set
alarm_engine bigint # id bigint # product_variant_value1set bigint #
invoice bigint #
base_data_backup target_configuration_set
partner bigint #
dms_file crm_crm_batch crm_crm_batch crm_crm_batch_target_configuration_set alarm_engine base_product_variant_value base_canton base_industry_sector base_department region base_region

id
id bigint #
dms_file_tag tags dms_file_tags
created_by bigint # id bigint # crm_crm_batch bigint # id bigint # id bigint # id bigint # id bigint # id bigint #

partner

invoice
updated_by bigint # id bigint # dms_file bigint # created_by bigint # target_configuration_set bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint #
backup_meta_file bigint # created_by bigint # tags bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
log_meta_file bigint # updated_by bigint # company bigint # product_variant_attr bigint # department bigint # region bigint # country bigint #
base_app_account

company
payer_quality_config_line_list base_app_budget
base_app_account_payer_quality_config_line_list
id bigint #
base_app_account bigint #
payer_quality_config_line_list bigint #

id
base_data_config_line

meta_field auth_user base_partner meta_model auth_role auth_group


product_category auth_role
base_data_config_line_to_export_meta_field_set exception_trace_back base_partner base_price_list price_list base_price_list_line base_alarm_engine base_alarm_engine_batch base_alarm_engine_batch base_alarm_engine_batch_meta_model_set auth_role auth_permission_assistant auth_permission_assistant auth_permission_assistant_group_set group_set auth_group auth_permission permissions auth_role_permissions
base_data_config_line bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint # base_alarm_engine_batch bigint # id bigint # id bigint # auth_permission_assistant bigint # id bigint # id bigint # auth_role bigint #
to_export_meta_field_set bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # meta_model_set bigint # created_by bigint # created_by bigint # group_set bigint # created_by bigint # created_by bigint # permissions bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
internal_user bigint # active_umr bigint # parent_price_list bigint # price_list bigint # alarm_message bigint # meta_field bigint #
fiscal_position parent_price_list
analytic_distribution_template bigint # product bigint # meta_model bigint # meta_file bigint #
alarm_message
carrier_partner bigint # product_category bigint #
currency bigint #
source
email_address bigint #

product

auth_group
fiscal_position bigint #
freight_carrier_mode bigint #
in_payment_mode bigint #
fleet_recurring_cost
industry_sector bigint #
main_address auth_permission_assistant

base_alarm_engine_batch
id bigint # language bigint #
industry_sector auth_permission_assistant_object_set auth_group_permissions permissions
created_by bigint # main_address bigint #
partner_category permissions
updated_by bigint # main_partner bigint # auth_permission_assistant bigint # auth_group bigint #
auth_user_permissions auth_user_company_set
out_payment_mode bigint # object_set bigint # permissions bigint #
parent_partner bigint # auth_user bigint # auth_user bigint #

auth_role
company_set
partner_category bigint # permissions bigint # company_set bigint #

roles
payment_condition bigint #
picture bigint #

auth_user

auth_user
purchase_partner_price_list bigint #
alarm_engine_set auth_user_roles auth_role_meta_permissions

auth_group

auth_group
reports_to bigint #
sale_partner_price_list base_alarm_engine_batch_alarm_engine_set
sale_partner_price_list bigint # auth_user bigint # auth_role bigint #
purchase_partner_price_list auth_user_followed_meta_model_set
shipment_mode bigint # base_alarm_engine_batch bigint # roles bigint # meta_permissions bigint #
language
source bigint # auth_user bigint # alarm_engine_set bigint #
analytic_distribution_template auth_permission_assistant roles
team bigint # followed_meta_model_set bigint #
role_set auth_permission_assistant_role_set auth_group_roles auth_group_meta_permissions

auth_user
This is a sample layout with tools. user_id bigint #
Double-click any table, column or foreign key to edit. auth_permission_assistant bigint # auth_group bigint # auth_group bigint #

auth_user
For better understanding the schema create multiple layouts. role_set bigint # roles bigint # meta_permissions bigint #
base_alarm_message

contact_partner_set

partner_contact_set
Layouts and schema structure are saved to project file.

base_app_mobile
id bigint #
created_by bigint #

price_list_set
updated_by bigint #

auth_user
id bigint #
auth_user_followers_cal_user_set
created_by bigint #
base_partner_contact_partner_set base_partner base_app_mobile_partner_contact_set base_partner_price_list base_partner_price_list base_partner_price_list_price_list_set
updated_by bigint # auth_user bigint #
auth_user
active_company bigint # base_partner bigint # base_app_mobile bigint # id bigint # base_partner_price_list bigint # followers_cal_user_set bigint #
active_team bigint # contact_partner_set bigint # partner_contact_set bigint # created_by bigint # price_list_set bigint #
electronic_signature bigint # updated_by bigint #

followers_cal_user_set
employee bigint #
group_id bigint #
i_calendar bigint #
partner bigint #
workshop_stock_location bigint #

base_app

base_app base_app_depends_on_set stock_inventory

id bigint # base_app bigint #


depends_on_set base_product_family
created_by bigint # depends_on_set bigint #
updated_by bigint # id bigint #
image bigint # created_by bigint #

base_app
updated_by bigint #
id

base_app_sale
id bigint #

id
base_app_stock economic_area
id bigint #
economic_area bigint #
id

id

id
base_app_fleet base_app_quality base_app_appraisal

bankpayment_ebics_partner
advance_payment_product

id bigint # id bigint # id bigint #

receiver_company

receiver_country

receiver_country
factor_partner

address

partner
account_account_config base_company base_bank_details base_currency bankpayment_ebics_user bankpayment_bank_order_line
invoicing_product bankpayment_bank_payment_batch receiver_bank_details
account_account_config cash_position_variation_account
account_account compatible_account_set account_account_compatible_account_set base_company base_trading_name trading_name base_trading_name_printing_settings bankpayment_ebics_partner_receiver_bank_details_set businessproject_manual_element bankpayment_bank_payment_batch_ebics_partner_set bankpayment_bank_order_line bankpayment_bank_order_file_format
forecasted_inv_supp_account account_account weekly_planning
id bigint # id bigint # account_account bigint # id bigint # id bigint # id bigint # bankpayment_ebics_partner bigint # id bigint # bankpayment_bank_payment_batch bigint # id bigint # id bigint #
employee_account parent_account
created_by bigint # created_by bigint # compatible_account_set bigint # created_by bigint # created_by bigint # created_by bigint # receiver_bank_details_set bigint # created_by bigint # ebics_partner_set bigint # created_by bigint # created_by bigint #
profit_account
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
supplier_account
account_chart bigint # account_type bigint # address bigint # logo bigint # company bigint # currency bigint # bank_order bigint # bank_order_economic_reason bigint #
bank_order_economic_reason
receiver_bank_details_set

ebics_partner_set
account_clearance_journal bigint # company bigint # currency bigint # printing_settings bigint # project bigint # bank_order_currency bigint # currency bigint #
printing_settings
advance_payment_account bigint # parent_account bigint # default_bank_details bigint # trading_name bigint # bank_order_economic_reason bigint # receiver_country bigint #
bank_order_currency
advance_payment_product bigint # logo bigint # interbank_code_line bigint #

currency
mail_batch
auto_misc_ope_journal bigint # parent bigint # partner bigint #
doubtful_customer_account interbank_code_line
company

currency
cash_journal_type bigint # partner bigint # receiver_bank_details bigint #

partner
advance_payment_account reject_move
cash_position_variation_account bigint # printing_settings bigint # receiver_company bigint #
factor_debit_account
cfonb_config bigint # public_holiday_events_planning bigint # receiver_country bigint #
expense_tax_account crm_batch company
company bigint # weekly_planning bigint # receiver_move bigint #
customer_account base_bank_details base_batch alarm_engine_batch base_base_batch bankpayment_ebics_user ebics_partner bankpayment_ebics_partner ebics_partner bankpayment_bank_statement bank_statement_file_format
bankpayment_bank_statement_file_format bank_order
credit_note_journal_type bigint # reject_move bigint #
reimbursement_account base_batch default_signatory_ebics_user
cust_inv_sequence bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint # id bigint # sender_move bigint #
transport_ebics_user
cust_ref_sequence bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint #
customer_account bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
company

sender_move
receiver_move
bank_order_economic_reason
bank_details_set

customer_account_sequence bigint # bank bigint # accounting_batch bigint # company bigint # a005certificate bigint # default_signatory_ebics_user bigint # bank_statement_file bigint #
customer_credit_note_journal bigint # bank_address bigint # alarm_engine_batch bigint # associated_user bigint # ebics_bank bigint # bank_statement_file_format bigint #
customer_sales_journal bigint # currency bigint # bank_order bigint # e002certificate bigint # psrbank_statement_file_format bigint # ebics_partner bigint #
ebics_bank
def_payment_condition bigint # partner bigint # bank_payment_batch bigint # ebics_partner bigint # transport_ebics_user bigint #

signatory_ebics_user
direct_debit_payment_mode bigint # base_batch bigint # test_bank_order_file_format bigint #
doubtful_customer_account bigint # contract_batch bigint # test_bank_statement_file_format bigint #
base_company
bank
bank_address

psrbank_statement_file_format
employee_account bigint # crm_batch bigint # test_data_file bigint #
base_company_bank_details_set app_base test_bank_order_file_format

updated_by
employee_account_sequence bigint # hr_batch bigint # test_signatory_ebics_user bigint #
base_bank_address base_currency_conversion_line test_bank_statement_file_format
expense_journal bigint # base_company bigint # invoice_batch bigint # test_signature_file bigint #

country
expense_tax_account bigint # bank_details_set bigint # id bigint # mail_batch bigint # id bigint # x002certificate bigint #
test_signatory_ebics_user
factor_credit_account bigint # created_by bigint # meta_file bigint # created_by bigint #
end_currency batch created_by
factor_debit_account bigint # updated_by bigint # production_batch bigint # updated_by bigint #
start_currency base_currency bankpayment_bank_order bankpayment_bank_order_file_format_country bank_order_file_format

x002certificate
e002certificate
a005certificate
factor_partner bigint # bank bigint # sale_batch bigint # app_base bigint #
paying_back_tax company_currency
internal_bank_to_bank_account

forecasted_inv_cust_account bigint # supplychain_batch bigint # end_currency bigint # id bigint # id bigint # id bigint #


supp_inv_sequence irrecoverable_standard_rate_tax bank_order bank_order_currency
forecasted_inv_supp_account bigint # start_currency bigint # created_by bigint # created_by bigint # created_by bigint #
company_set

cust_inv_sequence standard_rate_tax
bank

in_payment_mode bigint # updated_by bigint # updated_by bigint # updated_by bigint #


company

company

employee_account_sequence

invoice_batch

contract_batch
invoice_message_template bigint # bank_order_currency bigint # bank_order_file_format bigint #
supp_ref_sequence def_payment_condition
invoicing_product bigint # bank_order_file_format bigint # country bigint #
customer_account_sequence
irrecoverable_account bigint # batch bigint #
supplier_account_sequence
irrecoverable_journal bigint # company_currency bigint #

bank_statement_ebics_partner
cust_ref_sequence base_company_trading_name_set base_company_department base_printing_settings
irrecoverable_standard_rate_tax bigint # generated_meta_file bigint #

bankpayment_ebics_partner
company

cfonb_config
manual_misc_ope_journal bigint # company_set bigint # id bigint # id bigint # payment_mode bigint #
bank_order_file_format

bank_order_file_format
out_payment_mode bigint # trading_name_set bigint # created_by bigint # created_by bigint # sender_bank_details bigint #
base_sequence
paybox_config bigint # updated_by bigint # updated_by bigint # sender_company bigint #
paying_back_tax bigint # company bigint # company bigint # signatory_ebics_user bigint #
base_sequence other_bank_order_sequence bankpayment_bank_payment_config external_bank_to_bank_account bankpayment_bank_payment_batch
bankpayment_bank_payment_batch bankpayment_bank_payment_batch_bank_statement_file_format_set paybox_config sender_bank_details
trading_name_set

profit_account bigint # default_mail_birt_template bigint # signatory_user bigint #


sepa_credit_trans_sequence default_mail_birt_template sender_company
id bigint # id bigint # id bigint # bankpayment_bank_payment_batch bigint # purchase_journal_type bigint # signed_meta_file bigint #
sepa_direct_debit_sequence purchase_journal_type
created_by bigint # created_by bigint # created_by bigint # bank_statement_file_format_set bigint # reimbursement_account bigint #
int_treasury_trans_sequence sale_journal_type account_journal_type
updated_by bigint # updated_by bigint # updated_by bigint # reimbursement_journal bigint #

bank_order_line
int_direct_debit_sequence cash_journal_type
company bigint # company bigint # company bigint # reimbursement_template bigint # id bigint #

bank_details
int_credit_trans_sequence credit_note_journal_type bank_details_set bank_order_ebics_partner
default_signatory_user bigint # template bigint # reject_journal bigint # created_by bigint #
bankpayment_ebics_partner_bank_details_set bankpayment_ebics_partner_service bank_statement_file_format

currency
external_bank_to_bank_account bigint # reject_payment_schedule_template bigint # updated_by bigint #

company
nat_treasury_trans_sequence

currency
int_credit_trans_sequence bigint # rejection_payment_mode bigint # bankpayment_ebics_partner bigint # id bigint #
manual_misc_ope_journal
int_direct_debit_sequence bigint # sale_journal_type bigint # bank_details_set bigint # created_by bigint #
supplier_purchase_journal base_bank country bank_statement bank_statement
int_treasury_trans_sequence bigint # standard_rate_tax bigint # updated_by bigint #
auto_misc_ope_journal bank_details bankpayment_bank_order_line_origin bankpayment_bank_order_economic_reason bankpayment_bank_statement_line bankpayment_bank_statement_line_afb120
internal_bank_to_bank_account bigint # supp_inv_sequence bigint # id bigint # bank_order_ebics_partner bigint #
customer_credit_note_journal bankpayment_bank_reconciliation
nat_treasury_trans_sequence bigint # supp_ref_sequence bigint # created_by bigint # bank_order_file_format bigint # id bigint # id bigint # id bigint # id bigint #
reject_journal bank_statement
other_bank_order_sequence bigint # supplier_account bigint # updated_by bigint # id bigint # bank_statement_ebics_partner bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint #
customer_sales_journal irrecoverable_journal
sepa_credit_trans_sequence bigint # supplier_account_sequence bigint # country bigint # created_by bigint # bank_statement_file_format bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
account_chart reimbursement_journal
sepa_direct_debit_sequence bigint # supplier_credit_note_journal bigint # updated_by bigint # bank_order_line bigint # bank_details bigint # bank_details bigint #
supplier_credit_note_journal
supplier_purchase_journal bigint # bank_details bigint # bank_statement bigint # bank_statement bigint #
expense_journal
bank_statement bigint # currency bigint # currency bigint #
account_account_config

cash_account bank_details
clearance_account_set

cash_account bigint # operation_interbank_code_line bigint # operation_interbank_code_line bigint #


operation_interbank_code_line reject_interbank_code_line
company bigint # reject_interbank_code_line bigint # reject_interbank_code_line bigint #
currency bigint #
journal bigint #

reject_interbank_code_line

operation_interbank_code_line
currency
validated_by_user bigint #

journal
valid_account_set
account_account_config_clearance_account_set account_journal account_journal account_journal_valid_account_set
account_account_config bigint # id bigint # account_journal bigint #
clearance_account_set bigint # created_by bigint # valid_account_set bigint #
sequence

bankpayment_ebics_certificate
updated_by bigint #
bank
company bigint #
bankpayment_ebics_certificate ebics_bank bankpayment_ebics_bank language base_language
journal_type bigint #
sequence bigint # id bigint # id bigint # id bigint #
base_sequence_version
created_by bigint # created_by bigint # created_by bigint #
id bigint # updated_by bigint # updated_by bigint # updated_by bigint #
created_by bigint # ebics_bank bigint # bank bigint #
updated_by bigint # language bigint #
sequence bigint #

bank_reconciliation
customer
lead

helpdesk_ticket

partner
helpdesk_ticket contact_partner helpdesk_sla
purch_fixed_assets_account

sla_policy account
id bigint # id bigint #
bankpayment_bank_reconciliation_line
company_bank_details

created_by bigint # created_by bigint #


updated_by bigint # updated_by bigint # id bigint #
company_currency
purchase_account

assigned_to_user bigint # team bigint # created_by bigint #


printing_settings
product_family
cash_account

contact_partner bigint # ticket_type bigint # updated_by bigint #


sale_account

bank_details

bank_details

move_line
updated_by
created_by

customer bigint # account bigint #

bankpayment_ebics_certificate
sequence

batch_set
company

currency

lead bigint # bank_reconciliation bigint #


product

project bigint # account_payment_mode account_invoice move_line bigint #


responsible_user bigint # partner bigint #
journal
sla_policy bigint #
account_payment_mode payment_mode account_account_management account_invoice_advance_payment_invoice_set advance_payment_invoice_set account_invoice invoice account_move account_move account_move_batch_set
ticket_type bigint #
account_invoice standard_invoice period
id bigint # id bigint # account_invoice bigint # id bigint # id bigint # account_move bigint #
original_invoice ebics_user
created_by bigint # created_by bigint # advance_payment_invoice_set bigint # created_by bigint # created_by bigint # batch_set bigint #
old_move bankpayment_ebics_transfer_state bankpayment_ebics_request_log
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
subrogation_release_move
bank_order_file_format bigint # analytic_distribution_template bigint # address bigint # accounting_report bigint # id bigint # id bigint #
payment_move
bank_details bigint # bank_details bigint # company bigint # created_by bigint # created_by bigint #
auth_user

move batch_set
cash_account bigint # canceled_payment_schedule bigint # company_currency bigint # updated_by bigint # updated_by bigint #
currency bankpayment_ebics_certificate_batch_set
meta_permission company bigint # company bigint # currency bigint # ebics_user bigint #
fixed_asset_category bigint # company_bank_details bigint # invoice bigint # bankpayment_ebics_certificate bigint # response_file bigint #
journal bigint # contact_partner bigint # journal bigint # batch_set bigint #
auth_user_meta_permissions
payment_mode bigint # contract bigint # partner bigint #
auth_user bigint # product bigint # currency bigint # payment_mode bigint #
meta_permissions bigint # product_family bigint # debit_blocking_by_user bigint # payment_voucher bigint #
purch_fixed_assets_account bigint # debit_blocking_reason bigint # period bigint #
purchase_account bigint # debt_recovery_blocking_by_user bigint # stock_move bigint #
timer_list

purchase_tax bigint # debt_recovery_blocking_reason bigint #


sale_account bigint # direct_debit_management bigint #
contract
sale_tax bigint # interbank_code_line bigint #
helpdesk_ticket subrogation_release address
sequence bigint # invoice_message_template bigint #
helpdesk_ticket_timer_list payment_schedule debit_blocking_reason
tax bigint # journal bigint #
sale_tax debt_recovery_blocking_reason
helpdesk_ticket bigint # management_object bigint #
payment_mode
timer_list bigint # move bigint #
fixed_asset_category

tax

purchase_tax
analytic_distribution_template

old_move bigint #
original_invoice bigint #
partner bigint #
partner_account bigint #
payment_condition bigint #
account_reconcile_group
payment_mode bigint #
payment_mode

id bigint # payment_move bigint #


bank_details

created_by bigint # payment_schedule bigint #


updated_by bigint # price_list bigint #
payment_mode

company bigint # printedpdf bigint #


updated_by

printing_settings bigint #
currency
project bigint #
account_accounting_batch company
purchase_order bigint #
account_interbank_code_line
id bigint # reject_move_line bigint #
partner
created_by bigint # sale_order bigint #
account_interbank_code_line interbank_code_line account_cheque_rejection created_by
updated_by bigint # standard_invoice bigint #
company interbank_code_line
id bigint # id bigint # bank_details bigint # subrogation_release bigint #
direct_debit_management
created_by bigint # created_by bigint # company bigint # subrogation_release_move bigint #
updated_by bigint # updated_by bigint # currency bigint # trading_name bigint #
interbank_code bigint # company bigint # payment_mode bigint # validated_by_user bigint #
interbank_code_line bigint # period bigint # ventilated_by_user bigint #
move bigint #
interbank_code

partner bigint #
move
period

management_object
reject_move_line

payment_condition

payment_mode bigint #
payment_voucher bigint #
company_set

production_manuf_order
company_out_bank_details

created_by

created_by
company

businessproject_invoicing_project_manuf_order_set
payment_voucher

currency

move

businessproject_invoicing_project bigint #
manuf_order_set bigint #
account_account_chart account_account_chart account_account_chart_company_set move_line factor_partner invoice
updated_by account_pay_voucher_element_to_pay account_notification notification account_notification_item
id bigint # account_account_chart bigint #
businessproject_invoicing_project

created_by bigint # company_set bigint # id bigint # id bigint # id bigint #


account_accounting_situation updated_by bigint # created_by bigint # created_by bigint # created_by bigint #
meta_file bigint # updated_by bigint # updated_by bigint # updated_by bigint #
currency bigint # company bigint # invoice bigint #
account_accounting_situation partner base_year
move_line bigint # factor_partner bigint # move bigint #
subrogation_release
id bigint # id bigint # move_line_generated bigint # subrogation_release bigint # notification bigint #
payment_voucher
created_by bigint # created_by bigint # payment_voucher bigint #
updated_by bigint # updated_by bigint #
invoice businessproject_invoicing_project businessproject_invoicing_project businessproject_invoicing_project_sale_order_line_set
updated_by

company bigint # company bigint #


move_line_generated

company_in_bank_details bigint # id bigint # businessproject_invoicing_project bigint #


company

company_out_bank_details bigint # created_by bigint # sale_order_line_set bigint #


company_in_bank_details
customer_account bigint # updated_by bigint #
employee_account bigint # invoice bigint #
invoice_message_template bigint # project bigint #
account_interbank_code account_invoice_batch
interbank_code_line

partner bigint #
supplier_account bigint # id bigint # id bigint #
reconcile_group

created_by bigint # created_by bigint #


invoice_reject

bank_details
account_accounting_situation

updated_by bigint # updated_by bigint #


company

company bigint #
partner

account_move_line
account_invoice_batch

move_line_set
interbank_code_line account_move_line reject_move_line account_reimbursement account_reimbursement account_reimbursement_move_line_set
id bigint # id bigint # account_reimbursement bigint #
created_by bigint # created_by bigint # move_line_set bigint #
businessproject_invoicing_project
updated_by

updated_by bigint # updated_by bigint #


businessproject_invoicing_project_project_set
currency

account bigint # bank_details bigint #


businessproject_invoicing_project

account_clearance bigint # company bigint # businessproject_invoicing_project bigint #


account_accounting_situation_batch_set batch_set
analytic_distribution_template bigint # interbank_code_line bigint # project_set bigint #
account_invoice_batch_invoice_set invoice_set created_by
account_accounting_situation bigint # interbank_code_line bigint # partner bigint #
account_pay_voucher_due_element
batch_set bigint # account_invoice_batch bigint # invoice_reject bigint # reject_move_line bigint #
invoice_set bigint # management_object bigint # id bigint #
move bigint # created_by bigint #
move_line
accounting_situation

partner bigint # updated_by bigint #


payment_schedule_line bigint # currency bigint #
move
reconcile_group bigint # move_line bigint #
account_invoice

management_object analytic_distribution_template
updated_by

invoice_set

source_tax_line bigint # payment_voucher bigint #


created_by

tax_line bigint #
batch_set

businessproject_invoicing_project
year

businessproject_invoicing_project_log_times_set businessproject_invoicing_project_team_task_set
payment_voucher
account_clearance

tax_line
source_tax_line

businessproject_invoicing_project bigint # businessproject_invoicing_project bigint #


account_cfonb_config account_reported_balance_line created_by account_direct_debit_management
account_direct_debit_management account_direct_debit_management_invoice_set updated_by account_reimbursement
log_times_set bigint # team_task_set bigint #
account_invoice_batch_set account_invoice_line_tax invoice account_reimbursement_batch_set
id bigint # id bigint # id bigint # account_direct_debit_management bigint #
created_by bigint # created_by bigint # created_by bigint # invoice_set bigint # account_invoice bigint # id bigint # account_reimbursement bigint #
businessproject_invoicing_project

updated_by bigint # updated_by bigint # updated_by bigint # batch_set bigint # created_by bigint # batch_set bigint #
accounting_situation bigint # company bigint # updated_by bigint #
year bigint # invoice bigint #
batch_set

tax_line bigint #
engagement_duration

account_management_object account_account_clearance
renewal_duration

id bigint # id bigint #
tax_line

created_by bigint # created_by bigint #


company
updated_by bigint # updated_by bigint #
currency

company bigint #
user_id bigint # contract_contract hr_expense
unit

payment_mode
contract_contract contract_history contract_contract_version invoicing_duration contract_contract_line
additional_benefit_contract_line_list contract_contract_additional_benefit_contract_line_list businessproject_invoicing_project_expense_line_set
current_contract_version contract_version
move_line_set

id bigint # id bigint # id bigint # contract_contract bigint # businessproject_invoicing_project bigint #


next_version
created_by bigint # created_by bigint # created_by bigint # additional_benefit_contract_line_list bigint # expense_line_set bigint #
updated_by bigint # updated_by bigint # updated_by bigint #
company bigint # activated_by_user bigint # contract_version bigint #
contract_contract

currency bigint # contract_history bigint # fiscal_position bigint #


account_account_clearance
current_contract_version bigint # engagement_duration bigint # product bigint #
account_account_clearance_move_line_set
current_invoice_period bigint # invoicing_duration bigint # tax_line bigint #
account_account_clearance bigint # next_version bigint # meta_file bigint # unit bigint #
move_line_set bigint # partner bigint # payment_condition bigint #
terminated_by_user bigint # payment_mode bigint #
fiscal_position
tax_line

prior_notice_duration bigint #
company company
renewal_duration bigint #
payment_mode

prior_notice_duration account_analytic_distribution_template account_analytic_journal type account_analytic_journal_type


current_invoice_period

id bigint # id bigint # id bigint #


company

payment_condition
account

qty_unit

created_by bigint # created_by bigint # created_by bigint #


product

journal

updated_by bigint # updated_by bigint # updated_by bigint #


account_accounting_report account_payment_voucher
company bigint # company bigint #
created_by product
type bigint #
account_accounting_report period partner account_move_template_line move_template account_move_template move_template_typeaccount_move_template_type account_invoice_line_event price_unit
year
id bigint # id bigint # id bigint # id bigint # id bigint #
created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint #
contract_line_list
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
contract_contract_template_contract_line_list
analytic_journal bigint # account bigint # company bigint # price_unit bigint #
company bigint # analytic_distribution_template bigint # journal bigint # product bigint # contract_contract_template bigint #
analytic_distribution_template

currency bigint # move_template bigint # move_template_type bigint # qty_unit bigint # contract_line_list bigint #
journal bigint # partner bigint #
payment_mode bigint # product bigint #
updated_by
contract_contract_template

period bigint # tax bigint #


analytic_journal analytic_distribution_template
year bigint #
analytic_journal
tax
currency

updated_by
created_by account_analytic_distribution_line
id bigint #
created_by bigint #
updated_by bigint #
analytic_account bigint #
company_bank_details

company_bank_details

analytic_axis bigint #
analytic_distribution_template bigint #
analytic_axis
generated_move

analytic_journal bigint #
debit_move_line

reconcile_group
payment_mode

contract_contract
updated_by
move_line

company

analytic_account
invoice
account_set

imputed_by credit_move_line move_line


account_payment_voucher payment_mode account_invoice_payment reconcile account_reconcile reconcile account_tax_payment_move_line
contract_contract_history_invoice_period_list
id bigint # id bigint # id bigint # id bigint #
account_payment_condition
created_by bigint # created_by bigint # created_by bigint # created_by bigint # contract_contract bigint #
account_accounting_report
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # history_invoice_period_list bigint # id bigint #
account_accounting_report_account_set
account bigint # bank_order bigint # company bigint # move_line bigint # created_by bigint #
purchase_account

account_accounting_report bigint # company bigint # company_bank_details bigint # credit_move_line bigint # origin_tax_line bigint # updated_by bigint #
history_invoice_period_list

account_set bigint # company_bank_details bigint # currency bigint # debit_move_line bigint # reconcile bigint #
account_accounting_report

currency bigint # imputed_by bigint # reconcile_group bigint #


deposit_slip bigint # invoice bigint #
partner

origin_tax_line

account_fixed_asset generated_move bigint # move bigint #


move
move_line bigint # payment_mode bigint #
company bank_order
partner bigint # reconcile bigint #
account_fixed_asset fixed_asset_category account_fixed_asset_category fixed_asset_type account_fixed_asset_type currency
partner_set

payment_mode bigint #
currency
id bigint # id bigint # id bigint # user_id bigint #
created_by bigint # created_by bigint # created_by bigint #
updated_by bigint # updated_by bigint # updated_by bigint #
account_accounting_report
deposit_slip

company bigint # charge_account bigint #


account_accounting_report_partner_set account_accounting_report_batch_set
disposal_move bigint # company bigint #
journal
account_accounting_report bigint # account_accounting_report bigint # fixed_asset_category bigint # depreciation_account bigint #
analytic_distribution_template

partner_set bigint # batch_set bigint # invoice_line bigint # fixed_asset_type bigint #


journal bigint # journal bigint #
partner bigint #
fixed_asset_category
batch_set

purchase_account bigint #
journal
stock_location bigint #
payment_mode

disposal_move
product_set

tracking_number bigint #
created_by
company

company
currency
product

invoice

account_analytic_move_line
invoice_line

account_invoice_line contract_contract_template
account_assistant_report_invoice_product_set updated_by payment_condition
contract_line account_invoice_line budget account_budget budget account_budget_distribution contract_contract_template engagement_duration base_duration
account_assistant_report_invoice bigint #
unit renewal_duration
product_set bigint # id bigint # id bigint # id bigint # id bigint # id bigint #
prior_notice_duration
created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint #
invoicing_duration
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
product_category_set
account_assistant_report_invoice

account bigint # company bigint # budget bigint # company bigint #


batch_set

analytic_distribution_template bigint # in_charge_user bigint # invoice_line bigint # currency bigint #


budget bigint # purchase_order_line bigint # engagement_duration bigint #
invoice_line

contract_line bigint # invoicing_duration bigint #


move_line

account_payment_voucher
account

fixed_asset_category bigint # payment_condition bigint #


account_payment_voucher_batch_set
invoice_line

incoming_stock_move bigint # payment_mode bigint #


account_payment_voucher bigint # invoice bigint # prior_notice_duration bigint #
created_by
batch_set bigint # outgoing_stock_move bigint # renewal_duration bigint #
updated_by account_analytic_move_line analytic_journal account_assistant_report_invoice
account_assistant_report_invoice account_assistant_report_invoice_product_category_set
parent_line bigint #
company_bank_details

id bigint # id bigint # account_assistant_report_invoice bigint # product bigint #


created_by bigint # created_by bigint # product_category_set bigint # project bigint #
updated_by bigint # updated_by bigint # purchase_order bigint #
depreciation_account_move

account bigint # company bigint # purchase_order_line bigint #


account_type bigint # sale_order bigint #
analytic_account bigint # sale_order_line bigint #
analytic_distribution_template
analytic_axis bigint # tax_equiv bigint #
tax_equiv
analytic_distribution_template bigint # tax_line bigint #
parent_line
fixed_asset

invoice_set

analytic_journal bigint # unit bigint #


currency account_deposit_slip company
currency bigint #
analytic_axis invoice additional_benefit_list
partner_set

expense_line bigint # id bigint #


contract_invoice_period contract_invoice_period contract_invoice_period_additional_benefit_list
tax_line

invoice_line bigint # created_by bigint #


analytic_account
move_line bigint # updated_by bigint # id bigint # contract_invoice_period bigint #
account_fixed_asset_line updated_by account_subrogation_release account_subrogation_release account_subrogation_release_invoice_set currency
project bigint # company bigint # created_by bigint # additional_benefit_list bigint #
account_assistant_report_invoice created_by
invoice_line

purchase_order_line bigint # id bigint # id bigint # account_subrogation_release bigint # company_bank_details bigint # updated_by bigint #
account_assistant_report_invoice_partner_set contract
sale_order_line bigint # created_by bigint # created_by bigint # invoice_set bigint # currency bigint # contract bigint #
created_by

account_assistant_report_invoice bigint # updated_by bigint # updated_by bigint # invoice bigint #


unit

partner_set bigint # depreciation_account_move bigint # company bigint #


account_type

fixed_asset bigint #
product contract_consumption_line
contract_line budget
id bigint #
updated_by account_budget_line
created_by bigint #
updated_by bigint # id bigint #
contract_line bigint # created_by bigint #
move_list

invoice_line bigint # updated_by bigint #


product bigint # budget bigint #
unit bigint #
account_subrogation_release
account_subrogation_release_move_list
contract_contract_template

account_subrogation_release bigint #
move_list bigint #
account_journal

contract_contract
debtor_address

consumption_line_list
partner

contract_contract contract_contract_consumption_line_list
account_account_type valid_account_type_set account_journal_valid_account_type_set account_debt_recovery account_tax_line additional_benefit_contract_line_list company batch_set
contract_contract bigint #
contract_contract_template_additional_benefit_contract_line_lis contract_contract_batch contract_contract_batch_set
id bigint # account_journal bigint # consumption_line_list bigint #
account_debt_recovery_method_line_message_template_set account_umr
created_by bigint # valid_account_type_set bigint # contract_contract_template bigint # id bigint # contract_contract bigint #
contract_invoice_period

updated_by bigint # account_debt_recovery_method_line bigint # id bigint # additional_benefit_contract_line_list bigint # created_by bigint # batch_set bigint #
active_bank_details
message_template_set bigint # created_by bigint # updated_by bigint #
updated_by bigint # company bigint #
active_bank_details bigint #
account_debt_recovery_method_line

debtor_address bigint #
mandate_signature_city
mandate_signature_city bigint #
partner bigint #
updated_by
created_by

consumption_line_list
contract_invoice_period_consumption_line_list
contract_invoice_period bigint #
accounting_situation account_config
consumption_line_list bigint #
account_debt_recovery debt_recovery_method_line
account_debt_recovery_method_line debt_recovery_method account_debt_recovery_method debt_recovery_method account_debt_recovery_config_line
wait_debt_recovery_method_line
id bigint # id bigint # id bigint # id bigint #
partner_category
created_by bigint # created_by bigint # created_by bigint # created_by bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
accounting_situation bigint # debt_recovery_level bigint # account_config bigint #
debt_recovery_level
company bigint # debt_recovery_method bigint # debt_recovery_method bigint #
currency bigint # partner_category bigint #
debt_recovery_method bigint #
debt_recovery_method_line bigint #
debt_recovery_method
wait_debt_recovery_method_line bigint #
currency

account_tax_line account_tax to_tax account_tax_equiv


active_tax_line from_tax
id bigint # id bigint # id bigint #
tax reverse_charge_tax
created_by bigint # created_by bigint # created_by bigint #
updated_by bigint # updated_by bigint # updated_by bigint #
tax bigint # active_tax_linebigint # fiscal_position bigint #
from_tax bigint #
reverse_charge_tax bigint #
debt_recovery_method_line

to_tax bigint #
account_debt_recovery

debt_recovery_method

fiscal_position

debt_recovery
account_debt_recovery_payment_schedule_line_debt_recovery_set account_debt_recovery_history user_debt_recovery
account_debt_recovery bigint # id bigint #
payment_schedule_line_debt_recovery_set bigint # created_by bigint #
updated_by bigint #
debt_recovery bigint #
payment_schedule_line_debt_recovery_set

debt_recovery_method bigint #
debt_recovery_method_line bigint #
user_debt_recovery bigint #

account_paybox_config
id bigint #
created_by bigint #
updated_by bigint #
direct_debit_management

company_bank_details
management_object
interbank_code_line

reject_move_line
from_account

bank_details
updated_by

invoice_set

account_analytic_account account_payment_schedule_line
to_account
account_analytic_account account_fiscal_position fiscal_position account_account_equiv created_by account_payment_schedule_line advance_or_payment_move
account_payment_schedule account_payment_schedule account_payment_schedule_invoice_set
payment_schedule
id bigint # id bigint # id bigint # id bigint # id bigint # account_payment_schedule bigint #
created_by bigint # created_by bigint # created_by bigint # created_by bigint # created_by bigint # invoice_set bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
analytic_axis bigint # fiscal_position bigint # advance_move_line bigint # bank_details bigint #
currency
parent bigint # from_account bigint # advance_or_payment_move bigint # company bigint #
parent
to_account bigint # direct_debit_management bigint # company_bank_details bigint #
interbank_code_line bigint # currency bigint #
analytic_axis

payment_schedule bigint # management_object bigint #


updated_by

reject_move_line bigint # partner bigint #


payment_mode bigint #
businessproject_invoicing_project

created_by
account_paybox
id bigint #
created_by bigint #
payment_schedule_line_set

updated_by bigint #

purchase_purchase_order_line

businessproject_invoicing_project_purchase_order_line_set
businessproject_invoicing_project bigint #
account_debt_recovery_level account_analytic_axis
purchase_order_line_set bigint #
id bigint # id bigint #
account_irrecoverable_payment_schedule_line_set
created_by bigint # created_by bigint #
account_payment_schedule_line

updated_by bigint # updated_by bigint # account_irrecoverable bigint #


payment_schedule_line_set bigint #
account_irrecoverable

batch_set

payment_schedule_line
account_payment_schedule_line_batch_set account_irrecoverable_payment_schedule_line_line
account_debt_recovery

account_debt_recovery

account_payment_schedule_line bigint # id bigint #


batch_set bigint # created_by bigint #
updated_by bigint #
irrecoverable_customer_line bigint #
payment_schedule_line bigint #
irrecoverable_customer_line

account_debt_recovery_batch_set batch_set account_debt_recovery_invoice_debt_recovery_set invoice_debt_recovery_set


account_debt_recovery bigint # account_debt_recovery bigint #
batch_set bigint # invoice_debt_recovery_set bigint #

account_irrecoverable
payment_schedule_line_set
account_irrecoverable_customer_line_payment_schedule_line_set
account_irrecoverable_customer_line bigint #
payment_schedule_line_set bigint #
account_irrecoverable_customer_line

updated_by
created_by
invoice

irrecoverable_payment_schedule_line_line
account_irrecoverable irrecoverable account_irrecoverable_customer_line
irrecoverable_customer_line account_irrecoverable_invoice_line irrecoverable_invoice_line account_irrecoverable_report_line
id bigint # id bigint # id bigint # id bigint #
created_by bigint # created_by bigint # created_by bigint # created_by bigint #
updated_by bigint # updated_by bigint # updated_by bigint # updated_by bigint #
company bigint # irrecoverable bigint # invoice bigint # irrecoverable_invoice_line bigint #
user_id bigint # partner bigint # irrecoverable_customer_line bigint # irrecoverable_payment_schedule_line_line bigint #
account_irrecoverable

move_set

invoice_set
account_irrecoverable_move_set account_irrecoverable account_irrecoverable_invoice_set
account_irrecoverable bigint # account_irrecoverable bigint #
move_set bigint # invoice_set bigint #
Sample Layout with Tools

Table account_account
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
analytic_distribution_authori bool
zed
analytic_distribution_require bool
d_on_invoice_lines
analytic_distribution_require bool
d_on_move_lines
attrs jsonb
* Idx code varchar(255)
is_tax_authorized_on_move bool
_line
is_tax_required_on_move_li bool
ne
Idx label varchar(255)
* Idx name varchar(255)
reconcile_ok bool
use_for_partner_balance bool
created_by bigint
updated_by bigint
Idx account_type bigint
Idx company bigint
Idx parent_account bigint
Indexes
Pk account_account_pkey id
Unq uk_befehkvbkd8uop3ylxomtj import_id
x8b
account_account_account_t account_type
ype_idx
account_account_code_idx code
account_account_company company
_idx
account_account_label_idx label
account_account_name_idx name
account_account_parent_ac parent_account
count_idx
Foreign Keys
fk_33eslqcbmxjeo9im30hvnvh4 ( parent_account )
ref account_account ( id )
fk_12gjdgw5wrh94no74bssgm2if ( account_type )
ref account_account_type ( id )
fk_axixl9tm8a051tw3svsapidwh ( created_by ) ref
auth_user ( id )
fk_rjq79ywahv6u7bwrwf2tu97tj ( updated_by ) ref
auth_user ( id )
fk_injuh2v4rg3ldsn1ckfbkwm4k ( company ) ref
base_company ( id )
Table account_account_chart
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Unq code varchar(255)
country_code varchar(255)
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx meta_file bigint
Indexes
Pk account_account_chart_pke id
y
Unq uk_60p8lu2mmunnjgyhou02 code
dw62o
Unq uk_rkl89x217hy9bhv14c9ox import_id
vy27
account_account_chart_met meta_file
a_file_idx
account_account_chart_na name
me_idx
Foreign Keys
fk_12j9do6x30ist7nsla9oteggi ( created_by ) ref
auth_user ( id )
fk_huuqnlgy5b1e6c5ob474vwo04 ( updated_by ) ref
auth_user ( id )
fk_r4uvtlta356f0dkdrmrp83mn1 ( meta_file ) ref
meta_file ( id )

Table account_account_chart_company_set
* Pk account_account_chart bigint
* Pk company_set bigint
Indexes
Pk account_account_chart_co account_account_cha
mpany_set_pkey rt, company_set
Foreign Keys
fk_s3u8bkb1n4q3h2j3ufh5k3axw (
account_account_chart ) ref account_account_chart
( id )
fk_flph3ft0bqu4fcendwo8jo9h4 ( company_set ) ref
base_company ( id )

Table account_account_clearance
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* amount_threshold numeric(19,2)
Table account_account_clearance
attrs jsonb
* date_threshold date
date_time timestamp
Unq name varchar(255)
status_select integer
created_by bigint
updated_by bigint
* company bigint
Unq
Idx user_id bigint
Indexes
Pk account_account_clearance id
_pkey
Unq uk_qbjwpj20q50uevfkvux4l4 import_id
07p
Unq uk_s71gy8iuome9rkk2r7f2ot name, company
mxs
account_account_clearance company
_company_idx
account_account_clearance name
_name_idx
account_account_clearance user_id
_user_id_idx
Foreign Keys
fk_kbkhe37xwgwyaed1r43xmki79 ( created_by ) ref
auth_user ( id )
fk_ms6h71msufl0i3btbhk57b8ek ( updated_by ) ref
auth_user ( id )
fk_sqeox5j8ff8q2wyjb28w19pcs ( user_id ) ref
auth_user ( id )
fk_90nktfcg7w38ug2399h41xw4y ( company ) ref
base_company ( id )

Table account_account_clearance_move_line_set
* Pk account_account_clearance bigint
* Pk move_line_set bigint
Indexes
Pk account_account_clearance account_account_clea
_move_line_set_pkey rance, move_line_set
Foreign Keys
fk_8fldpn1591x44mdv28x87xma4 (
account_account_clearance ) ref
account_account_clearance ( id )
fk_otal4ddl0dluma8kpccn48rgj ( move_line_set ) ref
account_move_line ( id )

Table account_account_compatible_account_set
* Pk account_account bigint
* Pk compatible_account_set bigint
Indexes
Pk account_account_compatibl account_account,
e_account_set_pkey compatible_account_s
et
Foreign Keys
fk_7l26l3nnt214h03ce71n7lkyi (
compatible_account_set ) ref account_account ( id )
Table account_account_compatible_account_set
fk_hkv5a5c8hjfd8bx9r51mpo53t ( account_account
) ref account_account ( id )

Table account_account_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
accounting_daybook bool
allow_cancel_ventilated_inv bool
oice
allow_removal_validated_m bool
ove
attrs jsonb
auto_reconcile_on_invoice bool
auto_reconcile_on_payment bool
customer_account_prefix varchar(255)
display_del_addr_on_printin bool
g
display_expense_on_printin bool
g
display_partner_seq_on_pri bool
nting
display_product_code_on_p bool
rinting
display_tax_detail_on_printi bool
ng
display_timesheet_on_printi bool
ng
employee_account_prefix varchar(255)
export_file_name varchar(255)
export_path varchar(255)
fixed_asset_cat_req_on_inv bool
oice
generate_move_for_advanc bool
e_payment
generate_move_for_invoice bool
_payment
has_chart_imported bool
invoice_automatic_mail bool
invoice_client_box text
invoice_in_ati_select integer
invoice_reject_num_limit integer
irrecoverable_reason_passa varchar(255)
ge
line_min_before_long_repor integer
t_generation_message_num
ber
lower_threshold_reimburse numeric(19,2)
ment
mail_transit_time integer
partner_account_generation integer
_mode_select
Table account_account_config
payment_schedule_export_f varchar(255)
older_pathcfonb
payment_schedule_reject_n integer
um_limit
reimbursement_export_fold varchar(255)
er_path
reimbursement_export_fold varchar(255)
er_pathcfonb
reimbursement_import_fold varchar(255)
er_pathcfonb
reject_import_path_and_file varchar(255)
_name
sale_invoice_legal_note text
six_month_debt_month_nu integer
mber
six_month_debt_pass_reas varchar(255)
on
supplier_account_prefix varchar(255)
temp_import_path_and_file_ varchar(255)
name
temp_reimb_import_folder_ varchar(255)
pathcfonb
terms_and_conditions text
three_month_debt_monts_n integer
umber
three_month_debt_pass_re varchar(255)
ason
threshold_distance_from_re numeric(19,2)
gulation
upper_threshold_reimburse numeric(19,2)
ment
created_by bigint
updated_by bigint
Idx account_chart bigint
Idx account_clearance_journal bigint
Idx advance_payment_account bigint
Idx advance_payment_product bigint
Idx auto_misc_ope_journal bigint
Idx cash_journal_type bigint
Idx cash_position_variation_acc bigint
ount
Idx cfonb_config bigint
* company bigint
Unq
Idx credit_note_journal_type bigint
Idx cust_inv_sequence bigint
Idx cust_ref_sequence bigint
Idx customer_account bigint
Idx customer_account_sequenc bigint
e
Idx customer_credit_note_journ bigint
al
Idx customer_sales_journal bigint
Idx def_payment_condition bigint
Idx direct_debit_payment_mode bigint
Idx doubtful_customer_account bigint
Idx employee_account bigint
Idx employee_account_sequen bigint
ce
Table account_account_config
Idx expense_journal bigint
Idx expense_tax_account bigint
Idx factor_credit_account bigint
Idx factor_debit_account bigint
Idx factor_partner bigint
Idx forecasted_inv_cust_accoun bigint
t
Idx forecasted_inv_supp_accou bigint
nt
Idx in_payment_mode bigint
Idx invoice_message_template bigint
Idx invoicing_product bigint
Idx irrecoverable_account bigint
Idx irrecoverable_journal bigint
Idx irrecoverable_standard_rate bigint
_tax
Idx manual_misc_ope_journal bigint
Idx out_payment_mode bigint
Idx paybox_config bigint
Idx paying_back_tax bigint
Idx profit_account bigint
Idx purchase_journal_type bigint
Idx reimbursement_account bigint
Idx reimbursement_journal bigint
Idx reimbursement_template bigint
Idx reject_journal bigint
Idx reject_payment_schedule_t bigint
emplate
Idx rejection_payment_mode bigint
Idx sale_journal_type bigint
Idx standard_rate_tax bigint
Idx supp_inv_sequence bigint
Idx supp_ref_sequence bigint
Idx supplier_account bigint
Idx supplier_account_sequence bigint
Idx supplier_credit_note_journal bigint
Idx supplier_purchase_journal bigint
Indexes
Pk account_account_config_pk id
ey
Unq uk_f5o33y7tc1qd66y07txv4 company
3bvj
Unq uk_jcdiff5l5v6gh56ptpo33iajt import_id
account_account_config_ac account_chart
count_chart_idx
account_account_config_ac account_clearance_jo
count_clearance_journal_id urnal
x
account_account_config_ad advance_payment_ac
vance_payment_account_id count
x
account_account_config_ad advance_payment_pr
vance_payment_product_id oduct
x
account_account_config_au auto_misc_ope_journ
to_misc_ope_journal_idx al
Table account_account_config
account_account_config_ca cash_journal_type
sh_journal_type_idx
account_account_config_ca cash_position_variatio
sh_position_variation_accou n_account
nt_idx
account_account_config_cfo cfonb_config
nb_config_idx
account_account_config_cr credit_note_journal_ty
edit_note_journal_type_idx pe
account_account_config_cu cust_inv_sequence
st_inv_sequence_idx
account_account_config_cu cust_ref_sequence
st_ref_sequence_idx
account_account_config_cu customer_account
stomer_account_idx
account_account_config_cu customer_account_se
stomer_account_sequence_ quence
idx
account_account_config_cu customer_credit_note
stomer_credit_note_journal_ _journal
idx
account_account_config_cu customer_sales_journ
stomer_sales_journal_idx al
account_account_config_de def_payment_conditio
f_payment_condition_idx n
account_account_config_dir direct_debit_payment
ect_debit_payment_mode_i _mode
dx
account_account_config_do doubtful_customer_ac
ubtful_customer_account_id count
x
account_account_config_e employee_account
mployee_account_idx
account_account_config_e employee_account_se
mployee_account_sequenc quence
e_idx
account_account_config_ex expense_journal
pense_journal_idx
account_account_config_ex expense_tax_account
pense_tax_account_idx
account_account_config_fac factor_credit_account
tor_credit_account_idx
account_account_config_fac factor_debit_account
tor_debit_account_idx
account_account_config_fac factor_partner
tor_partner_idx
account_account_config_for forecasted_inv_cust_a
ecasted_inv_cust_account_i ccount
dx
account_account_config_for forecasted_inv_supp_
ecasted_inv_supp_account_ account
idx
account_account_config_in_ in_payment_mode
payment_mode_idx
account_account_config_inv invoice_message_tem
oice_message_template_idx plate
account_account_config_inv invoicing_product
oicing_product_idx
account_account_config_irr irrecoverable_account
ecoverable_account_idx
account_account_config_irr irrecoverable_journal
ecoverable_journal_idx
Table account_account_config
account_account_config_irr irrecoverable_standar
ecoverable_standard_rate_t d_rate_tax
ax_idx
account_account_config_m manual_misc_ope_jou
anual_misc_ope_journal_idx rnal
account_account_config_ou out_payment_mode
t_payment_mode_idx
account_account_config_pa paybox_config
ybox_config_idx
account_account_config_pa paying_back_tax
ying_back_tax_idx
account_account_config_pr profit_account
ofit_account_idx
account_account_config_pu purchase_journal_typ
rchase_journal_type_idx e
account_account_config_rei reimbursement_accou
mbursement_account_idx nt
account_account_config_rei reimbursement_journa
mbursement_journal_idx l
account_account_config_rei reimbursement_templ
mbursement_template_idx ate
account_account_config_rej reject_journal
ect_journal_idx
account_account_config_rej reject_payment_sched
ect_payment_schedule_tem ule_template
plate_idx
account_account_config_rej rejection_payment_m
ection_payment_mode_idx ode
account_account_config_sal sale_journal_type
e_journal_type_idx
account_account_config_sta standard_rate_tax
ndard_rate_tax_idx
account_account_config_su supp_inv_sequence
pp_inv_sequence_idx
account_account_config_su supp_ref_sequence
pp_ref_sequence_idx
account_account_config_su supplier_account
pplier_account_idx
account_account_config_su supplier_account_seq
pplier_account_sequence_i uence
dx
account_account_config_su supplier_credit_note_j
pplier_credit_note_journal_i ournal
dx
account_account_config_su supplier_purchase_jou
pplier_purchase_journal_idx rnal
Foreign Keys
fk_848corsbvwgouv91nvf9l4vb1 (
cash_position_variation_account ) ref
account_account ( id )
fk_9ay3oak6wuoi3gstwwhn4iegx (
forecasted_inv_supp_account ) ref
account_account ( id )
fk_an91v4ff5x88lu2oiewaitul2 ( employee_account )
ref account_account ( id )
fk_apc5xk2wlyrx0o3dyk59y2kpe ( profit_account )
ref account_account ( id )
fk_d2msephvrdon4x89i8nlxahhb ( supplier_account
) ref account_account ( id )
fk_dqa6bjxve7f86y8a913gq1lyf (
doubtful_customer_account ) ref account_account (
id )
Table account_account_config
fk_g9aq30txx78hjc43uil8c5hxg (
advance_payment_account ) ref account_account (
id )
fk_gluk4l5004t31713vtvhw5dd4 (
factor_debit_account ) ref account_account ( id )
fk_kf4e812ai4d2r1q44xcmvb4po (
expense_tax_account ) ref account_account ( id )
fk_p04apj5aybaxie8fiyaqynh68 ( customer_account
) ref account_account ( id )
fk_ph9875d53089x68qs5dq3x8vv (
reimbursement_account ) ref account_account ( id )
fk_pvwlsmdrt3m8lr85f36lbq5yn (
forecasted_inv_cust_account ) ref account_account
( id )
fk_px9qut328t9ipki53mpja6tsf (
irrecoverable_account ) ref account_account ( id )
fk_t0p43t4gvns5bcob174ocnm7l (
factor_credit_account ) ref account_account ( id )
fk_6osdp23825p95d5ru2ymss0oc ( account_chart )
ref account_account_chart ( id )
fk_ld26r04y13sikesavrxu3nwcb ( cfonb_config ) ref
account_cfonb_config ( id )
fk_2j40g8nj8173q18h8cixf6dp1 ( expense_journal )
ref account_journal ( id )
fk_4bi2js03mgbuhr213vwpjfta (
supplier_credit_note_journal ) ref account_journal (
id )
fk_6lndcmnwgfxkmsvc9r8usiuop (
reimbursement_journal ) ref account_journal ( id )
fk_6x6u1b8w8jgui47lrfhu8rdvj (
irrecoverable_journal ) ref account_journal ( id )
fk_7mn6rm8dorwpk6eq3xmqu6tuc ( reject_journal )
ref account_journal ( id )
fk_92xalfvrpfjk5ujhr9m78oj8a (
customer_credit_note_journal ) ref account_journal
( id )
fk_g55v59frrug7gkid119ga0d41 (
auto_misc_ope_journal ) ref account_journal ( id )
fk_jmmy6uwvy3rm8xj8i5loffxac (
supplier_purchase_journal ) ref account_journal ( id
)
fk_kfejr13dvggthkdtf685co009 (
manual_misc_ope_journal ) ref account_journal ( id
)
fk_ltsr3tx4rhpeytumu8e9voesy (
customer_sales_journal ) ref account_journal ( id )
fk_qd96gtuscd98qyxrjm7oyxqv9 (
account_clearance_journal ) ref account_journal ( id
)
fk_2a7bpdkutgwrwrv046rl2mtlk (
purchase_journal_type ) ref account_journal_type (
id )
fk_ad6mscpahh6bkn3rg50na4pof (
sale_journal_type ) ref account_journal_type ( id )
fk_orq5hh1f3854y51fp7ydrprhs ( cash_journal_type
) ref account_journal_type ( id )
fk_tljegt37iwamng4mk6n57xys5 (
credit_note_journal_type ) ref account_journal_type
( id )
fk_h12n6lnku0aqey6bhvj14ecoh ( paybox_config )
ref account_paybox_config ( id )
fk_8k23ib72pyqcuouv74hm374xq (
def_payment_condition ) ref
account_payment_condition ( id )
Table account_account_config
fk_bmkb579glypa9s01nwa6anyu5 (
direct_debit_payment_mode ) ref
account_payment_mode ( id )
fk_l6ynmxprdbg16vkr49xnw65cq (
in_payment_mode ) ref account_payment_mode (
id )
fk_oi9lsr84lokwyxrolt1a4kgqx ( out_payment_mode
) ref account_payment_mode ( id )
fk_q7fmiwcioouj2dt8ye47lva1m (
rejection_payment_mode ) ref
account_payment_mode ( id )
fk_dmdvht8ybf1rp1kyuc4lp47p5 ( standard_rate_tax
) ref account_tax ( id )
fk_htixy84xrwe12n3sb41742ctn (
irrecoverable_standard_rate_tax ) ref account_tax (
id )
fk_mnhxd4jir1hcf6p8dhssfns3w ( paying_back_tax )
ref account_tax ( id )
fk_b8a7ey3dx5oudqx8gbd3715fa ( created_by ) ref
auth_user ( id )
fk_eqke50qvylh3pcpdbtwn40jxu ( updated_by ) ref
auth_user ( id )
fk_f5o33y7tc1qd66y07txv43bvj ( company ) ref
base_company ( id )
fk_iekwhjatdyjks3ywwwly4vd1b ( factor_partner ) ref
base_partner ( id )
fk_bsqyyphysiqjc8dkf828oelh1 ( invoicing_product )
ref base_product ( id )
fk_ebf9sbwbc2ao58g0gm9k3t6is (
advance_payment_product ) ref base_product ( id )
fk_3enb0j3aan1emu6c8hiexx0ns (
cust_ref_sequence ) ref base_sequence ( id )
fk_9s4bvr8711oonxtgnkt8uji2l (
supplier_account_sequence ) ref base_sequence (
id )
fk_a1fet6ja5fajep0tjm855wpha (
customer_account_sequence ) ref base_sequence (
id )
fk_cyph9tlitrmhimwokdi6hqp04 (
supp_ref_sequence ) ref base_sequence ( id )
fk_gyet66mm3uabe30n3xvxq3opt (
employee_account_sequence ) ref base_sequence
( id )
fk_noxj8wf8n9ijbh1j9we8gxk5p (
cust_inv_sequence ) ref base_sequence ( id )
fk_qqsyjl8bbyhqb0bkvr1mvj8d0 (
supp_inv_sequence ) ref base_sequence ( id )
fk_bwqumpsw0or17jhk8ju1vjjea (
reimbursement_template ) ref message_template (
id )
fk_g34if1vsdwfcbvtcv980xuxtk (
reject_payment_schedule_template ) ref
message_template ( id )
fk_it1kin703kut1v52vvr3o0e5p (
invoice_message_template ) ref message_template
( id )
Constraints
account_account_config_lin line_min_before_long
e_min_before_long_report_ _report_generation_m
genera_check essage_number >= 0
Table account_account_config_clearance_account_set
* Pk account_account_config bigint
* Pk clearance_account_set bigint
Indexes
Pk account_account_config_cle account_account_conf
arance_account_set_pkey ig,
clearance_account_se
t
Foreign Keys
fk_pklemj77wya679jjcm25yhwbf (
clearance_account_set ) ref account_account ( id )
fk_6l3g79f5sp222om9cvkww70wq (
account_account_config ) ref
account_account_config ( id )

Table account_account_equiv
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
created_by bigint
updated_by bigint
Idx fiscal_position bigint
Idx from_account bigint
Idx to_account bigint
Indexes
Pk account_account_equiv_pke id
y
Unq uk_o6mev8hr6k1wyvs0pq79 import_id
i8xbk
account_account_equiv_fisc fiscal_position
al_position_idx
account_account_equiv_fro from_account
m_account_idx
account_account_equiv_to_ to_account
account_idx
Foreign Keys
fk_2jxbywth6xlfamxh86ybmcmvy ( from_account )
ref account_account ( id )
fk_tq3yl3421au9yl6m07o30n4u8 ( to_account ) ref
account_account ( id )
fk_t2wfik9u87qy9vpwwuab9aj09 ( fiscal_position )
ref account_fiscal_position ( id )
fk_3vtvci1nsbkmjxn3mgravbluq ( updated_by ) ref
auth_user ( id )
fk_pb7mmnxj8jjrjnd0mnkc1ep2b ( created_by ) ref
auth_user ( id )

Table account_account_management
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
Table account_account_management
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* type_select integer
created_by bigint
updated_by bigint
Idx analytic_distribution_templat bigint
e
Idx bank_details bigint
Idx cash_account bigint
* Idx company bigint
Idx fixed_asset_category bigint
Idx journal bigint
Idx payment_mode bigint
Idx product bigint
Idx product_family bigint
Idx purch_fixed_assets_account bigint
Idx purchase_account bigint
Idx purchase_tax bigint
Idx sale_account bigint
Idx sale_tax bigint
Idx sequence bigint
Idx tax bigint
Indexes
Pk account_account_managem id
ent_pkey
Unq uk_orpil39bu71s5u8te8di9w import_id
0p6
account_account_managem analytic_distribution_t
ent_analytic_distribution_te emplate
mplate_idx
account_account_managem bank_details
ent_bank_details_idx
account_account_managem cash_account
ent_cash_account_idx
account_account_managem company
ent_company_idx
account_account_managem fixed_asset_category
ent_fixed_asset_category_i
dx
account_account_managem journal
ent_journal_idx
account_account_managem payment_mode
ent_payment_mode_idx
account_account_managem product_family
ent_product_family_idx
account_account_managem product
ent_product_idx
account_account_managem purch_fixed_assets_a
ent_purch_fixed_assets_acc ccount
ount_idx
account_account_managem purchase_account
ent_purchase_account_idx
account_account_managem purchase_tax
ent_purchase_tax_idx
account_account_managem sale_account
ent_sale_account_idx
Table account_account_management
account_account_managem sale_tax
ent_sale_tax_idx
account_account_managem sequence
ent_sequence_idx
account_account_managem tax
ent_tax_idx
Foreign Keys
fk_b2y38291oay9c1p32nrs5cyg8 ( sale_account )
ref account_account ( id )
fk_d2oxuj78btf92fr8pwroa21jk (
purch_fixed_assets_account ) ref account_account
( id )
fk_m8jk7u46qq96j7qaf22yt145b (
purchase_account ) ref account_account ( id )
fk_thnwtur3hirt5evp7dyhm5edh ( cash_account ) ref
account_account ( id )
fk_6jcrubkc39tbxk98mvu29o0jq (
analytic_distribution_template ) ref
account_analytic_distribution_template ( id )
fk_ec9pve7x7en5tmpyt8kf6x6pw (
fixed_asset_category ) ref
account_fixed_asset_category ( id )
fk_2kiif5vwp8o9ynnakitftmfyg ( journal ) ref
account_journal ( id )
fk_cghxmcslmftqpcwpg0stng3vr ( payment_mode )
ref account_payment_mode ( id )
fk_2cutcfird6q6t6i20vkhx1xbi ( tax ) ref account_tax
( id )
fk_5txcygohn00kpd2ycby6eh0my ( sale_tax ) ref
account_tax ( id )
fk_q2nqyrogt2nv0oc9abpgakd27 ( purchase_tax )
ref account_tax ( id )
fk_35eihnmu0lyjgjsxlol27nskq ( created_by ) ref
auth_user ( id )
fk_qwcqqn8c1efictwlurbyxe701 ( updated_by ) ref
auth_user ( id )
fk_jgittu2vfp0s5v1i5paklkwcv ( bank_details ) ref
base_bank_details ( id )
fk_iaq4syfx398ub8emenvwq0jx5 ( company ) ref
base_company ( id )
fk_d7gxs4nowaiwm9rwvoefmf7yq ( product ) ref
base_product ( id )
fk_o0in7yoo6u4kuweinp8tg8mdn ( product_family )
ref base_product_family ( id )
fk_lbjuapsfsmat6rtnoe4g2uo0m ( sequence ) ref
base_sequence ( id )

Table account_account_type
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
* technical_type_select varchar(255)
created_by bigint
Table account_account_type
updated_by bigint
Indexes
Pk account_account_type_pkey id
Unq uk_py7hreoj0w6pkgqmt87t8 import_id
5d94
account_account_type_nam name
e_idx
Foreign Keys
fk_lpy7pnuld1fy5tusq0kvkhopq ( updated_by ) ref
auth_user ( id )
fk_ogtybloqkbv87ef53aorthxft ( created_by ) ref
auth_user ( id )

Table account_accounting_batch
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* action_select integer
attrs jsonb
Unq code varchar(255)
credit_transfer_type_select integer
* customer_reimbursement_ty integer
pe_select
debt_recovery_type_select integer
description text
direct_debit_data_type_sele integer
ct
due_date date
end_date date
include_other_bank_accoun bool
ts
move_line_export_type_sel integer
ect
reimbursement_export_type integer
_select
reimbursement_type_select integer
start_date date
update_cust_account_ok bool
update_due_cust_account_ bool
ok
update_due_debt_recovery bool
_cust_account_ok
created_by bigint
updated_by bigint
Idx bank_details bigint
* Idx company bigint
Idx currency bigint
Idx payment_mode bigint
Idx period bigint
Indexes
Pk account_accounting_batch_ id
pkey
Table account_accounting_batch
Unq uk_4r8y0mljxg0idkj2sri5hew code
q7
Unq uk_c65b2pq0wxqoaati21pd import_id
wgn4m
account_accounting_batch_ bank_details
bank_details_idx
account_accounting_batch_ company
company_idx
account_accounting_batch_ currency
currency_idx
account_accounting_batch_ payment_mode
payment_mode_idx
account_accounting_batch_ period
period_idx
Foreign Keys
fk_4qqtawvb1wc3lku4i0hu1tjmj ( payment_mode )
ref account_payment_mode ( id )
fk_49bfqck1omj69pidjb3cnv499 ( updated_by ) ref
auth_user ( id )
fk_k2paqc4jem98k5phi5s89csox ( created_by ) ref
auth_user ( id )
fk_of03qgn7a1oh313blhgnlhv1j ( bank_details ) ref
base_bank_details ( id )
fk_2aj5egrad14o343ww54hyjryy ( company ) ref
base_company ( id )
fk_6vx2a0cc36qusk38lwf6tl8y7 ( currency ) ref
base_currency ( id )
fk_glw7bdkhmyoimktwakiinqa9u ( period ) ref
base_period ( id )

Table account_accounting_report
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
balance numeric(19,2)
* date_val date
date_from date
date_to date
detailed bool
display_code_account_colu bool
mn_on_printing
display_cumulative_balance bool
display_move_line_sequenc bool
e_on_printing
display_name_account_colu bool
mn_on_printing
display_only_not_completel bool
y_lettered_move_lines
export_type_select varchar(255)
global bool
global_by_date bool
global_by_partner bool
Table account_accounting_report
publication_date_time timestamp
Unq ref varchar(255)
status_select integer
total_credit numeric(19,2)
total_debit numeric(19,2)
* type_select integer
created_by bigint
updated_by bigint
Idx analytic_journal bigint
* company bigint
Unq
Idx currency bigint
Idx journal bigint
Idx payment_mode bigint
Idx period bigint
Idx year bigint
Indexes
Pk account_accounting_report_ id
pkey
Unq uk_4wpptfvgs2yenvc87ogrd import_id
8w8b
Unq uk_fbro009j527f3iia587qw9 ref, company
k1m
account_accounting_report_ analytic_journal
analytic_journal_idx
account_accounting_report_ company
company_idx
account_accounting_report_ currency
currency_idx
account_accounting_report_ journal
journal_idx
account_accounting_report_ payment_mode
payment_mode_idx
account_accounting_report_ period
period_idx
account_accounting_report_ ref
ref_idx
account_accounting_report_ year
year_idx
Foreign Keys
fk_i703miehb00j5kjhuppxn46xm ( analytic_journal )
ref account_analytic_journal ( id )
fk_5v0eibytk04l4xttoqiqjahh ( journal ) ref
account_journal ( id )
fk_j51vrxjcd3h83kxvleduvvorg ( payment_mode )
ref account_payment_mode ( id )
fk_78liq1n9c3vskbx9hsb7sohmf ( created_by ) ref
auth_user ( id )
fk_7xplvr27mf9byie16oeu8xi8f ( updated_by ) ref
auth_user ( id )
fk_by2lkufb10dbqcl6g12o7wo7b ( company ) ref
base_company ( id )
fk_5nnmwre3u80fdq4gs749t4nwe ( currency ) ref
base_currency ( id )
fk_giwuetxckbw6fqoacj7a2xcl7 ( period ) ref
base_period ( id )
fk_teogklu9lk4r89nwxned39nl ( year ) ref base_year
( id )
Table account_accounting_report_account_set
* Pk account_accounting_report bigint
* Pk account_set bigint
Indexes
Pk account_accounting_report_ account_accounting_r
account_set_pkey eport, account_set
Foreign Keys
fk_82o3v5qlrq362kypgjoktd3u4 ( account_set ) ref
account_account ( id )
fk_kgcguog8c8mhly6ol8dxp0qqj (
account_accounting_report ) ref
account_accounting_report ( id )

Table account_accounting_report_batch_set
* Pk account_accounting_report bigint
* Pk batch_set bigint
Indexes
Pk account_accounting_report_ account_accounting_r
batch_set_pkey eport, batch_set
Foreign Keys
fk_31dsgx4w63qsjxt9odppwfwha (
account_accounting_report ) ref
account_accounting_report ( id )
fk_poovqj40c9yvse7d944tcxf3w ( batch_set ) ref
base_batch ( id )

Table account_accounting_report_partner_set
* Pk account_accounting_report bigint
* Pk partner_set bigint
Indexes
Pk account_accounting_report_ account_accounting_r
partner_set_pkey eport, partner_set
Foreign Keys
fk_7rh8m7a4x7awykrq2fy4v8rc7 (
account_accounting_report ) ref
account_accounting_report ( id )
fk_tcfm46st8c832vbk1m8nto2p1 ( partner_set ) ref
base_partner ( id )

Table account_accounting_situation
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
accepted_credit numeric(20,2)
attrs jsonb
balance_cust_account numeric(19,2)
balance_due_cust_account numeric(19,2)
balance_due_debt_recovery numeric(19,2)
_cust_account
cust_account_must_be_upd bool
ate_ok
invoice_automatic_mail bool
Table account_accounting_situation
Idx name varchar(255)
used_credit numeric(20,2)
created_by bigint
updated_by bigint
Idx company bigint
Idx company_in_bank_details bigint
Idx company_out_bank_details bigint
Idx customer_account bigint
Idx employee_account bigint
Idx invoice_message_template bigint
Idx partner bigint
Idx supplier_account bigint
Indexes
Pk account_accounting_situatio id
n_pkey
Unq uk_s9ksga9bni3h3lhulq7tfxt import_id
cn
account_accounting_situatio company
n_company_idx
account_accounting_situatio company_in_bank_de
n_company_in_bank_details tails
_idx
account_accounting_situatio company_out_bank_d
n_company_out_bank_detai etails
ls_idx
account_accounting_situatio customer_account
n_customer_account_idx
account_accounting_situatio employee_account
n_employee_account_idx
account_accounting_situatio invoice_message_tem
n_invoice_message_templat plate
e_idx
account_accounting_situatio name
n_name_idx
account_accounting_situatio partner
n_partner_idx
account_accounting_situatio supplier_account
n_supplier_account_idx
Foreign Keys
fk_gi9yyp40sk1kuy02tgp6o9q3j (
employee_account ) ref account_account ( id )
fk_teyqc5qgg7w6g80rtbdyan7mm (
customer_account ) ref account_account ( id )
fk_trnbvesyn4j8503scr2cptfi3 ( supplier_account )
ref account_account ( id )
fk_6ia09kfbvosn05s4i7ktx94df ( updated_by ) ref
auth_user ( id )
fk_enw6ra2eot07elpnhx9x48aq6 ( created_by ) ref
auth_user ( id )
fk_1lp5ui9hsxfso6d0a863fpfst (
company_in_bank_details ) ref base_bank_details (
id )
fk_lxjpaqcffwnopuj7ppi6oo0hx (
company_out_bank_details ) ref base_bank_details
( id )
fk_bqa8nv91tkapha8xg93c6ch7l ( company ) ref
base_company ( id )
fk_g8my4hkkhwibprd5khvds2fs1 ( partner ) ref
base_partner ( id )
Table account_accounting_situation
fk_j4qbopp30aqy9vi24hrkaav0e (
invoice_message_template ) ref message_template
( id )

Table account_accounting_situation_batch_set
* Pk account_accounting_situatio bigint
n
* Pk batch_set bigint
Indexes
Pk account_accounting_situatio account_accounting_s
n_batch_set_pkey ituation, batch_set
Foreign Keys
fk_193bpqi0ibhi0tm85448krlq6 (
account_accounting_situation ) ref
account_accounting_situation ( id )
fk_s687lak7ce1mr2875gvb8au52 ( batch_set ) ref
base_batch ( id )

Table account_analytic_account
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Unq analytic_axis bigint
Idx parent bigint
Indexes
Pk account_analytic_account_p id
key
Unq uk_2wcyk0kbps6ppf422cm7 import_id
ipsmr
Unq uk_flgpjimyp863kf3n0rn3w0 code, name,
dwe analytic_axis
account_analytic_account_a analytic_axis
nalytic_axis_idx
account_analytic_account_c code
ode_idx
account_analytic_account_n name
ame_idx
account_analytic_account_p parent
arent_idx
Foreign Keys
fk_ihujxodau8c91ugoaksxkcyfu ( parent ) ref
account_analytic_account ( id )
fk_57c2alw7ddxqftpd80ow9g6g0 ( analytic_axis )
ref account_analytic_axis ( id )
fk_mg2ex698m59hh339sc7da790t ( created_by )
ref auth_user ( id )
Table account_analytic_account
fk_mks3dvon5qd7bhgqjrh32gjjp ( updated_by ) ref
auth_user ( id )

Table account_analytic_axis
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Indexes
Pk account_analytic_axis_pkey id
Unq uk_6masig3d4cappi9dbg5jf import_id
qegk
Unq uk_7rlmt8dr64gsaeur4kfqwx name
o8d
Unq uk_9ma4swyu8mk390w4n1 code
coa8tqc
Foreign Keys
fk_d7ih1t8yy40f79n1b280st82n ( created_by ) ref
auth_user ( id )
fk_i0449h10c0euoe7refkjqllye ( updated_by ) ref
auth_user ( id )

Table account_analytic_distribution_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
percentage numeric(19,2)
created_by bigint
updated_by bigint
Idx analytic_account bigint
Idx analytic_axis bigint
Idx analytic_distribution_templat bigint
e
Idx analytic_journal bigint
Indexes
Pk account_analytic_distributio id
n_line_pkey
Unq uk_kmxsol31lhfl9ffvyv0c46v import_id
wd
Table account_analytic_distribution_line
account_analytic_distributio analytic_account
n_line_analytic_account_idx
account_analytic_distributio analytic_axis
n_line_analytic_axis_idx
account_analytic_distributio analytic_journal
n_line_analytic_journal_idx
idx_acc_ana_dist_line_ana_ analytic_distribution_t
dist_template emplate
Foreign Keys
fk_lea5aybuufpxk3rgckextkq42 ( analytic_account )
ref account_analytic_account ( id )
fk_fsv0dc9fetses83d3vdv5unsy ( analytic_axis ) ref
account_analytic_axis ( id )
fk_3mx3w9tq349ky6wrk6052a4du (
analytic_distribution_template ) ref
account_analytic_distribution_template ( id )
fk_ke4dpu7nsqb8upc2cjwvq820b ( analytic_journal
) ref account_analytic_journal ( id )
fk_k8y9a8mf0gjgr3rdyyghi9npc ( updated_by ) ref
auth_user ( id )
fk_srok14o16nfynxm9vouep3eao ( created_by ) ref
auth_user ( id )

Table account_analytic_distribution_template
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx company bigint
Indexes
Pk account_analytic_distributio id
n_template_pkey
Unq uk_qhracb0ddevp8hvt54jkw import_id
ooqu
account_analytic_distributio company
n_template_company_idx
account_analytic_distributio name
n_template_name_idx
Foreign Keys
fk_e19stiv30vgchl5d754kffvr4 ( created_by ) ref
auth_user ( id )
fk_fh8oyfn91kjpyxgp9iulw95wt ( updated_by ) ref
auth_user ( id )
fk_riirtsi8f08ftp1g0934nvf7q ( company ) ref
base_company ( id )

Table account_analytic_journal
* Pk id bigint
archived bool
Unq import_id varchar(255)
Table account_analytic_journal
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Idx company bigint
Idx type bigint
Indexes
Pk account_analytic_journal_pk id
ey
Unq uk_5a9p042vq3iktpgf2yfhhw name
943
Unq uk_8d5agdqbd99n8laoo2k9f import_id
9dsk
account_analytic_journal_co company
mpany_idx
account_analytic_journal_ty type
pe_idx
Foreign Keys
fk_pf7ji3d399q0hlr98sxlkte40 ( type ) ref
account_analytic_journal_type ( id )
fk_7rw520bba7cgakwtuselb7ljl ( created_by ) ref
auth_user ( id )
fk_mn96dapydqy69ne3i7occm8km ( updated_by )
ref auth_user ( id )
fk_ibnlnh353gsy5x2dlhji1d3r4 ( company ) ref
base_company ( id )

Table account_analytic_journal_type
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Indexes
Pk account_analytic_journal_ty id
pe_pkey
Unq uk_4b5en8dkdmjsq5dtg5i1 code
mcwfa
Unq uk_9xcg1a2iv4qcdtpcseqtsy import_id
2o4
Unq uk_ka7p8hr4bdpd8rq0lu12k name
1vsc
Foreign Keys
Table account_analytic_journal_type
fk_d02o6q2wv9q3gyt0g7yfpiggu ( updated_by ) ref
auth_user ( id )
fk_stgrixy0sy9aj6okdnpp9ggw ( created_by ) ref
auth_user ( id )

Table account_analytic_move_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount numeric(19,2)
attrs jsonb
date_val date
original_piece_amount numeric(19,2)
percentage numeric(19,2)
type_select integer
created_by bigint
updated_by bigint
Idx account bigint
Idx account_type bigint
Idx analytic_account bigint
Idx analytic_axis bigint
Idx analytic_distribution_templat bigint
e
Idx analytic_journal bigint
Idx currency bigint
Idx expense_line bigint
Idx invoice_line bigint
Idx move_line bigint
Idx project bigint
Idx purchase_order_line bigint
Idx sale_order_line bigint
Indexes
Pk account_analytic_move_line id
_pkey
Unq uk_b07rtjhk3tx1icdrwf22ta8y import_id
t
account_analytic_move_line account
_account_idx
account_analytic_move_line account_type
_account_type_idx
account_analytic_move_line analytic_account
_analytic_account_idx
account_analytic_move_line analytic_axis
_analytic_axis_idx
account_analytic_move_line analytic_journal
_analytic_journal_idx
account_analytic_move_line currency
_currency_idx
account_analytic_move_line expense_line
_expense_line_idx
account_analytic_move_line invoice_line
_invoice_line_idx
Table account_analytic_move_line
account_analytic_move_line move_line
_move_line_idx
account_analytic_move_line project
_project_idx
account_analytic_move_line purchase_order_line
_purchase_order_line_idx
account_analytic_move_line sale_order_line
_sale_order_line_idx
idx_acc_ana_move_line_an analytic_distribution_t
a_dist_template emplate
Foreign Keys
fk_oin0famk1nhcbtbvpkm7si8cj ( account ) ref
account_account ( id )
fk_hgiuiyh2e3sal76q9hex31pml ( account_type ) ref
account_account_type ( id )
fk_70r6mh3pguru9n76wmsbsp6pg (
analytic_account ) ref account_analytic_account ( id
)
fk_dbcvxaeiyhjd6snybbp264yyb ( analytic_axis ) ref
account_analytic_axis ( id )
fk_h5u79iu8u45epaec0w4layrla (
analytic_distribution_template ) ref
account_analytic_distribution_template ( id )
fk_6vjel7huwbs4rytx5dgyr8a25 ( analytic_journal )
ref account_analytic_journal ( id )
fk_24yw8uvu9gx1luqs5s01fsiy2 ( invoice_line ) ref
account_invoice_line ( id )
fk_cryt6yjs2hlu6fdnshwmmi5mi ( move_line ) ref
account_move_line ( id )
fk_6mcumahaca6jh3m0ax1lv0vc4 ( created_by ) ref
auth_user ( id )
fk_h4ua2gnwy8wnvlt7qa6a9vvd1 ( updated_by ) ref
auth_user ( id )
fk_i4h9v1w5q47elcs635sdihr8t ( currency ) ref
base_currency ( id )
fk_jb1f8tchjxn6by9n57o7qpfu4 ( expense_line ) ref
hr_expense_line ( id )
fk_hrpy8gmq4w45f1u1we9dgu71a ( project ) ref
project_project ( id )
fk_d5bkjuf8t2pudy6cpqjq27whm (
purchase_order_line ) ref
purchase_purchase_order_line ( id )
fk_xrmxvgdsobsuw4a71bmu7tei ( sale_order_line )
ref sale_sale_order_line ( id )

Table account_assistant_report_invoice
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
format_select varchar(255)
from_date date
graph_type_select integer
publication_date_time timestamp
to_date date
Table account_assistant_report_invoice
turnover_type_select integer
type integer
created_by bigint
updated_by bigint
Idx company bigint
Indexes
Pk account_assistant_report_in id
voice_pkey
Unq uk_pv9e2ior0oslvxmlhgf5pi5 import_id
a7
account_assistant_report_in company
voice_company_idx
Foreign Keys
fk_496y4wh3nty989euw0cthb9cd ( created_by ) ref
auth_user ( id )
fk_soill649hxw7bf9osovjdfdtm ( updated_by ) ref
auth_user ( id )
fk_h3ibt0n0v9m9h5g59p5rovlin ( company ) ref
base_company ( id )

Table account_assistant_report_invoice_partner_set
* Pk account_assistant_report_in bigint
voice
* Pk partner_set bigint
Indexes
Pk account_assistant_report_in account_assistant_rep
voice_partner_set_pkey ort_invoice,
partner_set
Foreign Keys
fk_koc11p2rmbuee0o58bgahmd74 (
account_assistant_report_invoice ) ref
account_assistant_report_invoice ( id )
fk_qbkktfb4cfwk0r6g1pvcck51x ( partner_set ) ref
base_partner ( id )

Table account_assistant_report_invoice_product_category_set
* Pk account_assistant_report_in bigint
voice
* Pk product_category_set bigint
Indexes
Pk account_assistant_report_in account_assistant_rep
voice_product_category_set ort_invoice,
_pkey product_category_set
Foreign Keys
fk_nf7iycgt187uhblj640fsqhpw (
account_assistant_report_invoice ) ref
account_assistant_report_invoice ( id )
fk_ooljqren0htltd8ridc91qwrs (
product_category_set ) ref base_product_category (
id )

Table account_assistant_report_invoice_product_set
* Pk account_assistant_report_in bigint
voice
* Pk product_set bigint
Indexes
Table account_assistant_report_invoice_product_set
Pk account_assistant_report_in account_assistant_rep
voice_product_set_pkey ort_invoice,
product_set
Foreign Keys
fk_3f53h6udsuxmoc24g946do6f6 (
account_assistant_report_invoice ) ref
account_assistant_report_invoice ( id )
fk_bcniftjfxwb3i0hgm56ytgqh4 ( product_set ) ref
base_product ( id )

Table account_budget
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_for_generation numeric(19,2)
attrs jsonb
check_available_budget bool
Idx code varchar(255)
from_date date
Idx name varchar(255)
period_duration_select integer
status_select integer
to_date date
total_amount_committed numeric(20,2)
total_amount_expected numeric(20,2)
total_amount_realized numeric(20,2)
created_by bigint
updated_by bigint
Idx company bigint
Idx in_charge_user bigint
Indexes
Pk account_budget_pkey id
Unq uk_io3w92ogxhj1yopitlud7hj import_id
sn
account_budget_code_idx code
account_budget_company_i company
dx
account_budget_in_charge_ in_charge_user
user_idx
account_budget_name_idx name
Foreign Keys
fk_k8jdi4rh0q3o30ynjtfvmlsce ( in_charge_user ) ref
auth_user ( id )
fk_mpgpi3x2dvj337cau8h9304ku ( created_by ) ref
auth_user ( id )
fk_r8xr1mhse3tc11lcnfcem5eay ( updated_by ) ref
auth_user ( id )
fk_hohfnuo6dn9jv1lj9qj2012k8 ( company ) ref
base_company ( id )
Table account_budget_distribution
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount numeric(20,2)
attrs jsonb
created_by bigint
updated_by bigint
* Idx budget bigint
Idx invoice_line bigint
Idx purchase_order_line bigint
Indexes
Pk account_budget_distribution id
_pkey
Unq uk_69x10w70cygo2yrk8css import_id
ugnrl
account_budget_distribution budget
_budget_idx
account_budget_distribution invoice_line
_invoice_line_idx
account_budget_distribution purchase_order_line
_purchase_order_line_idx
Foreign Keys
fk_r8xe4l69nk4g6kd4hoxxkysmn ( budget ) ref
account_budget ( id )
fk_nrrilwfpbnnwrbc9dy7ovk957 ( invoice_line ) ref
account_invoice_line ( id )
fk_ph42av5w6olwr92drytjyhopp ( updated_by ) ref
auth_user ( id )
fk_t52cjcnpkeytjj9cq41cvnv1c ( created_by ) ref
auth_user ( id )
fk_lt3c5s4i5i8nciwgyp3j0ydjx ( purchase_order_line
) ref purchase_purchase_order_line ( id )

Table account_budget_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_committed numeric(20,2)
amount_expected numeric(20,2)
amount_realized numeric(20,2)
attrs jsonb
from_date date
to_date date
created_by bigint
updated_by bigint
Idx budget bigint
Indexes
Table account_budget_line
Pk account_budget_line_pkey id
Unq uk_9xdnrer4bskxmeqa47sh import_id
yr41p
account_budget_line_budge budget
t_idx
Foreign Keys
fk_ku2t6je6ljrf3cff6s0k2y9yj ( budget ) ref
account_budget ( id )
fk_8gmibujahsm6jkqflvjgc44t7 ( updated_by ) ref
auth_user ( id )
fk_q9qgp4yqfj4msdbeyf76mf66t ( created_by ) ref
auth_user ( id )

Table account_cfonb_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
detail_record_code_importcf varchar(255)
onb
direct_debit_operation_code varchar(255)
_exportcfonb
direct_debit_operation_code varchar(255)
_importcfonb
ending_record_code_import varchar(255)
cfonb
header_record_code_import varchar(255)
cfonb
Idx name varchar(255)
recipient_record_code_expo varchar(255)
rtcfonb
sender_name_code_exportc varchar(255)
fonb
sender_num_exportcfonb varchar(255)
sender_record_code_export varchar(255)
cfonb
total_record_code_exportcfo varchar(255)
nb
transfer_operation_code_ex varchar(255)
portcfonb
transfer_operation_code_im varchar(255)
portcfonb
created_by bigint
updated_by bigint
Indexes
Pk account_cfonb_config_pkey id
Unq uk_33is0pmyb2eqakkswube import_id
8b69l
account_cfonb_config_code code
_idx
account_cfonb_config_nam name
e_idx
Foreign Keys
Table account_cfonb_config
fk_94ts0mxqfwm7f6531ffrx53vv ( updated_by ) ref
auth_user ( id )
fk_dxo9ed515qwae165qp2dnwom0 ( created_by )
ref auth_user ( id )

Table account_cheque_rejection
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_rejected numeric(19,2)
attrs jsonb
date_time timestamp
description varchar(255)
Unq name varchar(255)
* rejection_date date
status_select integer
created_by bigint
updated_by bigint
* company bigint
Unq
* Idx interbank_code_line bigint
Idx move bigint
Idx partner bigint
Idx payment_mode bigint
* Idx payment_voucher bigint
Indexes
Pk account_cheque_rejection_ id
pkey
Unq uk_py40cericaqi0esq37n4j6f import_id
si
Unq uk_rqe49irags8e7yqne8hne name, company
hage
account_cheque_rejection_ company
company_idx
account_cheque_rejection_i interbank_code_line
nterbank_code_line_idx
account_cheque_rejection_ move
move_idx
account_cheque_rejection_ name
name_idx
account_cheque_rejection_ partner
partner_idx
account_cheque_rejection_ payment_mode
payment_mode_idx
account_cheque_rejection_ payment_voucher
payment_voucher_idx
Foreign Keys
fk_7u17npea8bphdlnnveeuuk9f5 (
interbank_code_line ) ref
account_interbank_code_line ( id )
fk_odfb9ubar2pey2ied8ol39dwl ( move ) ref
account_move ( id )
Table account_cheque_rejection
fk_1vbntjoq7oysupimy0lxkyki9 ( payment_mode )
ref account_payment_mode ( id )
fk_9tpail4s8k0ofw0s8hp1vu63q ( payment_voucher
) ref account_payment_voucher ( id )
fk_2i1lubco8c5tr6t8meo1j5f35 ( created_by ) ref
auth_user ( id )
fk_j1hs6yhtnk7sf32awsawlg3my ( updated_by ) ref
auth_user ( id )
fk_s1uwp7eglc4ufxl9jcd0wtmfh ( company ) ref
base_company ( id )
fk_hpbvywmumk9v9yxulhffo12e4 ( partner ) ref
base_partner ( id )

Table account_debt_recovery
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
balance_due numeric(19,2)
balance_due_debt_recovery numeric(19,2)
debt_recovery_date date
deceased_partner_ok bool
Idx name varchar(255)
reference_date date
set_to_irrecoverable_ok bool
unknown_address_ok bool
created_by bigint
updated_by bigint
Idx accounting_situation bigint
Idx company bigint
Idx currency bigint
Idx debt_recovery_method bigint
Idx debt_recovery_method_line bigint
Idx wait_debt_recovery_method bigint
_line
Indexes
Pk account_debt_recovery_pke id
y
Unq uk_fcq9mhjd0lurqa8rlpa4kla import_id
pb
account_debt_recovery_acc accounting_situation
ounting_situation_idx
account_debt_recovery_co company
mpany_idx
account_debt_recovery_curr currency
ency_idx
account_debt_recovery_deb debt_recovery_metho
t_recovery_method_idx d
account_debt_recovery_deb debt_recovery_metho
t_recovery_method_line_idx d_line
account_debt_recovery_na name
me_idx
Table account_debt_recovery
account_debt_recovery_wai wait_debt_recovery_m
t_debt_recovery_method_lin ethod_line
e_idx
Foreign Keys
fk_gtobh6uvdaildqfmirqcpebl3 (
accounting_situation ) ref
account_accounting_situation ( id )
fk_p13n94q1841sib4vxymishvwx (
debt_recovery_method ) ref
account_debt_recovery_method ( id )
fk_1u7pe85cv7o91oynufgm4s848 (
debt_recovery_method_line ) ref
account_debt_recovery_method_line ( id )
fk_tc8yoks79wjyspg21oavnr2fd (
wait_debt_recovery_method_line ) ref
account_debt_recovery_method_line ( id )
fk_24bykielujy02c9skvsp17n8a ( created_by ) ref
auth_user ( id )
fk_omgrbp6j50tiyjfm69vxuw3ql ( updated_by ) ref
auth_user ( id )
fk_mw6hfafrf27g4s6lrxam997pt ( company ) ref
base_company ( id )
fk_40v8stx7x0wdwgtv4544urkfb ( currency ) ref
base_currency ( id )

Table account_debt_recovery_batch_set
* Pk account_debt_recovery bigint
* Pk batch_set bigint
Indexes
Pk account_debt_recovery_bat account_debt_recover
ch_set_pkey y, batch_set
Foreign Keys
fk_k6f676g7ldas4sjv2evpoe4i4 (
account_debt_recovery ) ref account_debt_recovery
( id )
fk_sjedkcckvriso8i58mpruf7id ( batch_set ) ref
base_batch ( id )

Table account_debt_recovery_config_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
created_by bigint
updated_by bigint
Idx account_config bigint
Idx debt_recovery_method bigint
Idx partner_category bigint
Indexes
Pk account_debt_recovery_con id
fig_line_pkey
Unq uk_5h19yv073qm4d6dnsji0 import_id
unt85
Table account_debt_recovery_config_line
account_debt_recovery_con account_config
fig_line_account_config_idx
account_debt_recovery_con debt_recovery_metho
fig_line_debt_recovery_met d
hod_idx
account_debt_recovery_con partner_category
fig_line_partner_category_id
x
Foreign Keys
fk_ars8i5mqsj0ohtg92aep3urhv ( account_config )
ref account_account_config ( id )
fk_am7wufn590csxs879x4dnund4 (
debt_recovery_method ) ref
account_debt_recovery_method ( id )
fk_eoeydb6qc8q1xi104fw9gee87 ( created_by ) ref
auth_user ( id )
fk_mpin5m5j9aenwpvxgiw9ncoys ( updated_by ) ref
auth_user ( id )
fk_ofr4thc95n00pudtogitiyc08 ( partner_category )
ref base_partner_category ( id )

Table account_debt_recovery_history
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
balance_due numeric(19,2)
balance_due_debt_recovery numeric(19,2)
debt_recovery_date date
Idx name varchar(255)
reference_date date
set_to_irrecoverableok bool
unknown_addressok bool
created_by bigint
updated_by bigint
Idx debt_recovery bigint
Idx debt_recovery_method bigint
Idx debt_recovery_method_line bigint
Idx user_debt_recovery bigint
Indexes
Pk account_debt_recovery_hist id
ory_pkey
Unq uk_1fju48y1va0wg3k7egyfw import_id
tn0q
account_debt_recovery_hist debt_recovery
ory_debt_recovery_idx
account_debt_recovery_hist debt_recovery_metho
ory_debt_recovery_method d
_idx
account_debt_recovery_hist debt_recovery_metho
ory_debt_recovery_method d_line
_line_idx
account_debt_recovery_hist name
ory_name_idx
Table account_debt_recovery_history
account_debt_recovery_hist user_debt_recovery
ory_user_debt_recovery_idx
Foreign Keys
fk_o0ga2krge7i2y9velb96d3wb0 ( debt_recovery )
ref account_debt_recovery ( id )
fk_mejv998j5gluaxd5luns2y74u (
debt_recovery_method ) ref
account_debt_recovery_method ( id )
fk_qcdxbjm48ce91x97k8467qb2l (
debt_recovery_method_line ) ref
account_debt_recovery_method_line ( id )
fk_88e6jwdxlkj8aunp1arwxgkw1 (
user_debt_recovery ) ref auth_user ( id )
fk_duhxkp6vs0vpx4qb5uab0op70 ( updated_by ) ref
auth_user ( id )
fk_guf5ir3cco78r5c9n8x68d96r ( created_by ) ref
auth_user ( id )

Table account_debt_recovery_invoice_debt_recovery_set
* Pk account_debt_recovery bigint
* Pk invoice_debt_recovery_set bigint
Indexes
Pk account_debt_recovery_inv account_debt_recover
oice_debt_recovery_set_pk y,
ey invoice_debt_recovery
_set
Foreign Keys
fk_7f58t0yw6iv81mkhgqxrtga65 (
account_debt_recovery ) ref account_debt_recovery
( id )
fk_eto8s7ofh0teubgi3gprtyj8y (
invoice_debt_recovery_set ) ref account_invoice ( id
)

Table account_debt_recovery_level
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
label varchar(255)
* name integer
Unq
created_by bigint
updated_by bigint
Indexes
Pk account_debt_recovery_lev id
el_pkey
Unq uk_9wjdslknh737w4le76hd0 import_id
od7w
Unq uk_fvecl08lv0vg246pd8yenj name
njh
Table account_debt_recovery_level
account_debt_recovery_lev code
el_code_idx
Foreign Keys
fk_7rj1dg0yr3367q9rykfg5jntk ( updated_by ) ref
auth_user ( id )
fk_rwymdwkq926dsdrtkyxlxx9w2 ( created_by ) ref
auth_user ( id )

Table account_debt_recovery_method
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Unq code varchar(255)
Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk account_debt_recovery_met id
hod_pkey
Unq uk_1xyoqy2pxb1bvwwc3p4 import_id
qfi2il
Unq uk_jnwq7o5is3wf5pqs0aw1 code
1hogh
account_debt_recovery_met name
hod_name_idx
Foreign Keys
fk_oh6ag9dm8cq2hvan0akq7ek0j ( created_by ) ref
auth_user ( id )
fk_sk5kpx7hvdqbthfhh0dyffdj8 ( updated_by ) ref
auth_user ( id )

Table account_debt_recovery_method_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx debt_recovery_level_label varchar(255)
manual_validation_ok bool
min_threshold numeric(19,2)
printing_message text
specific_printing_message text
standard_deadline integer
created_by bigint
updated_by bigint
Idx debt_recovery_level bigint
Table account_debt_recovery_method_line
Idx debt_recovery_method bigint
Indexes
Pk account_debt_recovery_met id
hod_line_pkey
Unq uk_l7xival6b4k4sqn902n51 import_id
wx6u
account_debt_recovery_met debt_recovery_level
hod_line_debt_recovery_lev
el_idx
account_debt_recovery_met debt_recovery_level_l
hod_line_debt_recovery_lev abel
el_label_idx
account_debt_recovery_met debt_recovery_metho
hod_line_debt_recovery_me d
thod_idx
Foreign Keys
fk_ff80eas098g8nued7fodn66c7 (
debt_recovery_level ) ref
account_debt_recovery_level ( id )
fk_n4ill8wwgt6v8g8cwxsdgq8i1 (
debt_recovery_method ) ref
account_debt_recovery_method ( id )
fk_d5cuwhjxm7l4mnexoplvnvk16 ( created_by ) ref
auth_user ( id )
fk_lclevispsjba3ip50r5nvc210 ( updated_by ) ref
auth_user ( id )

Table account_debt_recovery_method_line_message_template_set
* Pk account_debt_recovery_met bigint
hod_line
* Pk message_template_set bigint
Indexes
Pk account_debt_recovery_met account_debt_recover
hod_line_message_templat y_method_line,
e_set_pkey message_template_se
t
Foreign Keys
fk_t0h2f9we17wyxi6oue35pp5qa (
account_debt_recovery_method_line ) ref
account_debt_recovery_method_line ( id )
fk_5vicsseq99jrgfvijo4p3f4os (
message_template_set ) ref message_template ( id
)

Table account_debt_recovery_payment_schedule_line_debt_recovery_set
* Pk account_debt_recovery bigint
* Pk payment_schedule_line_de bigint
bt_recovery_set
Indexes
Pk account_debt_recovery_pay account_debt_recover
ment_schedule_line_debt_r y,
ecovery__pkey payment_schedule_lin
e_debt_recovery_set
Foreign Keys
fk_gxnfksu0k7m1osi4fwyoaggw5 (
account_debt_recovery ) ref account_debt_recovery
( id )
fk_mlrfmwc6rdyonpiuuc9d6v9i (
payment_schedule_line_debt_recovery_set ) ref
account_payment_schedule_line ( id )
Table account_deposit_slip
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
cheque_count integer
* deposit_date date
Idx deposit_number varchar(255)
from_date date
* payment_mode_type_select integer
publication_date date
to_date date
total_amount numeric(20,2)
created_by bigint
updated_by bigint
* Idx company bigint
* Idx company_bank_details bigint
* Idx currency bigint
Indexes
Pk account_deposit_slip_pkey id
Unq uk_lidgnt64xbu07kyukiktw8v import_id
0q
account_deposit_slip_comp company_bank_detail
any_bank_details_idx s
account_deposit_slip_comp company
any_idx
account_deposit_slip_curre currency
ncy_idx
account_deposit_slip_depos deposit_number
it_number_idx
Foreign Keys
fk_3mulam54l1w4lwcf4s5lotcrj ( updated_by ) ref
auth_user ( id )
fk_on5b273rvx3n68bkb93hj90uo ( created_by ) ref
auth_user ( id )
fk_1dfwfpp6rmydo77q9yvotpqrg (
company_bank_details ) ref base_bank_details ( id
)
fk_nultiwpmw1grs5wokrr1k6f04 ( company ) ref
base_company ( id )
fk_nobjf97k2yq05q82n2u24ys01 ( currency ) ref
base_currency ( id )

Table account_direct_debit_management
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Table account_direct_debit_management
Unq debit_number varchar(255)
created_by bigint
updated_by bigint
Idx company bigint
Indexes
Pk account_direct_debit_mana id
gement_pkey
Unq uk_5kq7blf6iukfl0yei4d3m9h debit_number
91
Unq uk_rpxesnc8wxrpohc5une5v import_id
bpls
account_direct_debit_mana company
gement_company_idx
Foreign Keys
fk_5im3tdy20x7g4pjqqyqmseah9 ( updated_by ) ref
auth_user ( id )
fk_gwmms4l2p4w7lqtwcq1ueqnwx ( created_by )
ref auth_user ( id )
fk_fkxy12r4kk3pf7uw9l35yx6r ( company ) ref
base_company ( id )

Table account_direct_debit_management_invoice_set
* Pk account_direct_debit_mana bigint
gement
* Pk invoice_set bigint
Indexes
Pk account_direct_debit_mana account_direct_debit_
gement_invoice_set_pkey management,
invoice_set
Foreign Keys
fk_fthkglv1v186nddvfymv4qm0x (
account_direct_debit_management ) ref
account_direct_debit_management ( id )
fk_23tn1tuojsut0yvpw7p2koxym ( invoice_set ) ref
account_invoice ( id )

Table account_fiscal_position
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
customer_specific_note bool
customer_specific_note_text text
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk account_fiscal_position_pke id
y
Unq uk_m6yq7ldd6wl84fu5cgc7n import_id
hfv4
Table account_fiscal_position
account_fiscal_position_cod code
e_idx
account_fiscal_position_na name
me_idx
Foreign Keys
fk_i20pvau54se4xxbpx7poxwhqw ( created_by ) ref
auth_user ( id )
fk_kn59jaodmprajh8eam6x2s7px ( updated_by ) ref
auth_user ( id )

Table account_fixed_asset
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
acquisition_date date
attrs jsonb
computation_method_select varchar(255)
degressive_coef numeric(19,2)
disposal_date date
disposal_value numeric(19,2)
duration_in_month integer
first_depreciation_date date
gross_value numeric(19,2)
* Idx name varchar(255)
number_of_depreciation integer
periodicity_in_month integer
reference varchar(255)
residual_value numeric(19,2)
status_select integer
created_by bigint
updated_by bigint
* Idx company bigint
Idx disposal_move bigint
* Idx fixed_asset_category bigint
Idx invoice_line bigint
* Idx journal bigint
* Idx partner bigint
Idx purchase_account bigint
Idx stock_location bigint
Idx tracking_number bigint
Indexes
Pk account_fixed_asset_pkey id
Unq uk_a83cpgl4vyg6ib6yh663d import_id
8s25
account_fixed_asset_compa company
ny_idx
account_fixed_asset_dispos disposal_move
al_move_idx
account_fixed_asset_fixed_ fixed_asset_category
asset_category_idx
Table account_fixed_asset
account_fixed_asset_invoic invoice_line
e_line_idx
account_fixed_asset_journal journal
_idx
account_fixed_asset_name name
_idx
account_fixed_asset_partne partner
r_idx
account_fixed_asset_purch purchase_account
ase_account_idx
account_fixed_asset_stock_ stock_location
location_idx
account_fixed_asset_trackin tracking_number
g_number_idx
Foreign Keys
fk_eiv0s7amjjnmjhhg4sx6kny0w (
purchase_account ) ref account_account ( id )
fk_hep9s5lh5d3xkoagskhle9heu (
fixed_asset_category ) ref
account_fixed_asset_category ( id )
fk_p1hxu5e5w3fmpcnxx3opby8u3 ( invoice_line )
ref account_invoice_line ( id )
fk_bnw30mitsraymnl8jqxn52uwq ( journal ) ref
account_journal ( id )
fk_sqnrngnaf789ljpu8mg0rrap5 ( disposal_move )
ref account_move ( id )
fk_49y4k3oqlwybfdi70ek0ir1y0 ( created_by ) ref
auth_user ( id )
fk_jcs10amde1joi02x9ehnbf3hi ( updated_by ) ref
auth_user ( id )
fk_f5absuldy4awj4f9v6xwi439j ( company ) ref
base_company ( id )
fk_isqns420aago9cupg1f21eask ( partner ) ref
base_partner ( id )
fk_sh9u3nndmoj46dp62r4y4u480 ( stock_location )
ref stock_stock_location ( id )
fk_atxp3ml8anup0bn260ya2k20c ( tracking_number
) ref stock_tracking_number ( id )

Table account_fixed_asset_category
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
computation_method_select varchar(255)
degressive_coef numeric(19,2)
duration_in_month integer
is_prorata_temporis bool
is_validate_fixed_asset bool
* Idx name varchar(255)
number_of_depreciation integer
periodicity_in_month integer
created_by bigint
updated_by bigint
Table account_fixed_asset_category
* Idx charge_account bigint
Idx company bigint
* Idx depreciation_account bigint
Idx fixed_asset_type bigint
* Idx journal bigint
Indexes
Pk account_fixed_asset_catego id
ry_pkey
Unq uk_kjeu9mvqhj8j75cj3q163 import_id
mfhw
account_fixed_asset_catego charge_account
ry_charge_account_idx
account_fixed_asset_catego company
ry_company_idx
account_fixed_asset_catego depreciation_account
ry_depreciation_account_id
x
account_fixed_asset_catego fixed_asset_type
ry_fixed_asset_type_idx
account_fixed_asset_catego journal
ry_journal_idx
account_fixed_asset_catego name
ry_name_idx
Foreign Keys
fk_40r2y39404xaxj7p58amipbt7 ( charge_account )
ref account_account ( id )
fk_h9thloea72d0ok37q3ymewpc8 (
depreciation_account ) ref account_account ( id )
fk_4r9j7tt2q6dprjxim2esamr8t ( fixed_asset_type )
ref account_fixed_asset_type ( id )
fk_fcvgxpb59dc9hc16ava66u5f2 ( journal ) ref
account_journal ( id )
fk_nu9h7x4l3shlnenvupiqmv0py ( created_by ) ref
auth_user ( id )
fk_ovgr048yf2knu7de5gufjjm26 ( updated_by ) ref
auth_user ( id )
fk_ojbpl936bhu6g9q44uk4m0uwf ( company ) ref
base_company ( id )

Table account_fixed_asset_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
cumulative_depreciation numeric(19,2)
depreciation numeric(19,2)
depreciation_date date
residual_value numeric(19,2)
status_select integer
created_by bigint
updated_by bigint
Idx depreciation_account_move bigint
Idx fixed_asset bigint
Table account_fixed_asset_line
Indexes
Pk account_fixed_asset_line_p id
key
Unq uk_2iuo15wstw11p4erwcws import_id
howtw
account_fixed_asset_line_d depreciation_account
epreciation_account_move_ _move
idx
account_fixed_asset_line_fi fixed_asset
xed_asset_idx
Foreign Keys
fk_18664hwala7xq6l5o6a9bo1uv ( fixed_asset ) ref
account_fixed_asset ( id )
fk_idbydkufes5wui4bh7btisktd (
depreciation_account_move ) ref account_move ( id
)
fk_mvdt97e5qmtseq9e6h5oino1u ( updated_by ) ref
auth_user ( id )
fk_p9l9aceq2oujxm8p4ree170ma ( created_by ) ref
auth_user ( id )

Table account_fixed_asset_type
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk account_fixed_asset_type_p id
key
Unq uk_g1jx0smm092s8q4vwips import_id
yitye
account_fixed_asset_type_c code
ode_idx
account_fixed_asset_type_n name
ame_idx
Foreign Keys
fk_338yuxuqmkhuigm4ladkfor99 ( created_by ) ref
auth_user ( id )
fk_q86scv17ljn7rmoxru9sis23d ( updated_by ) ref
auth_user ( id )

Table account_interbank_code
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
Table account_interbank_code
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
description varchar(255)
end_date date
* Idx name varchar(255)
type_select integer
created_by bigint
updated_by bigint
Indexes
Pk account_interbank_code_pk id
ey
Unq uk_cmb9h9yq6bq6fh53e3to code
0hnj9
Unq uk_oldx4y636g459tsarlq1l1f import_id
03
account_interbank_code_na name
me_idx
Foreign Keys
fk_pdwx6rv15sgjfi096hhurux94 ( updated_by ) ref
auth_user ( id )
fk_x8g7s22qrpwpribl5ftk9icj ( created_by ) ref
auth_user ( id )

Table account_interbank_code_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
cheque_ok bool
* Idx code varchar(255)
description text
direct_debit_and_tip_cfonb_ bool
ok
direct_debit_sepa_ok bool
lcr_bor_ok bool
* Idx name varchar(255)
technical_reject_ok bool
transfer_cfonb_ok bool
created_by bigint
updated_by bigint
Idx interbank_code bigint
Indexes
Pk account_interbank_code_lin id
e_pkey
Unq uk_e4kknm3rm57gij60t72rh import_id
0p9j
account_interbank_code_lin code
e_code_idx
account_interbank_code_lin interbank_code
e_interbank_code_idx
Table account_interbank_code_line
account_interbank_code_lin name
e_name_idx
Foreign Keys
fk_1gx5m7njajxrmgys9xbknejpd ( interbank_code )
ref account_interbank_code ( id )
fk_93u9b5hv5mtjt382qejyh1m8m ( updated_by ) ref
auth_user ( id )
fk_phquwcglkyo38q2okxvuakl28 ( created_by ) ref
auth_user ( id )

Table account_invoice
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
address_str text
already_printed_ok bool
amount_paid numeric(19,2)
amount_rejected numeric(19,2)
amount_remaining numeric(19,2)
attrs jsonb
company_ex_tax_total numeric(20,2)
company_in_tax_total numeric(20,2)
company_in_tax_total_rema numeric(19,2)
ining
company_tax_total numeric(20,2)
created_by_interco bool
debit_blocking_ok bool
debit_blocking_to_date date
debit_number varchar(255)
debt_recovery_blocking_ok bool
debt_recovery_blocking_to_ date
date
direct_debit_amount numeric(19,2)
display_expense_on_printin bool
g
display_timesheet_on_printi bool
ng
doubtful_customer_ok bool
due_date date
estimated_payment_date date
ex_tax_total numeric(20,2)
external_reference varchar(255)
has_pending_payments bool
hide_discount bool
in_ati bool
in_tax_total numeric(20,2)
interco bool
internal_reference varchar(255)
invoice_automatic_mail bool
invoice_date date
Unq invoice_id varchar(255)
Table account_invoice
invoices_copy_select integer
irrecoverable_status_select integer
note text
* operation_sub_type_select integer
* operation_type_select integer
origin_date date
partner_tax_nbr varchar(255)
reject_date date
schedule_payment_ok bool
specific_notes text
status_select integer
subscription_from_date date
subscription_to_date date
supplier_invoice_nb varchar(255)
tax_total numeric(20,2)
usher_passage_ok bool
validated_date date
ventilated_date date
created_by bigint
updated_by bigint
Idx address bigint
Idx bank_details bigint
Idx canceled_payment_schedul bigint
e
* company bigint
Unq
Idx company_bank_details bigint
Idx contact_partner bigint
Idx contract bigint
* Idx currency bigint
Idx debit_blocking_by_user bigint
Idx debit_blocking_reason bigint
Idx debt_recovery_blocking_by bigint
_user
Idx debt_recovery_blocking_rea bigint
son
Idx direct_debit_management bigint
Idx interbank_code_line bigint
Idx invoice_message_template bigint
Idx journal bigint
Idx management_object bigint
Idx move bigint
Idx old_move bigint
Idx original_invoice bigint
* Idx partner bigint
Idx partner_account bigint
Idx payment_condition bigint
Idx payment_mode bigint
Idx payment_move bigint
Idx payment_schedule bigint
Idx price_list bigint
Idx printedpdf bigint
Idx printing_settings bigint
Idx project bigint
Table account_invoice
Idx purchase_order bigint
Idx reject_move_line bigint
Idx sale_order bigint
Idx standard_invoice bigint
Idx subrogation_release bigint
Idx subrogation_release_move bigint
Idx trading_name bigint
Idx validated_by_user bigint
Idx ventilated_by_user bigint
Indexes
Pk account_invoice_pkey id
Unq uk_20qqmat85osmhn8okihv invoice_id, company
yx3x0
Unq uk_2eu2gmwbusd0ouh43k7 import_id
x5ftc6
account_invoice_address_id address
x
account_invoice_bank_detai bank_details
ls_idx
account_invoice_canceled_ canceled_payment_sc
payment_schedule_idx hedule
account_invoice_company_ company_bank_detail
bank_details_idx s
account_invoice_company_i company
dx
account_invoice_contact_pa contact_partner
rtner_idx
account_invoice_contract_id contract
x
account_invoice_currency_i currency
dx
account_invoice_debit_bloc debit_blocking_by_us
king_by_user_idx er
account_invoice_debit_bloc debit_blocking_reason
king_reason_idx
account_invoice_debt_recov debt_recovery_blockin
ery_blocking_by_user_idx g_by_user
account_invoice_debt_recov debt_recovery_blockin
ery_blocking_reason_idx g_reason
account_invoice_direct_debi direct_debit_manage
t_management_idx ment
account_invoice_interbank_ interbank_code_line
code_line_idx
account_invoice_invoice_id invoice_id
_idx
account_invoice_invoice_m invoice_message_tem
essage_template_idx plate
account_invoice_journal_idx journal
account_invoice_managem management_object
ent_object_idx
account_invoice_move_idx move
account_invoice_old_move_ old_move
idx
account_invoice_original_in original_invoice
voice_idx
account_invoice_partner_ac partner_account
count_idx
account_invoice_partner_id partner
x
Table account_invoice
account_invoice_payment_c payment_condition
ondition_idx
account_invoice_payment_ payment_mode
mode_idx
account_invoice_payment_ payment_move
move_idx
account_invoice_payment_s payment_schedule
chedule_idx
account_invoice_price_list_i price_list
dx
account_invoice_printedpdf printedpdf
_idx
account_invoice_printing_se printing_settings
ttings_idx
account_invoice_project_idx project
account_invoice_purchase_ purchase_order
order_idx
account_invoice_reject_mov reject_move_line
e_line_idx
account_invoice_sale_order sale_order
_idx
account_invoice_standard_i standard_invoice
nvoice_idx
account_invoice_subrogatio subrogation_release
n_release_idx
account_invoice_subrogatio subrogation_release_
n_release_move_idx move
account_invoice_trading_na trading_name
me_idx
account_invoice_validated_ validated_by_user
by_user_idx
account_invoice_ventilated_ ventilated_by_user
by_user_idx
Foreign Keys
fk_69bq1k0952k06pp7berq449js ( partner_account
) ref account_account ( id )
fk_g6093rb0t1u689tcigm7pef7a (
direct_debit_management ) ref
account_direct_debit_management ( id )
fk_8s06m3ui5fw5du72385l6rft0 (
interbank_code_line ) ref
account_interbank_code_line ( id )
fk_bc1dmqi3iasrpeau9g49i7s81 ( standard_invoice
) ref account_invoice ( id )
fk_prf0b3o4xu0f0i6djymdko44a ( original_invoice )
ref account_invoice ( id )
fk_p5hwd3den4w28xs7g1j6xhpml ( journal ) ref
account_journal ( id )
fk_hku68ycygtokhhefsxsqopbet (
management_object ) ref
account_management_object ( id )
fk_fgkuljapembnqdaabxnskyy1a ( old_move ) ref
account_move ( id )
fk_k5x9a4bssve6wo3cbcs3gqnmi (
subrogation_release_move ) ref account_move ( id
)
fk_q0ks9q1lifoyg6m3dwgs38gaa ( payment_move )
ref account_move ( id )
fk_qq7w40cc3ekp6w10d57yevejv ( move ) ref
account_move ( id )
fk_4dx00mgjpf3ntd1eqj1vevfwu ( reject_move_line )
ref account_move_line ( id )
Table account_invoice
fk_eoakcxw6ceop8smfy8bx1oiv1 (
payment_condition ) ref
account_payment_condition ( id )
fk_syj1pjrwvgwh6sc6vkrr27udl ( payment_mode )
ref account_payment_mode ( id )
fk_dxv09ceijaa30mkgim3ntmnrj (
payment_schedule ) ref
account_payment_schedule ( id )
fk_gp6hutjhmjy5hey7effxrbfls (
canceled_payment_schedule ) ref
account_payment_schedule ( id )
fk_9ltr9ejj52suaeep42x57vmao (
subrogation_release ) ref
account_subrogation_release ( id )
fk_8c8oayv7rdutaddwq753mtd7u (
validated_by_user ) ref auth_user ( id )
fk_bahwa15i4mlo9p7tmp9yptr0y ( updated_by ) ref
auth_user ( id )
fk_eicdmse93l5qvu0pupe8iyuqa (
debit_blocking_by_user ) ref auth_user ( id )
fk_h5wwf1meish1mbu2txsj2fpmp ( created_by ) ref
auth_user ( id )
fk_hjwvvm9b069l7f3op2xiujve ( ventilated_by_user
) ref auth_user ( id )
fk_ixj95idfeyveu9pwhryuaip7q (
debt_recovery_blocking_by_user ) ref auth_user ( id
)
fk_hlsdxej3tlkbqkr0541gvfaj8 ( address ) ref
base_address ( id )
fk_78a6u1odvffhags18pbuti7kl ( bank_details ) ref
base_bank_details ( id )
fk_9qc4j9hid6a9ktnspcpnlk5b0 (
company_bank_details ) ref base_bank_details ( id
)
fk_sbt3npvvwdfmrg4aiydbataoe ( company ) ref
base_company ( id )
fk_a2xicvxv46dc3eo9v537b7ywj ( currency ) ref
base_currency ( id )
fk_53icoreag4paf0xrprg2p93n0 ( contact_partner )
ref base_partner ( id )
fk_pamnxeenh7ufytr4ebm8qr6mr ( partner ) ref
base_partner ( id )
fk_aqa2x2tie3cq0pl7vl75paw9j ( price_list ) ref
base_price_list ( id )
fk_jhaia3swycmfy33csrxj8okms ( printing_settings )
ref base_printing_settings ( id )
fk_1e4f6vi3f31mis43n62pnt56f (
debit_blocking_reason ) ref base_stop_reason ( id )
fk_ho9slqpibo5anmkbw1fyo46rg (
debt_recovery_blocking_reason ) ref
base_stop_reason ( id )
fk_7sahdahdy275bi2b6tpbh8mjq ( trading_name )
ref base_trading_name ( id )
fk_cxwg46nnanmmpxkk2fl543409 ( contract ) ref
contract_contract ( id )
fk_ntxndrhsah2p7aiaw1w9kut6u (
invoice_message_template ) ref message_template
( id )
fk_7ixuodch0wcoiu3spg0wvuiu5 ( printedpdf ) ref
meta_file ( id )
fk_5y54kjvc4blob6bf2howwiqh4 ( project ) ref
project_project ( id )
Table account_invoice
fk_sogh2hq0xn93of180qpggy2i0 ( purchase_order )
ref purchase_purchase_order ( id )
fk_ealbis5nds173d3dr7vpbj5ku ( sale_order ) ref
sale_sale_order ( id )

Table account_invoice_advance_payment_invoice_set
* Pk account_invoice bigint
* Pk advance_payment_invoice_ bigint
set
Indexes
Pk account_invoice_advance_p account_invoice,
ayment_invoice_set_pkey advance_payment_inv
oice_set
Foreign Keys
fk_jgnvecxj0riqf3pp0wpt9nanb (
advance_payment_invoice_set ) ref
account_invoice ( id )
fk_n1tbxmlrkptggow8k8j2q2aep ( account_invoice )
ref account_invoice ( id )

Table account_invoice_batch
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* action_select integer
attrs jsonb
Unq code varchar(255)
description text
from_status_select integer
on_select_ok bool
to_status_select integer
created_by bigint
updated_by bigint
* Idx company bigint
Indexes
Pk account_invoice_batch_pke id
y
Unq uk_d7el7wod78u7m17eppuf import_id
idp5n
Unq uk_fvu0cjmn1kfnbui46ljspy2 code
ho
account_invoice_batch_com company
pany_idx
Foreign Keys
fk_ckrkfv20y9bqebfxpfuoxr40l ( created_by ) ref
auth_user ( id )
fk_snhjkx4k22b8jnk9xd2x9985o ( updated_by ) ref
auth_user ( id )
fk_dh9b8shjlwx77g7pq5eb939fb ( company ) ref
base_company ( id )
Table account_invoice_batch_invoice_set
* Pk account_invoice_batch bigint
* Pk invoice_set bigint
Indexes
Pk account_invoice_batch_invo account_invoice_batc
ice_set_pkey h, invoice_set
Foreign Keys
fk_9wlstpquatqnhbsl04hlwo8rn ( invoice_set ) ref
account_invoice ( id )
fk_4w6un59f4lr8nmxsrlrcup5vt (
account_invoice_batch ) ref account_invoice_batch
( id )

Table account_invoice_batch_set
* Pk account_invoice bigint
* Pk batch_set bigint
Indexes
Pk account_invoice_batch_set_ account_invoice,
pkey batch_set
Foreign Keys
fk_h6k2l7y1at9vl968joe1xl0ss ( account_invoice )
ref account_invoice ( id )
fk_38tarq9crqfi4589twn09nq1h ( batch_set ) ref
base_batch ( id )

Table account_invoice_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
company_ex_tax_total numeric(19,2)
company_in_tax_total numeric(19,2)
description text
discount_amount numeric(20,10)
discount_type_select integer
ex_tax_total numeric(20,2)
fixed_assets bool
in_tax_price numeric(20,10)
in_tax_total numeric(19,2)
is_sub_line bool
Idx name varchar(255)
old_qty numeric(19,2)
pack_price_select integer
price numeric(20,10)
price_discounted numeric(20,10)
product_code varchar(255)
product_name varchar(255)
qty numeric(20,2)
sequence integer
tax_code varchar(255)
Table account_invoice_line
tax_rate numeric(20,3)
total_pack numeric(19,2)
type_select integer
created_by bigint
updated_by bigint
Idx account bigint
Idx analytic_distribution_templat bigint
e
Idx budget bigint
Idx contract_line bigint
Idx fixed_asset_category bigint
Idx incoming_stock_move bigint
Idx invoice bigint
Idx outgoing_stock_move bigint
Idx parent_line bigint
Idx product bigint
Idx project bigint
Idx purchase_order bigint
Idx purchase_order_line bigint
Idx sale_order bigint
Idx sale_order_line bigint
Idx tax_equiv bigint
Idx tax_line bigint
Idx unit bigint
Indexes
Pk account_invoice_line_pkey id
Unq uk_f2lnu0kl1134ric6a54nm7 import_id
unl
account_invoice_line_accou account
nt_idx
account_invoice_line_analyt analytic_distribution_t
ic_distribution_template_idx emplate
account_invoice_line_budge budget
t_idx
account_invoice_line_contra contract_line
ct_line_idx
account_invoice_line_fixed_ fixed_asset_category
asset_category_idx
account_invoice_line_incom incoming_stock_move
ing_stock_move_idx
account_invoice_line_invoic invoice
e_idx
account_invoice_line_name name
_idx
account_invoice_line_outgoi outgoing_stock_move
ng_stock_move_idx
account_invoice_line_parent parent_line
_line_idx
account_invoice_line_produ product
ct_idx
account_invoice_line_projec project
t_idx
account_invoice_line_purch purchase_order
ase_order_idx
account_invoice_line_purch purchase_order_line
ase_order_line_idx
account_invoice_line_sale_ sale_order
order_idx
Table account_invoice_line
account_invoice_line_sale_ sale_order_line
order_line_idx
account_invoice_line_tax_e tax_equiv
quiv_idx
account_invoice_line_tax_li tax_line
ne_idx
account_invoice_line_unit_i unit
dx
Foreign Keys
fk_8oejdqomgqr6lwwwujxyg92sy ( account ) ref
account_account ( id )
fk_lpeti4285qinr1t818thq6awa (
analytic_distribution_template ) ref
account_analytic_distribution_template ( id )
fk_9gl6q8r65t0nps6a5r5ufd6b3 ( budget ) ref
account_budget ( id )
fk_me4rckh1iw4pa4fm2ee0kf625 (
fixed_asset_category ) ref
account_fixed_asset_category ( id )
fk_2blptysavv3hoe70ouo3hat8u ( invoice ) ref
account_invoice ( id )
fk_lbgj97k1xw72n4kax19dwa3we ( parent_line ) ref
account_invoice_line ( id )
fk_aj4htt8fnjtul2dlxou0wu4cy ( tax_equiv ) ref
account_tax_equiv ( id )
fk_2bd8x1yu6np69sw3swmlk5med ( tax_line ) ref
account_tax_line ( id )
fk_me0gbjijlpacgb3hi9ygvct7a ( updated_by ) ref
auth_user ( id )
fk_pelgfby8k6e34409up2dy6uvt ( created_by ) ref
auth_user ( id )
fk_9jbmktev3xutcgscm79xxid4m ( product ) ref
base_product ( id )
fk_p53vmialr7gx7wmhnrdi7kmg1 ( unit ) ref
base_unit ( id )
fk_k5gcqr36mtt385vcwng3dead4 ( contract_line )
ref contract_contract_line ( id )
fk_ai2cprcwosrg7be1s56gesf30 ( project ) ref
project_project ( id )
fk_730dqquj9hrmy4r3ylbi72xnh ( purchase_order )
ref purchase_purchase_order ( id )
fk_lirr1oy0cxgieomniu0mw2va3 (
purchase_order_line ) ref
purchase_purchase_order_line ( id )
fk_83w7oe2mopode640n3rnqugav ( sale_order ) ref
sale_sale_order ( id )
fk_ebi7sam6b482u0v23kss7nur1 ( sale_order_line )
ref sale_sale_order_line ( id )
fk_2kp8lqc8obckyxtk0y5b3y5n5 (
incoming_stock_move ) ref stock_stock_move ( id )
fk_l3l3qvtq0jnrukwoslryv609v (
outgoing_stock_move ) ref stock_stock_move ( id )

Table account_invoice_line_event
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
Table account_invoice_line_event
updated_on timestamp
amount numeric(19,2)
article_id varchar(255)
attrs jsonb
end_date date
price numeric(20,2)
qty numeric(19,2)
start_date date
summary_id varchar(255)
created_by bigint
updated_by bigint
Idx price_unit bigint
Idx product bigint
Idx qty_unit bigint
Indexes
Pk account_invoice_line_event id
_pkey
Unq uk_rr4dqn7tbrmgl742ajop41 import_id
1uh
account_invoice_line_event price_unit
_price_unit_idx
account_invoice_line_event product
_product_idx
account_invoice_line_event qty_unit
_qty_unit_idx
Foreign Keys
fk_gcxoff5dyxwbb7ymk9fnr9q7 ( created_by ) ref
auth_user ( id )
fk_sbmju75fwfg23kggsom82ntsa ( updated_by ) ref
auth_user ( id )
fk_p9b71fcfs3i1xh1mrbrxgik3q ( product ) ref
base_product ( id )
fk_a4bxpg2ws3pldtb9bhrn0iiwm ( qty_unit ) ref
base_unit ( id )
fk_pw1a2qgmvmjfbkw679er2a7r ( price_unit ) ref
base_unit ( id )

Table account_invoice_line_tax
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
company_ex_tax_base numeric(20,2)
company_in_tax_total numeric(20,2)
company_sub_total_excludi numeric(19,2)
ng_fixed_assets
company_sub_total_of_fixe numeric(19,2)
d_assets
company_tax_total numeric(20,2)
ex_tax_base numeric(20,2)
in_tax_total numeric(20,2)
reverse_charged bool
Table account_invoice_line_tax
sub_total_excluding_fixed_a numeric(19,2)
ssets
sub_total_of_fixed_assets numeric(19,2)
tax_total numeric(20,2)
created_by bigint
updated_by bigint
Idx invoice bigint
Idx tax_line bigint
Indexes
Pk account_invoice_line_tax_p id
key
Unq uk_d55lr35tpyeyj7wjcs6j81k import_id
k6
account_invoice_line_tax_in invoice
voice_idx
account_invoice_line_tax_ta tax_line
x_line_idx
Foreign Keys
fk_ixov8r5xs28nf3cop0ubobcl0 ( invoice ) ref
account_invoice ( id )
fk_kixk63p0yl06njun88jp2fts1 ( tax_line ) ref
account_tax_line ( id )
fk_ibwhopqcvikb31jq6i6riso2d ( updated_by ) ref
auth_user ( id )
fk_mdlrnyuradwr6lmdi5bingio1 ( created_by ) ref
auth_user ( id )

Table account_invoice_payment
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* amount numeric(19,2)
attrs jsonb
bank_deposit_date date
cheque_number varchar(255)
delay_reason varchar(255)
invoice_payment_ref varchar(255)
* payment_date date
status_select integer
type_select integer
created_by bigint
updated_by bigint
Idx bank_order bigint
Idx company_bank_details bigint
* Idx currency bigint
Idx imputed_by bigint
Idx invoice bigint
Idx move bigint
Idx payment_mode bigint
Idx reconcile bigint
Indexes
Table account_invoice_payment
Pk account_invoice_payment_p id
key
Unq uk_2qn080u42nwl56ncv1e5 import_id
de4wv
account_invoice_payment_b bank_order
ank_order_idx
account_invoice_payment_c company_bank_detail
ompany_bank_details_idx s
account_invoice_payment_c currency
urrency_idx
account_invoice_payment_i imputed_by
mputed_by_idx
account_invoice_payment_i invoice
nvoice_idx
account_invoice_payment_p payment_mode
ayment_mode_idx
account_invoice_payment_r reconcile
econcile_idx
idx_account_inv_payment_ move
move
Foreign Keys
fk_23c0k3gymo58n685j052j22w7 ( invoice ) ref
account_invoice ( id )
fk_q49w5ga4ykg7o6j609o7ar7dr ( imputed_by ) ref
account_invoice_payment ( id )
fk_76lx6h90825roa27qa5bty13o ( move ) ref
account_move ( id )
fk_mfg1cluerdsc27jtea7rwbhwl ( payment_mode )
ref account_payment_mode ( id )
fk_lbhoqthg4lt4vdnrr489yyclf ( reconcile ) ref
account_reconcile ( id )
fk_eq61s1v9qacn2tmwsdeasgqhg ( created_by ) ref
auth_user ( id )
fk_hid191eic8wphydsy3onvfr8x ( updated_by ) ref
auth_user ( id )
fk_30yuxakwrovofwf7y8pxlc9bh ( bank_order ) ref
bankpayment_bank_order ( id )
fk_f6mlkkwob1m3yd3498wt5ttxl (
company_bank_details ) ref base_bank_details ( id
)
fk_etsw91unoa6qbq61q8p82rfxi ( currency ) ref
base_currency ( id )

Table account_irrecoverable
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
date_time timestamp
export_type_select varchar(255)
Unq name varchar(255)
status_select integer
created_by bigint
updated_by bigint
Table account_irrecoverable
* company bigint
Unq
Idx user_id bigint
Indexes
Pk account_irrecoverable_pkey id
Unq uk_a446rqnonpy095tscs1i3 name, company
moy2
Unq uk_qtt8ucs69tux0hti83ldkiq0 import_id
d
account_irrecoverable_com company
pany_idx
account_irrecoverable_nam name
e_idx
account_irrecoverable_user user_id
_id_idx
Foreign Keys
fk_amabjqp29r0585t30esghgf3v ( created_by ) ref
auth_user ( id )
fk_e03tepapxt4csqlorfakbp77p ( updated_by ) ref
auth_user ( id )
fk_nktbua5brne90nm6rt5coq404 ( user_id ) ref
auth_user ( id )
fk_f3bltu1vdsi9hm74s4b33i97d ( company ) ref
base_company ( id )

Table account_irrecoverable_customer_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
created_by bigint
updated_by bigint
Idx irrecoverable bigint
Idx partner bigint
Indexes
Pk account_irrecoverable_cust id
omer_line_pkey
Unq uk_q2q8wpyusotkdpgnfchs import_id
m6me9
account_irrecoverable_cust irrecoverable
omer_line_irrecoverable_idx
account_irrecoverable_cust partner
omer_line_partner_idx
Foreign Keys
fk_k0mi9dm1dnvmlga2ek0bfpqd8 ( irrecoverable )
ref account_irrecoverable ( id )
fk_26dvb3fomp4odl8x0ukp0139q ( created_by ) ref
auth_user ( id )
fk_lfevsud3levlnaj5pcwbl44dt ( updated_by ) ref
auth_user ( id )
fk_5mer38h3kj9emjktypsjb7g4u ( partner ) ref
base_partner ( id )
Table account_irrecoverable_customer_line_payment_schedule_line_set
* Pk account_irrecoverable_cust bigint
omer_line
* Pk payment_schedule_line_set bigint
Indexes
Pk account_irrecoverable_cust account_irrecoverable
omer_line_payment_schedu _customer_line,
le_line__pkey payment_schedule_lin
e_set
Foreign Keys
fk_r8llav7wsfxyqv9nal6ak0eiy (
account_irrecoverable_customer_line ) ref
account_irrecoverable_customer_line ( id )
fk_q3a9lspge0un4cap3lv9g2i7k (
payment_schedule_line_set ) ref
account_payment_schedule_line ( id )

Table account_irrecoverable_invoice_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
invoice_line_seq integer
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx invoice bigint
Idx irrecoverable_customer_line bigint
Indexes
Pk account_irrecoverable_invoi id
ce_line_pkey
Unq uk_ive9uufwhkbeosw5phtvw import_id
jnpe
account_irrecoverable_invoi invoice
ce_line_invoice_idx
account_irrecoverable_invoi name
ce_line_name_idx
idx_acc_irreco_inv_line_irre irrecoverable_custom
co_cust_line er_line
Foreign Keys
fk_eg31jgnpcym1vrsvs2617wlhk ( invoice ) ref
account_invoice ( id )
fk_9wn9168w3c8tjc2wthcpmlfe5 (
irrecoverable_customer_line ) ref
account_irrecoverable_customer_line ( id )
fk_hi2qsj5bw22hmaa05fypjmwv7 ( updated_by ) ref
auth_user ( id )
fk_rgne5hjip74e3kxis584gqer3 ( created_by ) ref
auth_user ( id )

Table account_irrecoverable_invoice_set
* Pk account_irrecoverable bigint
* Pk invoice_set bigint
Indexes
Table account_irrecoverable_invoice_set
Pk account_irrecoverable_invoi account_irrecoverable
ce_set_pkey , invoice_set
Foreign Keys
fk_b3f3l50vod8f6duy9hfgw6m6p ( invoice_set ) ref
account_invoice ( id )
fk_fmxleekye4uaesylvd1g62gk8 (
account_irrecoverable ) ref account_irrecoverable (
id )

Table account_irrecoverable_move_set
* Pk account_irrecoverable bigint
* Pk move_set bigint
Indexes
Pk account_irrecoverable_mov account_irrecoverable
e_set_pkey , move_set
Foreign Keys
fk_fhsas9sskcsb1an2t2gjrgqn1 (
account_irrecoverable ) ref account_irrecoverable (
id )
fk_48xkalwy4p0x2kt3cubmx7icy ( move_set ) ref
account_move ( id )

Table account_irrecoverable_payment_schedule_line_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx irrecoverable_customer_line bigint
Idx payment_schedule_line bigint
Indexes
Pk account_irrecoverable_pay id
ment_schedule_line_line_pk
ey
Unq uk_teks49i3k6udqyj5e4wobr import_id
gob
account_irrecoverable_pay name
ment_schedule_line_line_na
me_idx
idx_acc_irreco_paym_sched irrecoverable_custom
ule_line_line_irreco_cust_lin er_line
e
idx_acc_irreco_paym_sched payment_schedule_lin
ule_line_line_paym_schedul e
e_line
Foreign Keys
fk_4vdusdv88mvddcy4wgcses9xk (
irrecoverable_customer_line ) ref
account_irrecoverable_customer_line ( id )
Table account_irrecoverable_payment_schedule_line_line
fk_6rfqvsmv54lycl6s8qddn19ad (
payment_schedule_line ) ref
account_payment_schedule_line ( id )
fk_l4fvfhmeqs57ykjldpbh2lcm6 ( created_by ) ref
auth_user ( id )
fk_tgkebtr2crmstvovg1jhqygy8 ( updated_by ) ref
auth_user ( id )

Table account_irrecoverable_payment_schedule_line_set
* Pk account_irrecoverable bigint
* Pk payment_schedule_line_set bigint
Indexes
Pk account_irrecoverable_pay account_irrecoverable
ment_schedule_line_set_pk ,
ey payment_schedule_lin
e_set
Foreign Keys
fk_2jp76pfnn9kbyega3o1m7jfwf (
account_irrecoverable ) ref account_irrecoverable (
id )
fk_h2d4mmooq7mcd4qo1t82sjufc (
payment_schedule_line_set ) ref
account_payment_schedule_line ( id )

Table account_irrecoverable_report_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
label varchar(255)
Idx name varchar(255)
report_line_seq integer
value numeric(19,2)
created_by bigint
updated_by bigint
Idx irrecoverable_invoice_line bigint
Idx irrecoverable_payment_sch bigint
edule_line_line
Indexes
Pk account_irrecoverable_repo id
rt_line_pkey
Unq uk_pqu0m8rtkhppugx9u6j8 import_id
m33yf
account_irrecoverable_repo name
rt_line_name_idx
idx_acc_irreco_report_line_i irrecoverable_invoice_
rreco_inv_line line
idx_acc_irreco_report_line_i irrecoverable_paymen
rreco_paym_schedule_line_ t_schedule_line_line
line
Foreign Keys
Table account_irrecoverable_report_line
fk_4044q5x8acd6wcynlludhasto (
irrecoverable_invoice_line ) ref
account_irrecoverable_invoice_line ( id )
fk_s6ti8ey7bndjukidoj79k6yy6 (
irrecoverable_payment_schedule_line_line ) ref
account_irrecoverable_payment_schedule_line_line
( id )
fk_440opjca8swlkuelvgjt92oaa ( updated_by ) ref
auth_user ( id )
fk_ck388c23wtd4wr6wtjkcvk2fc ( created_by ) ref
auth_user ( id )

Table account_journal
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Unq code varchar(255)
compatible_partner_type_se varchar(255)
lect
description_identification_ok bool
description_model varchar(255)
edit_receipt_ok bool
excess_payment_ok bool
export_code varchar(255)
is_invoice_move_consolidat bool
ed
* name varchar(255)
Unq
not_export_ok bool
status_select integer
created_by bigint
updated_by bigint
Unq company bigint
Idx journal_type bigint
Idx sequence bigint
Indexes
Pk account_journal_pkey id
Unq uk_7vxr2ftah6ldycta69cygdc import_id
3
Unq uk_gs06d1jkdmqc760ngcnj0 company, code, name
ceqa
account_journal_code_idx code
account_journal_company_i company
dx
account_journal_journal_typ journal_type
e_idx
account_journal_name_idx name
account_journal_sequence_ sequence
idx
Foreign Keys
fk_gyfpa7y7l2ut4t69nhrrj9ggm ( journal_type ) ref
account_journal_type ( id )
Table account_journal
fk_eti5hujq0tmugtiq9foxyyvic ( created_by ) ref
auth_user ( id )
fk_i0b3y4xe02sokx32ktt1m9px4 ( updated_by ) ref
auth_user ( id )
fk_s1wsbn8vslito0tpwu2i2s4h0 ( company ) ref
base_company ( id )
fk_ektci1p5d4shhwcbj2pcvtsfr ( sequence ) ref
base_sequence ( id )

Table account_journal_type
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Indexes
Pk account_journal_type_pkey id
Unq uk_e1jgbhq918jlqrfgtcgegro code
b8
Unq uk_muehxdlkghn79fpujvqh name
mebyb
Unq uk_qq1nyp1agpfcmmp676i4 import_id
xdkul
Foreign Keys
fk_7q9bebqm9b8bewnjr38wxubkn ( created_by ) ref
auth_user ( id )
fk_pthr8b9hxvu11x1186eth2781 ( updated_by ) ref
auth_user ( id )

Table account_journal_valid_account_set
* Pk account_journal bigint
* Pk valid_account_set bigint
Indexes
Pk account_journal_valid_acco account_journal,
unt_set_pkey valid_account_set
Foreign Keys
fk_9rsmey6lpbu0ymvv8wgxcff9u (
valid_account_set ) ref account_account ( id )
fk_71i9hv34sdn1qcq5u8468q12m ( account_journal
) ref account_journal ( id )

Table account_journal_valid_account_type_set
* Pk account_journal bigint
* Pk valid_account_type_set bigint
Indexes
Table account_journal_valid_account_type_set
Pk account_journal_valid_acco account_journal,
unt_type_set_pkey valid_account_type_s
et
Foreign Keys
fk_2b7ignm9sa2paf6a34r2b2bai (
valid_account_type_set ) ref account_account_type
( id )
fk_8tl87bd1xq63hdru58v34qf3x ( account_journal )
ref account_journal ( id )

Table account_management_object
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk account_management_obje id
ct_pkey
Unq uk_gduovscr73sk0ivn7592a import_id
rhcq
account_management_obje code
ct_code_idx
account_management_obje name
ct_name_idx
Foreign Keys
fk_8l1ixjsp68ivi23iq467y276u ( created_by ) ref
auth_user ( id )
fk_o9dn78uc2qj6vikjrfwibu71 ( updated_by ) ref
auth_user ( id )

Table account_move
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
accounting_ok bool
adjusting_move bool
attrs jsonb
company_currency_code varchar(255)
currency_code varchar(255)
date_val date
export_date date
export_number varchar(255)
Table account_move
get_info_from_first_move_li bool
ne_ok
ignore_in_accounting_ok bool
ignore_in_debt_recovery_ok bool
Unq reference varchar(255)
reject_ok bool
status_select integer
* technical_origin_select integer
validation_date date
created_by bigint
updated_by bigint
Idx accounting_report bigint
* company bigint
Unq
Idx company_currency bigint
Idx currency bigint
Idx invoice bigint
* Idx journal bigint
Idx partner bigint
Idx payment_mode bigint
Idx payment_voucher bigint
* Idx period bigint
Idx stock_move bigint
Indexes
Pk account_move_pkey id
Unq uk_bda7247g75ff465vltu6rs reference, company
0da
Unq uk_j0lhx8qhp90jced8gg52x4 import_id
9fb
account_move_accounting_ accounting_report
report_idx
account_move_company_c company_currency
urrency_idx
account_move_company_id company
x
account_move_currency_id currency
x
account_move_invoice_idx invoice
account_move_journal_idx journal
account_move_partner_idx partner
account_move_payment_m payment_mode
ode_idx
account_move_payment_vo payment_voucher
ucher_idx
account_move_period_idx period
account_move_reference_id reference
x
account_move_stock_move stock_move
_idx
Foreign Keys
fk_ccw9c68d3hf61tbbvkepxg80j ( accounting_report
) ref account_accounting_report ( id )
fk_2s94o0px3c3yi5ljjbeelk9tp ( invoice ) ref
account_invoice ( id )
fk_mjd26xf75myq8eeohr9odsmgc ( journal ) ref
account_journal ( id )
fk_44ft3g0c2m5nt50ob1av0dtiv ( payment_mode )
ref account_payment_mode ( id )
Table account_move
fk_nx8pklk2wd4g754jtfnoxd0rv ( payment_voucher )
ref account_payment_voucher ( id )
fk_39f3f9g850rjmps0tfea27oi9 ( updated_by ) ref
auth_user ( id )
fk_ff3n8jr41bk73lo0pjvyg0ght ( created_by ) ref
auth_user ( id )
fk_4t2bwo2vfsf9ks9jpnji4ff8n ( company ) ref
base_company ( id )
fk_a2usabqj75ov9jr3k0hi97t7j ( company_currency
) ref base_currency ( id )
fk_kdrhjhme2jxsuhair18vamvrk ( currency ) ref
base_currency ( id )
fk_cckg61asfo0rxieq447kqlafc ( partner ) ref
base_partner ( id )
fk_ecx6akfse1nm59tgoohgw89bx ( period ) ref
base_period ( id )
fk_ngo1rgctu4j7cmq89fjwc05nt ( stock_move ) ref
stock_stock_move ( id )

Table account_move_batch_set
* Pk account_move bigint
* Pk batch_set bigint
Indexes
Pk account_move_batch_set_p account_move,
key batch_set
Foreign Keys
fk_teg9hfrvoq7b5fbv6hlmx9lyl ( account_move ) ref
account_move ( id )
fk_8y3uv34txsteobjl8b2kntgha ( batch_set ) ref
base_batch ( id )

Table account_move_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
account_code varchar(255)
account_id bigint
account_name varchar(255)
amount_exported_in_direct_ numeric(19,2)
debit
amount_paid numeric(19,2)
amount_remaining numeric(19,2)
attrs jsonb
bank_reconciled_amount numeric(19,2)
counter integer
credit numeric(19,2)
currency_amount numeric(19,2)
currency_rate numeric(20,5)
date_val date
debit numeric(19,2)
description varchar(255)
Table account_move_line
due_date date
exported_direct_debit_ok bool
irrecoverable_status_select integer
max_amount_to_reconcile numeric(19,2)
Idx name varchar(255)
origin varchar(255)
origin_date date
partner_full_name varchar(255)
partner_id bigint
partner_seq varchar(255)
passage_reason varchar(255)
reimbursement_status_sele integer
ct
tax_amount numeric(20,2)
tax_code varchar(255)
tax_rate numeric(20,3)
usher_passage_ok bool
created_by bigint
updated_by bigint
* Idx account bigint
Idx account_clearance bigint
Idx analytic_distribution_templat bigint
e
Idx interbank_code_line bigint
Idx invoice_reject bigint
Idx management_object bigint
Idx move bigint
Idx partner bigint
Idx payment_schedule_line bigint
Idx reconcile_group bigint
Idx source_tax_line bigint
Idx tax_line bigint
Indexes
Pk account_move_line_pkey id
Unq uk_a5hqs0vxahsty91d3ad6 import_id
e6clw
account_move_line_account account_clearance
_clearance_idx
account_move_line_account account
_idx
account_move_line_analytic analytic_distribution_t
_distribution_template_idx emplate
account_move_line_interba interbank_code_line
nk_code_line_idx
account_move_line_invoice invoice_reject
_reject_idx
account_move_line_manag management_object
ement_object_idx
account_move_line_move_i move
dx
account_move_line_name_i name
dx
account_move_line_partner partner
_idx
account_move_line_payme payment_schedule_lin
nt_schedule_line_idx e
Table account_move_line
account_move_line_reconcil reconcile_group
e_group_idx
account_move_line_source source_tax_line
_tax_line_idx
account_move_line_tax_line tax_line
_idx
Foreign Keys
fk_40n89j9dawnmt8n36cd8aye2l ( account ) ref
account_account ( id )
fk_bbsp2jxwmbto0kbmevdwstqgp (
account_clearance ) ref
account_account_clearance ( id )
fk_eubt8jd8bap9j3257ymiiq2af (
analytic_distribution_template ) ref
account_analytic_distribution_template ( id )
fk_kuyyd3mrvb3yiu9elwanfs9ll (
interbank_code_line ) ref
account_interbank_code_line ( id )
fk_pmtecd3l4qngn5k8e3cexaxgb ( invoice_reject )
ref account_invoice ( id )
fk_7lva2p73tdxie3sx56yrx126t (
management_object ) ref
account_management_object ( id )
fk_1d39gwh7ra4ikxamyvv22r9my ( move ) ref
account_move ( id )
fk_60dnn2ig985yviceoshx9rptl (
payment_schedule_line ) ref
account_payment_schedule_line ( id )
fk_hs122623pppjprhpoulgyl0lh ( reconcile_group )
ref account_reconcile_group ( id )
fk_8w0i5cfwu938ypqf6e2m8mo9s ( source_tax_line
) ref account_tax_line ( id )
fk_ovms8qbc92vxwloytky1krtg4 ( tax_line ) ref
account_tax_line ( id )
fk_a7bkla9m1hlvyskwdlb8dti5c ( updated_by ) ref
auth_user ( id )
fk_qcgse1mmcqhuvhv00t6cvdvos ( created_by ) ref
auth_user ( id )
fk_3m20u2dsquaodyditx6t7l8qa ( partner ) ref
base_partner ( id )

Table account_move_template
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
end_of_validity_date date
Idx full_name varchar(255)
is_valid bool
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx company bigint
Idx journal bigint
Table account_move_template
Idx move_template_type bigint
Indexes
Pk account_move_template_pk id
ey
Unq uk_d700x7p7o11x39eyskc2 import_id
gillg
account_move_template_co code
de_idx
account_move_template_co company
mpany_idx
account_move_template_ful full_name
l_name_idx
account_move_template_jo journal
urnal_idx
account_move_template_m move_template_type
ove_template_type_idx
account_move_template_na name
me_idx
Foreign Keys
fk_psrq9t0unpyhes38e00cqdthg ( journal ) ref
account_journal ( id )
fk_c5t9hen3ep73ds3b6le87hekp (
move_template_type ) ref
account_move_template_type ( id )
fk_nlrjtqvjilx9op1e33wtrm9su ( created_by ) ref
auth_user ( id )
fk_s4oilyge0bjlbk991xllivxov ( updated_by ) ref
auth_user ( id )
fk_44x5kpe5bquigr5y4c2hwq89e ( company ) ref
base_company ( id )

Table account_move_template_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
credit numeric(19,2)
debit numeric(19,2)
debit_credit_select varchar(255)
has_partner_to_credit bool
has_partner_to_debit bool
is_valid bool
Idx name varchar(255)
percentage numeric(20,2)
created_by bigint
updated_by bigint
* Idx account bigint
Idx analytic_distribution_templat bigint
e
Idx move_template bigint
Idx partner bigint
Idx product bigint
Idx tax bigint
Table account_move_template_line
Indexes
Pk account_move_template_lin id
e_pkey
Unq uk_spbqpg69laaivp8b5exn9 import_id
mi02
account_move_template_lin account
e_account_idx
account_move_template_lin analytic_distribution_t
e_analytic_distribution_temp emplate
late_idx
account_move_template_lin move_template
e_move_template_idx
account_move_template_lin name
e_name_idx
account_move_template_lin partner
e_partner_idx
account_move_template_lin product
e_product_idx
account_move_template_lin tax
e_tax_idx
Foreign Keys
fk_67aayje5avnw3iuphy90aephx ( account ) ref
account_account ( id )
fk_3e0oqjd41tx81375b0ir9hshi (
analytic_distribution_template ) ref
account_analytic_distribution_template ( id )
fk_bmpcy0nqwtkikjivjhys2nlic ( move_template ) ref
account_move_template ( id )
fk_jikgeq5onf8yarrd1ujx38jx1 ( tax ) ref account_tax
( id )
fk_lum560ajeidw9nbysd87trfxc ( updated_by ) ref
auth_user ( id )
fk_p0i6gnnu1ep8msvegutex1hh6 ( created_by ) ref
auth_user ( id )
fk_7i8lodx2txu448asg5vvdf979 ( partner ) ref
base_partner ( id )
fk_6ivv4llinpvu9caqrlom2cu8j ( product ) ref
base_product ( id )

Table account_move_template_type
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
* Idx name varchar(255)
type_select integer
created_by bigint
updated_by bigint
Indexes
Pk account_move_template_ty id
pe_pkey
Unq uk_52hne9n34m5caxldu0oe import_id
sprut
Table account_move_template_type
account_move_template_ty code
pe_code_idx
account_move_template_ty name
pe_name_idx
Foreign Keys
fk_7ayc34j6ahfoj2fuvac6w44a8 ( created_by ) ref
auth_user ( id )
fk_et8thjmukxlfwl0tnw70d3f33 ( updated_by ) ref
auth_user ( id )

Table account_notification
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* payment_date date
status_select integer
created_by bigint
updated_by bigint
Idx company bigint
* Idx factor_partner bigint
Idx subrogation_release bigint
Indexes
Pk account_notification_pkey id
Unq uk_dp44fuyhk206cmlylhfavg import_id
rok
account_notification_compa company
ny_idx
account_notification_factor_ factor_partner
partner_idx
account_notification_subrog subrogation_release
ation_release_idx
Foreign Keys
fk_qsqbkhc4a57ceekc5h2f9mljm (
subrogation_release ) ref
account_subrogation_release ( id )
fk_2jc58qsu8s1wgwxt27401wp4c ( created_by ) ref
auth_user ( id )
fk_f8iyppuyfs93w9hq7knjrxae4 ( updated_by ) ref
auth_user ( id )
fk_hlrpeb6xh9pg8o2ar5cfr9erw ( company ) ref
base_company ( id )
fk_kgp0dbb4mjfk45s3fbjsrqupt ( factor_partner ) ref
base_partner ( id )

Table account_notification_item
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
Table account_notification_item
created_on timestamp
updated_on timestamp
amount_paid numeric(19,2)
attrs jsonb
type_select integer
created_by bigint
updated_by bigint
Idx invoice bigint
Idx move bigint
Idx notification bigint
Indexes
Pk account_notification_item_p id
key
Unq uk_5k5g15l9dn5od588tw73t import_id
uxdn
account_notification_item_in invoice
voice_idx
account_notification_item_m move
ove_idx
account_notification_item_n notification
otification_idx
Foreign Keys
fk_pjjttl7gsmbxlcw61vjivk1ch ( invoice ) ref
account_invoice ( id )
fk_du2l6cp45hmhlfvodend9xrxv ( move ) ref
account_move ( id )
fk_lwmroc0drc1vbjhx3jpbjjnif ( notification ) ref
account_notification ( id )
fk_1jdmi1wd1sknc7lys21x5gvgf ( created_by ) ref
auth_user ( id )
fk_bsp35up6byua7hn63xgb9pn56 ( updated_by )
ref auth_user ( id )

Table account_pay_voucher_due_element
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_remaining numeric(19,2)
attrs jsonb
due_amount numeric(19,2)
paid_amount numeric(19,2)
created_by bigint
updated_by bigint
Idx currency bigint
Idx move_line bigint
Idx payment_voucher bigint
Indexes
Pk account_pay_voucher_due_ id
element_pkey
Unq uk_8n0efbqqt19m8yt0upkfb import_id
0fp0
Table account_pay_voucher_due_element
account_pay_voucher_due_ currency
element_currency_idx
account_pay_voucher_due_ move_line
element_move_line_idx
account_pay_voucher_due_ payment_voucher
element_payment_voucher_
idx
Foreign Keys
fk_e16ueajjgbie7tgpyynacsujq ( move_line ) ref
account_move_line ( id )
fk_caflyc6ijms13sc4h4vet5fac ( payment_voucher )
ref account_payment_voucher ( id )
fk_3q5eg4ykf63ucxb4a50t9dcw6 ( created_by ) ref
auth_user ( id )
fk_i7c56y7dedd3f5pam0sw8ls72 ( updated_by ) ref
auth_user ( id )
fk_8rh18r762s052vxlc8623kyk7 ( currency ) ref
base_currency ( id )

Table account_pay_voucher_element_to_pay
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_to_pay numeric(19,2)
amount_to_pay_currency numeric(19,2)
attrs jsonb
remaining_amount numeric(19,2)
remaining_amount_after_pa numeric(19,2)
yment
sequence integer
total_amount numeric(19,2)
created_by bigint
updated_by bigint
Idx currency bigint
Idx move_line bigint
Idx move_line_generated bigint
Idx payment_voucher bigint
Indexes
Pk account_pay_voucher_elem id
ent_to_pay_pkey
Unq uk_dxariit2mhpdqukog1khl9 import_id
mjm
account_pay_voucher_elem currency
ent_to_pay_currency_idx
account_pay_voucher_elem move_line_generated
ent_to_pay_move_line_gen
erated_idx
account_pay_voucher_elem move_line
ent_to_pay_move_line_idx
account_pay_voucher_elem payment_voucher
ent_to_pay_payment_vouch
er_idx
Foreign Keys
Table account_pay_voucher_element_to_pay
fk_7xj98dnwtf41layaxfbtw7dns (
move_line_generated ) ref account_move_line ( id )
fk_mtbhib7r11l69ewvtg36292ve ( move_line ) ref
account_move_line ( id )
fk_2man13vkjxpn4ei9eu4l057e8 (
payment_voucher ) ref account_payment_voucher (
id )
fk_57sxdwn6cib68xk3pah1y12u7 ( created_by ) ref
auth_user ( id )
fk_bojerq6as8mobuax3j0mt96n3 ( updated_by ) ref
auth_user ( id )
fk_k87vgl2ru5cxu6tpril8g8ks7 ( currency ) ref
base_currency ( id )

Table account_paybox
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk account_paybox_pkey id
Unq uk_khghsjgu1q40573nm5fkr import_id
p1xq
account_paybox_name_idx name
Foreign Keys
fk_blw0pl3oicndw9ivg9bk4axhm ( created_by ) ref
auth_user ( id )
fk_dxhcqsdbug6c0xc461ismfvig ( updated_by ) ref
auth_user ( id )

Table account_paybox_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
Idx name varchar(255)
paybox_default_email varchar(255)
paybox_devise varchar(3)
paybox_hash_select varchar(255)
paybox_hmac varchar(255)
paybox_identifiant varchar(9)
paybox_public_key_path varchar(255)
Table account_paybox_config
paybox_rang varchar(2)
paybox_retour varchar(255)
paybox_retour_url_annule varchar(255)
paybox_retour_url_effectue varchar(255)
paybox_retour_url_refuse varchar(255)
paybox_site varchar(7)
paybox_url varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk account_paybox_config_pke id
y
Unq uk_htu6qxhmaflvhwxwi2k85 import_id
dt2o
account_paybox_config_cod code
e_idx
account_paybox_config_na name
me_idx
Foreign Keys
fk_4pw0bsm5cos9gpogwegqnde98 ( created_by )
ref auth_user ( id )
fk_9o45e9lvfhwuajokttl4ppb70 ( updated_by ) ref
auth_user ( id )

Table account_payer_quality_config_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
burden numeric(19,2)
description varchar(255)
incident_type_select integer
Idx name varchar(255)
reject_type varchar(255)
created_by bigint
updated_by bigint
Idx debt_recovery_level bigint
Indexes
Pk account_payer_quality_confi id
g_line_pkey
Unq uk_d2jjiopkrajrjm6yhvufman import_id
qt
account_payer_quality_confi debt_recovery_level
g_line_debt_recovery_level
_idx
account_payer_quality_confi name
g_line_name_idx
Foreign Keys
fk_7l1094k0yk1hndtpi5e6wobva (
debt_recovery_level ) ref
account_debt_recovery_level ( id )
Table account_payer_quality_config_line
fk_583fub5gwyxwb33ivyd9klm55 ( created_by ) ref
auth_user ( id )
fk_pydkw9h0pkbemgkxhih97t9v9 ( updated_by ) ref
auth_user ( id )

Table account_payment_condition
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
advance_payment_needed numeric(19,2)
attrs jsonb
* code varchar(255)
Unq
day_select integer
is_free bool
* Idx name varchar(255)
payment_time integer
period_type_select integer
type_select integer
created_by bigint
updated_by bigint
Indexes
Pk account_payment_condition id
_pkey
Unq uk_150onv92efcp8wf54g5j5 code
914i
Unq uk_n3dmjue6nnnroyrlgv4se import_id
m7n5
account_payment_condition name
_name_idx
Foreign Keys
fk_22xp6s2cftrroscr99vk92foj ( updated_by ) ref
auth_user ( id )
fk_objgl91ahcg0oxxv3qlpdp8x8 ( created_by ) ref
auth_user ( id )

Table account_payment_mode
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
auto_confirm_bank_order bool
automatic_transmission bool
bank_order_export_folder_p varchar(255)
ath
* Idx code varchar(255)
Table account_payment_mode
conso_bank_order_line_per bool
_partner
generate_bank_order bool
generate_move_auto_from_ bool
bank_order
in_out_select integer
* name varchar(255)
Unq
order_type_select integer
type_select integer
validate_payment_by_depo bool
sit_slip_publication
created_by bigint
updated_by bigint
Idx bank_order_file_format bigint
Indexes
Pk account_payment_mode_pk id
ey
Unq uk_byawii6oni88ppnq4jhmry import_id
n1u
Unq uk_o75fofkge4ttvl36fey5om name
q4n
account_payment_mode_ba bank_order_file_forma
nk_order_file_format_idx t
account_payment_mode_co code
de_idx
Foreign Keys
fk_fifg0rygmc6hkn686owkinbsi ( updated_by ) ref
auth_user ( id )
fk_n0x7yj74sfeiq8jqprv31cvjt ( created_by ) ref
auth_user ( id )
fk_6rt5q9yc807wcfwwo4ur7n1sr (
bank_order_file_format ) ref
bankpayment_bank_order_file_format ( id )

Table account_payment_schedule
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
creation_date date
in_tax_amount numeric(19,2)
irrecoverable_status_select integer
nbr_term integer
Unq payment_schedule_seq varchar(255)
reject_counter integer
start_date date
status_select integer
type_select integer
created_by bigint
updated_by bigint
Idx bank_details bigint
Table account_payment_schedule
* company bigint
Unq
Idx company_bank_details bigint
* Idx currency bigint
Idx management_object bigint
* Idx partner bigint
* Idx payment_mode bigint
Indexes
Pk account_payment_schedule id
_pkey
Unq uk_doen1tmkhsfk7p4hme3p payment_schedule_se
petw5 q, company
Unq uk_rypflwa42xd4yq4j5evdyo import_id
6fu
account_payment_schedule bank_details
_bank_details_idx
account_payment_schedule company_bank_detail
_company_bank_details_idx s
account_payment_schedule company
_company_idx
account_payment_schedule currency
_currency_idx
account_payment_schedule management_object
_management_object_idx
account_payment_schedule partner
_partner_idx
account_payment_schedule payment_mode
_payment_mode_idx
account_payment_schedule payment_schedule_se
_payment_schedule_seq_id q
x
Foreign Keys
fk_9lncn4laka0hesstnqaw9adsa (
management_object ) ref
account_management_object ( id )
fk_8ob6f4c9y0sbmbjv905dnjydf ( payment_mode )
ref account_payment_mode ( id )
fk_ficupeuipik5ilyrojk4jr9tc ( updated_by ) ref
auth_user ( id )
fk_okenia82s1yai7al2lsrwj9pb ( created_by ) ref
auth_user ( id )
fk_dk9yrnvqjwvon8klbdpyjygda ( bank_details ) ref
base_bank_details ( id )
fk_mleuc92lxjed8hanpj3pkicxu (
company_bank_details ) ref base_bank_details ( id
)
fk_713kktixibb5b0iya7kcyfmsh ( company ) ref
base_company ( id )
fk_mmaxk5rhw959v0f1k9dehs1d2 ( currency ) ref
base_currency ( id )
fk_la2i90t398u4joh6swg8d6u2p ( partner ) ref
base_partner ( id )

Table account_payment_schedule_invoice_set
* Pk account_payment_schedule bigint
* Pk invoice_set bigint
Indexes
Pk account_payment_schedule account_payment_sch
_invoice_set_pkey edule, invoice_set
Table account_payment_schedule_invoice_set
Foreign Keys
fk_hbktmwr1mc4s47iv92k7tdh94 ( invoice_set ) ref
account_invoice ( id )
fk_bc2p023hcvf6swa3r66fl0ndx (
account_payment_schedule ) ref
account_payment_schedule ( id )

Table account_payment_schedule_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_rejected numeric(19,2)
attrs jsonb
debit_blocking_ok bool
debit_number varchar(255)
direct_debit_amount numeric(19,2)
from_reject bool
in_tax_amount numeric(19,2)
in_tax_amount_paid numeric(19,2)
Idx name varchar(255)
reject_date date
rejected_ok bool
* schedule_date date
* schedule_line_seq integer
status_select integer
created_by bigint
updated_by bigint
Idx advance_move_line bigint
Idx advance_or_payment_move bigint
Idx direct_debit_management bigint
Idx interbank_code_line bigint
Idx payment_schedule bigint
Idx reject_move_line bigint
Indexes
Pk account_payment_schedule id
_line_pkey
Unq uk_lxon7vrfb14ur6terjkmc5p import_id
2d
account_payment_schedule advance_move_line
_line_advance_move_line_i
dx
account_payment_schedule advance_or_payment
_line_advance_or_payment _move
_move_idx
account_payment_schedule direct_debit_manage
_line_direct_debit_manage ment
ment_idx
account_payment_schedule interbank_code_line
_line_interbank_code_line_i
dx
account_payment_schedule name
_line_name_idx
Table account_payment_schedule_line
account_payment_schedule payment_schedule
_line_payment_schedule_id
x
account_payment_schedule reject_move_line
_line_reject_move_line_idx
Foreign Keys
fk_e481vqlqk93pg5v6v8r2opjue (
direct_debit_management ) ref
account_direct_debit_management ( id )
fk_khsi1oy54dwm8porlt0wq4som (
interbank_code_line ) ref
account_interbank_code_line ( id )
fk_oqklkg9lamq99onuciy02mtnl (
advance_or_payment_move ) ref account_move ( id
)
fk_gevs8v9rdj8w6n9ypvdvyamvd ( reject_move_line
) ref account_move_line ( id )
fk_lwa8emyyw8rru44eqgbbjh8er (
advance_move_line ) ref account_move_line ( id )
fk_61q0p8cfwwh03tephv0me8u1v (
payment_schedule ) ref
account_payment_schedule ( id )
fk_n4qc1apv286erd1uwjfxtfuts ( updated_by ) ref
auth_user ( id )
fk_rjmxbhk73ij00irg60gclw520 ( created_by ) ref
auth_user ( id )

Table account_payment_schedule_line_batch_set
* Pk account_payment_schedule bigint
_line
* Pk batch_set bigint
Indexes
Pk account_payment_schedule account_payment_sch
_line_batch_set_pkey edule_line, batch_set
Foreign Keys
fk_t1lovn9cvs4mgojqq0togcvod (
account_payment_schedule_line ) ref
account_payment_schedule_line ( id )
fk_doswvhw9pga93059kj5kucyag ( batch_set ) ref
base_batch ( id )

Table account_payment_voucher
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
allocated_amount numeric(19,2)
attrs jsonb
bank_card_transaction_num varchar(255)
ber
cheque_bank varchar(255)
cheque_date date
cheque_number varchar(255)
cheque_owner varchar(255)
Table account_payment_voucher
default_email_ok bool
email varchar(255)
has_auto_input bool
* operation_type_select integer
paid_amount numeric(19,2)
paid_amount_in_currency numeric(19,2)
paybox_amount_paid numeric(19,2)
paybox_paid_ok bool
payment_date date
Unq receipt_no varchar(255)
Unq ref varchar(255)
remaining_allocated_amoun numeric(19,2)
t
remaining_amount numeric(19,2)
status_select integer
to_save_email_ok bool
created_by bigint
updated_by bigint
Idx account bigint
* company bigint
Unq
Idx company_bank_details bigint
* Idx currency bigint
Idx deposit_slip bigint
Idx generated_move bigint
Idx move_line bigint
* Idx partner bigint
* Idx payment_mode bigint
Idx user_id bigint
Indexes
Pk account_payment_voucher_ id
pkey
Unq uk_1inhu9rr4pqo0ik02hpl2f3 ref, company
1h
Unq uk_b50a6cd0k5h6dkp8ods6 receipt_no, company
hvymo
Unq uk_ii6nlct9ydiagcbgi9xrx59g import_id
v
account_payment_voucher_ account
account_idx
account_payment_voucher_ company_bank_detail
company_bank_details_idx s
account_payment_voucher_ company
company_idx
account_payment_voucher_ currency
currency_idx
account_payment_voucher_ deposit_slip
deposit_slip_idx
account_payment_voucher_ generated_move
generated_move_idx
account_payment_voucher_ move_line
move_line_idx
account_payment_voucher_ partner
partner_idx
account_payment_voucher_ payment_mode
payment_mode_idx
account_payment_voucher_ ref
ref_idx
Table account_payment_voucher
account_payment_voucher_ user_id
user_id_idx
Foreign Keys
fk_3j7q0ejdhfn2tnkhf08pe5jj ( account ) ref
account_account ( id )
fk_si0k70bwf2hny0p6sd7qd81ig ( deposit_slip ) ref
account_deposit_slip ( id )
fk_r0bpaiyq6dg6yttv3qcod6ddq ( generated_move )
ref account_move ( id )
fk_396wvi6isvslpj2guve6qdw09 ( move_line ) ref
account_move_line ( id )
fk_cvfn0cql8jjluim6gjmg2ug5 ( payment_mode ) ref
account_payment_mode ( id )
fk_2018r2hhopnho11r300phs47i ( user_id ) ref
auth_user ( id )
fk_n0xj5q43lki00luidwdcgmrsh ( created_by ) ref
auth_user ( id )
fk_s6lpfy3l4lb3ls8i7gt3a3nm0 ( updated_by ) ref
auth_user ( id )
fk_2qb90c6s510ay7ko4u13jm4dy (
company_bank_details ) ref base_bank_details ( id
)
fk_mw2s988fho3dkeo9lsk3a78fo ( company ) ref
base_company ( id )
fk_2liyrx0itoth4dhgp5e7eccad ( currency ) ref
base_currency ( id )
fk_2b5768odujqn2cowa8dk93a5h ( partner ) ref
base_partner ( id )

Table account_payment_voucher_batch_set
* Pk account_payment_voucher bigint
* Pk batch_set bigint
Indexes
Pk account_payment_voucher_ account_payment_vo
batch_set_pkey ucher, batch_set
Foreign Keys
fk_eypk19mkm0mog1ymqhn2vapf3 (
account_payment_voucher ) ref
account_payment_voucher ( id )
fk_mqiiyaieybw6ion97ob4nab86 ( batch_set ) ref
base_batch ( id )

Table account_reconcile
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount numeric(19,2)
attrs jsonb
can_be_zero_balance_ok bool
must_be_zero_balance_ok bool
Unq reconcile_seq varchar(255)
reconciliation_date date
status_select integer
Table account_reconcile
created_by bigint
updated_by bigint
* company bigint
Unq
* Idx credit_move_line bigint
* Idx debit_move_line bigint
Idx reconcile_group bigint
Indexes
Pk account_reconcile_pkey id
Unq uk_k55t5lwb9gg1eaaiyl5yjss import_id
f2
Unq uk_lrqgld03lqrrqedjiggd3l3n reconcile_seq,
8 company
account_reconcile_company company
_idx
account_reconcile_credit_m credit_move_line
ove_line_idx
account_reconcile_debit_m debit_move_line
ove_line_idx
account_reconcile_reconcile reconcile_group
_group_idx
account_reconcile_reconcile reconcile_seq
_seq_idx
Foreign Keys
fk_8vo05suer0k89j8e10tp2m95h ( credit_move_line
) ref account_move_line ( id )
fk_qccl55efnf6yklaxs0bq089ie ( debit_move_line )
ref account_move_line ( id )
fk_ceb6p5bb091f0dangk9oua5ep ( reconcile_group
) ref account_reconcile_group ( id )
fk_bwaecuq4fx9tqh1olfreh4oj ( updated_by ) ref
auth_user ( id )
fk_qov5vbk4ryo3ee91qn09bdcq3 ( created_by ) ref
auth_user ( id )
fk_hisrg7a1ok7g4tuh726slw6ph ( company ) ref
base_company ( id )

Table account_reconcile_group
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
date_of_lettering date
status_select integer
unlettering_date date
created_by bigint
updated_by bigint
* Idx company bigint
Indexes
Pk account_reconcile_group_p id
key
Table account_reconcile_group
Unq uk_fji1yqlsmcmd65lrt2h8slrn import_id
m
account_reconcile_group_c code
ode_idx
account_reconcile_group_c company
ompany_idx
Foreign Keys
fk_fu8tp1mdu2tamu138yyvbyty4 ( created_by ) ref
auth_user ( id )
fk_o735ebehta4gq2gy3rg69809b ( updated_by ) ref
auth_user ( id )
fk_ef0wf2v6vua64lkoy4ms8kpyl ( company ) ref
base_company ( id )

Table account_reimbursement
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_reimbursed numeric(19,2)
amount_to_reimburse numeric(19,2)
attrs jsonb
description varchar(255)
Unq ref varchar(255)
reject_date date
rejected_ok bool
status_select integer
created_by bigint
updated_by bigint
Idx bank_details bigint
* company bigint
Unq
Idx interbank_code_line bigint
* Idx partner bigint
Idx reject_move_line bigint
Indexes
Pk account_reimbursement_pk id
ey
Unq uk_qmnvgpftmjqugukv2spr1 ref, company
e651
Unq uk_stsdugwsjqtfe1yykgsqbq import_id
rge
account_reimbursement_ba bank_details
nk_details_idx
account_reimbursement_co company
mpany_idx
account_reimbursement_int interbank_code_line
erbank_code_line_idx
account_reimbursement_pa partner
rtner_idx
account_reimbursement_ref ref
_idx
account_reimbursement_rej reject_move_line
ect_move_line_idx
Table account_reimbursement
Foreign Keys
fk_o363718a76uqpehrkiuksptfs (
interbank_code_line ) ref
account_interbank_code_line ( id )
fk_h7s6k3yx56rgchmujpams4ab7 (
reject_move_line ) ref account_move_line ( id )
fk_6cc7vh0xm3v6c6bjj43b1eixr ( updated_by ) ref
auth_user ( id )
fk_q8sprjxosm8ifnq1615p4jckv ( created_by ) ref
auth_user ( id )
fk_5ig0nuheb00si9395mvb7wg95 ( bank_details )
ref base_bank_details ( id )
fk_pno3j02p8oojqxcx5b444ev1t ( company ) ref
base_company ( id )
fk_red0v9lqg48d8x50o25u0d5k9 ( partner ) ref
base_partner ( id )

Table account_reimbursement_batch_set
* Pk account_reimbursement bigint
* Pk batch_set bigint
Indexes
Pk account_reimbursement_bat account_reimburseme
ch_set_pkey nt, batch_set
Foreign Keys
fk_89fgm5fen7q7x51rach6d3sem (
account_reimbursement ) ref
account_reimbursement ( id )
fk_c49u7j9l5k4x6hx0x8qmj77wt ( batch_set ) ref
base_batch ( id )

Table account_reimbursement_move_line_set
* Pk account_reimbursement bigint
* Pk move_line_set bigint
Indexes
Pk account_reimbursement_mo account_reimburseme
ve_line_set_pkey nt, move_line_set
Foreign Keys
fk_5nkigr1pyk9h9csu394jrqek5 ( move_line_set )
ref account_move_line ( id )
fk_69g0lbdbon3kunnwfopxk9ffu (
account_reimbursement ) ref
account_reimbursement ( id )

Table account_reported_balance_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount numeric(19,2)
attrs jsonb
created_by bigint
updated_by bigint
Table account_reported_balance_line
Idx accounting_situation bigint
Idx year bigint
Indexes
Pk account_reported_balance_l id
ine_pkey
Unq uk_rcowty5ddjwh1qbg2up1e import_id
1yrd
account_reported_balance_l accounting_situation
ine_accounting_situation_id
x
account_reported_balance_l year
ine_year_idx
Foreign Keys
fk_1gahfpvixg5jeqd1fjyp2jeh0 (
accounting_situation ) ref
account_accounting_situation ( id )
fk_g6e4xt9g3kcrhg7v3w3775tl0 ( updated_by ) ref
auth_user ( id )
fk_qddkv39tvm66ctxx8kauo71c0 ( created_by ) ref
auth_user ( id )
fk_sed2ggt2v5dei4hysedhan9ge ( year ) ref
base_year ( id )

Table account_subrogation_release
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
accounting_date date
attrs jsonb
cancel_reason text
comments text
Idx sequence_number varchar(255)
status_select integer
transmission_date date
created_by bigint
updated_by bigint
Idx company bigint
Indexes
Pk account_subrogation_releas id
e_pkey
Unq uk_hbe31388llsykbaykuwsw import_id
jss2
account_subrogation_releas company
e_company_idx
account_subrogation_releas sequence_number
e_sequence_number_idx
Foreign Keys
fk_957883ykgese7xotdhi5omglc ( created_by ) ref
auth_user ( id )
fk_993et8j6gj7k06ra6p2iw103q ( updated_by ) ref
auth_user ( id )
fk_qdo5lwilvpoh5820hdr32mb4x ( company ) ref
base_company ( id )
Table account_subrogation_release_invoice_set
* Pk account_subrogation_releas bigint
e
* Pk invoice_set bigint
Indexes
Pk account_subrogation_releas account_subrogation_
e_invoice_set_pkey release, invoice_set
Foreign Keys
fk_goal7t9i44d2rpnyedursu04o ( invoice_set ) ref
account_invoice ( id )
fk_21udaqg997y4fq1nln5bk31ai (
account_subrogation_release ) ref
account_subrogation_release ( id )

Table account_subrogation_release_move_list
* account_subrogation_releas bigint
e
* move_list bigint
Unq
Indexes
Unq uk_1r3iyqd5egnrj8q2dt548d move_list
7aa
Foreign Keys
fk_1r3iyqd5egnrj8q2dt548d7aa ( move_list ) ref
account_move ( id )
fk_9ptfa1np01kj7csib1xmso5ox (
account_subrogation_release ) ref
account_subrogation_release ( id )

Table account_tax
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* name varchar(255)
Unq
type_select integer
created_by bigint
updated_by bigint
Idx active_tax_line bigint
Indexes
Pk account_tax_pkey id
Unq uk_5sv6qf584a5fsgnw81tak code
2rnh
Unq uk_7vqxmi397po8d1y8b1cc code, name
osl9g
Unq uk_lx5ngdqp8jx0s2s55dhd4 import_id
xr8h
account_tax_active_tax_line active_tax_line
_idx
account_tax_name_idx name
Table account_tax
Foreign Keys
fk_e2bobbnnhul6hbg4a17m8j1ep ( active_tax_line )
ref account_tax_line ( id )
fk_iwyh3fgyas3yaft7y4225dgyb ( updated_by ) ref
auth_user ( id )
fk_ritwiwb8b7c1qdco6p11tr05r ( created_by ) ref
auth_user ( id )

Table account_tax_equiv
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
reverse_charge bool
specific_note text
created_by bigint
updated_by bigint
Unq fiscal_position bigint
Unq from_tax bigint
Idx reverse_charge_tax bigint
Idx to_tax bigint
Indexes
Pk account_tax_equiv_pkey id
Unq uk_m3r9wfdmvnxqxjamw72 fiscal_position,
yn7a5t from_tax
Unq uk_o9rp5jfmab8hqgjvcgtlktw import_id
jg
account_tax_equiv_fiscal_p fiscal_position
osition_idx
account_tax_equiv_from_ta from_tax
x_idx
account_tax_equiv_reverse reverse_charge_tax
_charge_tax_idx
account_tax_equiv_to_tax_i to_tax
dx
Foreign Keys
fk_meyclo2j2uhbg36gsfhk1podt ( fiscal_position )
ref account_fiscal_position ( id )
fk_hgaxf2jwe9psgocwelpaj8mkc ( to_tax ) ref
account_tax ( id )
fk_jutr38n5eajxf9tmy3s14367c ( from_tax ) ref
account_tax ( id )
fk_pnyaa0kh1botb6w1y7180k9we (
reverse_charge_tax ) ref account_tax ( id )
fk_41ghnpus2aprbhf7252vp07eh ( updated_by ) ref
auth_user ( id )
fk_ex2ngy67lme2pg9himi2apfa9 ( created_by ) ref
auth_user ( id )

Table account_tax_line
* Pk id bigint
archived bool
Table account_tax_line
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
end_date date
Idx name varchar(255)
* start_date date
value numeric(20,3)
created_by bigint
updated_by bigint
Idx tax bigint
Indexes
Pk account_tax_line_pkey id
Unq uk_elawbnyk2u0dwmk2gp7 import_id
5m8jxe
account_tax_line_name_idx name
account_tax_line_tax_idx tax
Foreign Keys
fk_iqyeadskxkq10bjpgyj3971bc ( tax ) ref
account_tax ( id )
fk_abeqy80axjk3i8sbftk53y9yj ( created_by ) ref
auth_user ( id )
fk_q4ekl5swjnib65vryrboia423 ( updated_by ) ref
auth_user ( id )

Table account_tax_payment_move_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
date_val date
detail_payment_amount numeric(20,2)
is_already_reverse bool
tax_amount numeric(20,2)
tax_rate numeric(20,3)
created_by bigint
updated_by bigint
Idx move_line bigint
Idx origin_tax_line bigint
Idx reconcile bigint
Indexes
Pk account_tax_payment_mov id
e_line_pkey
Unq uk_sfsejdfgwacg4y4ekrck0l import_id
99l
account_tax_payment_mov move_line
e_line_move_line_idx
account_tax_payment_mov origin_tax_line
e_line_origin_tax_line_idx
Table account_tax_payment_move_line
account_tax_payment_mov reconcile
e_line_reconcile_idx
Foreign Keys
fk_ng6bnv224tgjkc2a70yir5x8d ( move_line ) ref
account_move_line ( id )
fk_a38p3lunm7gjh404d8ed47py9 ( reconcile ) ref
account_reconcile ( id )
fk_1o2imh40ko4gh09b188c8nxf1 ( origin_tax_line )
ref account_tax_line ( id )
fk_p8c69lk5088f1445p0bny9c50 ( updated_by ) ref
auth_user ( id )
fk_sxle0anj1x9d8i6p7n9xprnku ( created_by ) ref
auth_user ( id )

Table account_umr
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
creation_date date
debtor_name varchar(255)
is_updating bool
last_number_iban_bic varchar(255)
mandate_signature_date date
Idx umr_number varchar(255)
created_by bigint
updated_by bigint
Idx active_bank_details bigint
Idx debtor_address bigint
Idx mandate_signature_city bigint
Idx partner bigint
Indexes
Pk account_umr_pkey id
Unq uk_dv8su0e9h4wny2aq998k import_id
u7khk
account_umr_active_bank_ active_bank_details
details_idx
account_umr_debtor_addre debtor_address
ss_idx
account_umr_mandate_sign mandate_signature_ci
ature_city_idx ty
account_umr_partner_idx partner
account_umr_umr_number_ umr_number
idx
Foreign Keys
fk_biry4rjeemrum17k2eki9jd8u ( created_by ) ref
auth_user ( id )
fk_ljqljtr713s6g4f158c3lvh6v ( updated_by ) ref
auth_user ( id )
fk_schg4bxqidl0jhcj67aj1np36 ( debtor_address )
ref base_address ( id )
fk_6kn74lxd5jw9mhg6337w3qmpx (
active_bank_details ) ref base_bank_details ( id )
Table account_umr
fk_4jne2oe3a1qk35m49wgmhk77e (
mandate_signature_city ) ref base_city ( id )
fk_pp6ddoblsk7t4uoutprwlbrme ( partner ) ref
base_partner ( id )

Table auth_group
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* code varchar(255)
Unq
home_action varchar(255)
is_client bool
is_supplier bool
* name varchar(255)
Unq
navigation varchar(255)
technical_staff bool
created_by bigint
updated_by bigint
Indexes
Pk auth_group_pkey id
Unq uk_39bl1cer3jfbgs0mesx94 code
ar92
Unq uk_isc86ncykxnlkku68eqv1f name
gyw
Unq uk_lfh8xmgm99wa873jrfdsp import_id
86ei
Foreign Keys
fk_r9is5ge01fcurjvpfagsuuoad ( created_by ) ref
auth_user ( id )
fk_s8x260hcm0siwntuj698n2hic ( updated_by ) ref
auth_user ( id )

Table auth_group_meta_permissions
* Pk auth_group bigint
* Pk meta_permissions bigint
Indexes
Pk auth_group_meta_permissio auth_group,
ns_pkey meta_permissions
Foreign Keys
fk_99t9uf2a2ngfqwr4w4x5stn5w ( auth_group ) ref
auth_group ( id )
fk_6fvud0yualxnppl8c8o5th6bf ( meta_permissions )
ref meta_permission ( id )

Table auth_group_permissions
* Pk auth_group bigint
* Pk permissions bigint
Indexes
Table auth_group_permissions
Pk auth_group_permissions_pk auth_group,
ey permissions
Foreign Keys
fk_g42npgku1mtrxniuwwghl7ehs ( auth_group ) ref
auth_group ( id )
fk_f9taqgiiv74i7cqe0e54l99pe ( permissions ) ref
auth_permission ( id )

Table auth_group_roles
* Pk auth_group bigint
* Pk roles bigint
Indexes
Pk auth_group_roles_pkey auth_group, roles
Foreign Keys
fk_s1ngmobew8jnagxqnnuol7e2x ( auth_group ) ref
auth_group ( id )
fk_sv99d6xqyriwro7t5x07cj99r ( roles ) ref auth_role
( id )

Table auth_permission
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
can_create bool
can_export bool
can_read bool
can_remove bool
can_write bool
condition_value varchar(1024)
condition_params varchar(255)
* name varchar(255)
Unq
* object varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk auth_permission_pkey id
Unq uk_g9wv3jbmx5bagwrfdway name
js8go
Unq uk_k6n630r1dw3gwl7snra2 import_id
qrrs7
Foreign Keys
fk_f3vb02wwpii82pru62q7iyjxy ( created_by ) ref
auth_user ( id )
fk_tray2m1ftua9e0dake87s6q9u ( updated_by ) ref
auth_user ( id )

Table auth_permission_assistant
* Pk id bigint
Table auth_permission_assistant
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
field_permission bool
import_date timestamp
language varchar(255)
log text
* type_select integer
created_by bigint
updated_by bigint
Idx meta_field bigint
Idx meta_file bigint
Indexes
Pk auth_permission_assistant_ id
pkey
Unq uk_ccmn0kfehjhuk1ifi1r2s5b import_id
r6
auth_permission_assistant_ meta_field
meta_field_idx
auth_permission_assistant_ meta_file
meta_file_idx
Foreign Keys
fk_dsdrr6auvbs7880am48py9a6d ( updated_by ) ref
auth_user ( id )
fk_q2f7ih3n4k3r5yertxof08e3r ( created_by ) ref
auth_user ( id )
fk_8w2q1l2cn2mle2h6peiojl6oc ( meta_field ) ref
meta_field ( id )
fk_m6pt5bylel864hfyp775omxma ( meta_file ) ref
meta_file ( id )

Table auth_permission_assistant_group_set
* Pk auth_permission_assistant bigint
* Pk group_set bigint
Indexes
Pk auth_permission_assistant_ auth_permission_assi
group_set_pkey stant, group_set
Foreign Keys
fk_5loph0e3e2ag9whg6l6fhquid ( group_set ) ref
auth_group ( id )
fk_h8sb11itq1ffpnuas5oslvbgq (
auth_permission_assistant ) ref
auth_permission_assistant ( id )

Table auth_permission_assistant_object_set
* Pk auth_permission_assistant bigint
* Pk object_set bigint
Indexes
Pk auth_permission_assistant_ auth_permission_assi
object_set_pkey stant, object_set
Foreign Keys
Table auth_permission_assistant_object_set
fk_pbf2r77q9deiqorp0i2j4il4k (
auth_permission_assistant ) ref
auth_permission_assistant ( id )
fk_cjh6trjqvwfk0okcmttl8hlhy ( object_set ) ref
meta_model ( id )

Table auth_permission_assistant_role_set
* Pk auth_permission_assistant bigint
* Pk role_set bigint
Indexes
Pk auth_permission_assistant_ auth_permission_assi
role_set_pkey stant, role_set
Foreign Keys
fk_93k1d8w5itmhvwwqaedyafbyg (
auth_permission_assistant ) ref
auth_permission_assistant ( id )
fk_nwatmqyrcaaplqt1m688mqjfb ( role_set ) ref
auth_role ( id )

Table auth_role
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
description varchar(255)
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Indexes
Pk auth_role_pkey id
Unq uk_ckath13kcx2cc8dul9pho import_id
a81h
Unq uk_lc1sij60969nsgl5cy8bfgb name
sm
Foreign Keys
fk_d014t91bi3d1udigbmv8o8wp8 ( created_by ) ref
auth_user ( id )
fk_qmsxgcn50i22ixcpc5r8k5ttm ( updated_by ) ref
auth_user ( id )

Table auth_role_meta_permissions
* Pk auth_role bigint
* Pk meta_permissions bigint
Indexes
Pk auth_role_meta_permission auth_role,
s_pkey meta_permissions
Foreign Keys
fk_bq8f6gm7rdfron9ucauu1vuyy ( auth_role ) ref
auth_role ( id )
fk_1k4cf5ivb360bmnkfkj3l6yxf ( meta_permissions )
ref meta_permission ( id )
Table auth_role_permissions
* Pk auth_role bigint
* Pk permissions bigint
Indexes
Pk auth_role_permissions_pke auth_role, permissions
y
Foreign Keys
fk_524tm89e2wrcrnij5kquilj5e ( permissions ) ref
auth_permission ( id )
fk_thvhoynylv1dx2vf8c86swyme ( auth_role ) ref
auth_role ( id )

Table auth_user
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
activate_on date
app_permissions varchar(255)
blocked bool
* code varchar(255)
Unq
email varchar(255)
expires_on date
Idx full_name varchar(255)
home_action varchar(255)
image oid(10)
language varchar(255)
* Idx name varchar(255)
no_help bool
* password varchar(255)
receive_emails bool
send_email_upon_passwor bool
d_change
single_tab bool
theme varchar(255)
today timestamp
use_signature_for_quotation bool
s
use_signature_for_stock bool
created_by bigint
updated_by bigint
Idx active_company bigint
Idx active_team bigint
Idx electronic_signature bigint
Idx employee bigint
Idx group_id bigint
Idx i_calendar bigint
Idx partner bigint
Idx workshop_stock_location bigint
Indexes
Pk auth_user_pkey id
Table auth_user
Unq uk_8u7omaa7g7kqp6u5gbi3 code
ixc3k
Unq uk_e0wk3gtcvjiw4lnqxpufsw import_id
bc2
auth_user_active_company active_company
_idx
auth_user_active_team_idx active_team
auth_user_electronic_signat electronic_signature
ure_idx
auth_user_employee_idx employee
auth_user_full_name_idx full_name
auth_user_group_id_idx group_id
auth_user_i_calendar_idx i_calendar
auth_user_name_idx name
auth_user_partner_idx partner
auth_user_workshop_stock workshop_stock_locati
_location_idx on
Foreign Keys
fk_amlpfk6mo2f0hbn3cgm1sxgvy ( group_id ) ref
auth_group ( id )
fk_j8uwc0wf76hh3r75calukqpfu ( created_by ) ref
auth_user ( id )
fk_k6awdetk9rmlfb3nh2mkl2hio ( updated_by ) ref
auth_user ( id )
fk_i9uene8jiktmpm59q70qk599y ( active_company )
ref base_company ( id )
fk_llcooewheqo20myhljawix3n9 ( partner ) ref
base_partner ( id )
fk_agaf6okg044nycc049axcdcx6 ( employee ) ref
hr_employee ( id )
fk_6ls1soommcuv7ghroiacpgug1 ( i_calendar ) ref
ical_calendar ( id )
fk_47913ob67ds2cs3j1vngxblo5 (
electronic_signature ) ref meta_file ( id )
fk_29451n8hf2f7ddx3dtkm41v3k (
workshop_stock_location ) ref stock_stock_location
( id )
fk_7f0ypv3jvv160wnm5q5bbm6x1 ( active_team )
ref team_team ( id )

Table auth_user_company_set
* Pk auth_user bigint
* Pk company_set bigint
Indexes
Pk auth_user_company_set_pk auth_user,
ey company_set
Foreign Keys
fk_d2gn9fe8xcvcvmvfkfh6lkj7k ( auth_user ) ref
auth_user ( id )
fk_3fjj8p8xhtp3cqyjiio5myfup ( company_set ) ref
base_company ( id )

Table auth_user_email_account_list
* auth_user bigint
* email_account_list bigint
Unq
Indexes
Table auth_user_email_account_list
Unq uk_hy07iulfofkto5s8tnapc5l9 email_account_list
o
Foreign Keys
fk_3y2ov7bmuajuiddh830cw28f7 ( auth_user ) ref
auth_user ( id )
fk_hy07iulfofkto5s8tnapc5l9o ( email_account_list )
ref message_email_account ( id )

Table auth_user_followed_meta_model_set
* Pk auth_user bigint
* Pk followed_meta_model_set bigint
Indexes
Pk auth_user_followed_meta_ auth_user,
model_set_pkey followed_meta_model
_set
Foreign Keys
fk_j4aw9gmh34dexibj33v390lcc ( auth_user ) ref
auth_user ( id )
fk_19giewrghi3cxbloe3yxbeq71 (
followed_meta_model_set ) ref meta_model ( id )

Table auth_user_followers_cal_user_set
* Pk auth_user bigint
* Pk followers_cal_user_set bigint
Indexes
Pk auth_user_followers_cal_us auth_user,
er_set_pkey followers_cal_user_se
t
Foreign Keys
fk_da3s1rbh71ejyomyd3wwax5tu (
followers_cal_user_set ) ref auth_user ( id )
fk_iwbkuosxmst0m2lwfxak5d6it ( auth_user ) ref
auth_user ( id )

Table auth_user_meta_permissions
* Pk auth_user bigint
* Pk meta_permissions bigint
Indexes
Pk auth_user_meta_permission auth_user,
s_pkey meta_permissions
Foreign Keys
fk_g43w711joeyaxfv8emjqlafgy ( auth_user ) ref
auth_user ( id )
fk_qtu7q51l710xrr9mk5js65o5b ( meta_permissions
) ref meta_permission ( id )

Table auth_user_permissions
* Pk auth_user bigint
* Pk permissions bigint
Indexes
Pk auth_user_permissions_pke auth_user,
y permissions
Foreign Keys
Table auth_user_permissions
fk_ddylio6c2hd5ewtapqhkt8x43 ( permissions ) ref
auth_permission ( id )
fk_55sydc33j6iksfnyjvx9v2122 ( auth_user ) ref
auth_user ( id )

Table auth_user_roles
* Pk auth_user bigint
* Pk roles bigint
Indexes
Pk auth_user_roles_pkey auth_user, roles
Foreign Keys
fk_g4do2mwwomxkjscq7nlowm3il ( roles ) ref
auth_role ( id )
fk_8i6hv5jhi6xx6lbi2yjhq6uyt ( auth_user ) ref
auth_user ( id )

Table bankpayment_bank_order
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
arithmetic_total numeric(19,2)
attrs jsonb
bank_order_date date
Unq bank_order_seq varchar(255)
bank_order_total_amount numeric(19,2)
company_currency_total_a numeric(19,2)
mount
confirmation_date_time timestamp
file_generation_date_time timestamp
is_multi_currency bool
is_multi_date bool
nb_of_lines integer
order_type_select integer
* partner_type_select integer
reject_status_select integer
sender_label varchar(255)
sender_reference varchar(255)
sending_date_time timestamp
status_select integer
technical_origin_select integer
test_mode bool
validation_date_time timestamp
created_by bigint
updated_by bigint
Idx bank_order_currency bigint
* Idx bank_order_file_format bigint
Idx batch bigint
Idx company_currency bigint
Idx generated_meta_file bigint
Table bankpayment_bank_order
Idx payment_mode bigint
Idx sender_bank_details bigint
Unq sender_company bigint
Idx signatory_ebics_user bigint
Idx signatory_user bigint
Idx signed_meta_file bigint
Indexes
Pk bankpayment_bank_order_ id
pkey
Unq uk_369hxc4leg2900fk8nmfls import_id
nfv
Unq uk_pbv76cdrjokckhv146ndtf bank_order_seq,
rxa sender_company
bankpayment_bank_order_ bank_order_currency
bank_order_currency_idx
bankpayment_bank_order_ bank_order_file_forma
bank_order_file_format_idx t
bankpayment_bank_order_ bank_order_seq
bank_order_seq_idx
bankpayment_bank_order_ batch
batch_idx
bankpayment_bank_order_c company_currency
ompany_currency_idx
bankpayment_bank_order_ generated_meta_file
generated_meta_file_idx
bankpayment_bank_order_ payment_mode
payment_mode_idx
bankpayment_bank_order_s sender_bank_details
ender_bank_details_idx
bankpayment_bank_order_s sender_company
ender_company_idx
bankpayment_bank_order_s signatory_ebics_user
ignatory_ebics_user_idx
bankpayment_bank_order_s signatory_user
ignatory_user_idx
bankpayment_bank_order_s signed_meta_file
igned_meta_file_idx
Foreign Keys
fk_e201bypc8wsdm5kb4fpmygetu ( payment_mode
) ref account_payment_mode ( id )
fk_ctgpx8wxit07enu2690r11ds4 ( signatory_user )
ref auth_user ( id )
fk_ljv6mhanfcj9h712bbein63mi ( updated_by ) ref
auth_user ( id )
fk_ox0buyob8l780pkqlt1ebxff6 ( created_by ) ref
auth_user ( id )
fk_jipmmkmmf2w9tjbl5qjx4b4a1 (
bank_order_file_format ) ref
bankpayment_bank_order_file_format ( id )
fk_q6w8pbcibm5kw73rerl0hcn1x (
signatory_ebics_user ) ref
bankpayment_ebics_user ( id )
fk_jh1wgqaxew4xn9hsbs1cf3jhl (
sender_bank_details ) ref base_bank_details ( id )
fk_hrr2rl2m16w5xnqqn9kym5gkx ( batch ) ref
base_batch ( id )
fk_rubcgjjtm8r39gn3m99fjj6gt ( sender_company )
ref base_company ( id )
fk_eq5qs65qbl4b8eev2oxxjg8uq (
company_currency ) ref base_currency ( id )
Table bankpayment_bank_order
fk_hqvhbab8efhj2kuclsgg2k3wh (
bank_order_currency ) ref base_currency ( id )
fk_ig3wxudwl62uwbxgedkjvmsct ( signed_meta_file
) ref meta_file ( id )
fk_mkih70tdh445273e912nbi8k5 (
generated_meta_file ) ref meta_file ( id )

Table bankpayment_bank_order_economic_reason
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(3)
description text
label varchar(255)
Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk bankpayment_bank_order_ id
economic_reason_pkey
Unq uk_2je4iwqsin7styfkd5ek4r2 import_id
6h
bankpayment_bank_order_ code
economic_reason_code_idx
bankpayment_bank_order_ name
economic_reason_name_id
x
Foreign Keys
fk_8lg8tedir5ek2bx0yxbiats9q ( updated_by ) ref
auth_user ( id )
fk_q2ywx2t1g93kay6govkh1og9r ( created_by ) ref
auth_user ( id )

Table bankpayment_bank_order_file_format
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
allow_order_curr_diff_from_ bool
bank_details
attrs jsonb
bank_details_type_select varchar(255)
description text
display_additionnal_informat bool
ions
display_bank_order_econo bool
mic_reason
Table bankpayment_bank_order_file_format
display_fees_imputation_mo bool
de_select
display_further_informations bool
display_payment_mode_sel bool
ect
display_receiver_address bool
display_receiver_country bool
fees_imputation_mode_sele integer
ct
file_generation_supported bool
iban_only bool
is_multi_currency bool
is_multi_date bool
Idx name varchar(255)
order_debit_type_select integer
order_file_format_select varchar(255)
order_type_select integer
payment_mode_select integer
qualifying_of_amount_select varchar(255)
qualifying_of_date varchar(255)
created_by bigint
updated_by bigint
Idx bank_order_economic_reas bigint
on
Idx currency bigint
Idx receiver_country bigint
Indexes
Pk bankpayment_bank_order_fi id
le_format_pkey
Unq uk_1llqe2wiwla0215l2krr5q import_id
mbt
bankpayment_bank_order_fi currency
le_format_currency_idx
bankpayment_bank_order_fi name
le_format_name_idx
bankpayment_bank_order_fi receiver_country
le_format_receiver_country_
idx
idx_bankpayment_bank_ord bank_order_economic
er_file_format_economic_re _reason
ason
Foreign Keys
fk_2x3p1e1h1cwe15925pi1p3u9k ( updated_by ) ref
auth_user ( id )
fk_huvu75a65v2ndiikx0khb9e5q ( created_by ) ref
auth_user ( id )
fk_iq17x06em21r8er7ume215lj8 (
bank_order_economic_reason ) ref
bankpayment_bank_order_economic_reason ( id )
fk_8vn4siavu8tk9yq32bw3dhtd ( receiver_country )
ref base_country ( id )
fk_5igx4lcsia5ciks8n1bcj4r4f ( currency ) ref
base_currency ( id )

Table bankpayment_bank_order_file_format_country
* Pk id bigint
archived bool
Table bankpayment_bank_order_file_format_country
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
receiver_address_required bool
created_by bigint
updated_by bigint
Idx bank_order_file_format bigint
Idx country bigint
Indexes
Pk bankpayment_bank_order_fi id
le_format_country_pkey
Unq uk_9qu395c41wca0bo8fl0le import_id
39vs
bankpayment_bank_order_fi bank_order_file_forma
le_format_country_bank_or t
der_file_form
bankpayment_bank_order_fi country
le_format_country_country_i
dx
Foreign Keys
fk_9shgn7ppwl025b5r0onohfyup ( created_by ) ref
auth_user ( id )
fk_sxp6tuoh08ai1qa6vrb1nqrvc ( updated_by ) ref
auth_user ( id )
fk_6vcwp0be619n19erp05gdgsve (
bank_order_file_format ) ref
bankpayment_bank_order_file_format ( id )
fk_5uo0mm9nx5ny4bhom8en5c0w ( country ) ref
base_country ( id )

Table bankpayment_bank_order_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* bank_order_amount numeric(19,2)
bank_order_date date
company_currency_amount numeric(19,2)
counter integer
fees_imputation_mode_sele integer
ct
is_rejected bool
payment_mode_select integer
payment_reason_line1 varchar(35)
payment_reason_line2 varchar(35)
payment_reason_line3 varchar(35)
payment_reason_line4 varchar(35)
receiver_address_str varchar(255)
receiver_label varchar(255)
Table bankpayment_bank_order_line
receiver_reference varchar(255)
reject_amount numeric(19,2)
reject_date date
Idx sequence varchar(255)
special_instructions_line1 varchar(35)
special_instructions_line2 varchar(35)
special_instructions_line3 varchar(35)
created_by bigint
updated_by bigint
Idx bank_order bigint
Idx bank_order_currency bigint
Idx bank_order_economic_reas bigint
on
Idx interbank_code_line bigint
* Idx partner bigint
Idx receiver_bank_details bigint
Idx receiver_company bigint
Idx receiver_country bigint
Idx receiver_move bigint
Idx reject_move bigint
Idx sender_move bigint
Indexes
Pk bankpayment_bank_order_li id
ne_pkey
Unq uk_axn9xqkqg3tn4dwctsl0b import_id
5n5g
bankpayment_bank_order_li bank_order_currency
ne_bank_order_currency_id
x
bankpayment_bank_order_li bank_order_economic
ne_bank_order_economic_r _reason
eason_idx
bankpayment_bank_order_li bank_order
ne_bank_order_idx
bankpayment_bank_order_li interbank_code_line
ne_interbank_code_line_idx
bankpayment_bank_order_li partner
ne_partner_idx
bankpayment_bank_order_li receiver_bank_details
ne_receiver_bank_details_i
dx
bankpayment_bank_order_li receiver_company
ne_receiver_company_idx
bankpayment_bank_order_li receiver_country
ne_receiver_country_idx
bankpayment_bank_order_li receiver_move
ne_receiver_move_idx
bankpayment_bank_order_li reject_move
ne_reject_move_idx
bankpayment_bank_order_li sender_move
ne_sender_move_idx
bankpayment_bank_order_li sequence
ne_sequence_idx
Foreign Keys
fk_8gbllm0r29jeosils5sbkt8h4 ( interbank_code_line
) ref account_interbank_code_line ( id )
fk_78q5mewrtoehxot2keftfs88r ( sender_move ) ref
account_move ( id )
Table bankpayment_bank_order_line
fk_jmlh61f0v7w2q7pd5blii7ft2 ( receiver_move ) ref
account_move ( id )
fk_r8liv37b3gwsmcgn3ny16s4l0 ( reject_move ) ref
account_move ( id )
fk_gcsmrhpc5pg5msh59vfd1f4s5 ( updated_by ) ref
auth_user ( id )
fk_hkrg8brc3ddx3bjil6tn4k5r8 ( created_by ) ref
auth_user ( id )
fk_frf7atord6bun99dg2uq14v19 ( bank_order ) ref
bankpayment_bank_order ( id )
fk_teka5xs4x29xr9fdrjajrr7cj (
bank_order_economic_reason ) ref
bankpayment_bank_order_economic_reason ( id )
fk_drdct50p2m778bl3u30osq6s (
receiver_bank_details ) ref base_bank_details ( id )
fk_1jhm3nsknrho3ml79fpcopcx1 (
receiver_company ) ref base_company ( id )
fk_lg28cpr2s653fdr4q7ygh94hl ( receiver_country )
ref base_country ( id )
fk_d4719mll7qhwtya0qfyilmnoy (
bank_order_currency ) ref base_currency ( id )
fk_n1mpw7bcad3xdu7ouboq6ge7v ( partner ) ref
base_partner ( id )

Table bankpayment_bank_order_line_origin
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
related_to_select varchar(255)
related_to_select_id bigint
related_to_select_name varchar(255)
created_by bigint
updated_by bigint
Idx bank_order_line bigint
Indexes
Pk bankpayment_bank_order_li id
ne_origin_pkey
Unq uk_bt0jt0x0ojency4wrjgc70c import_id
r7
bankpayment_bank_order_li bank_order_line
ne_origin_bank_order_line_i
dx
Foreign Keys
fk_lqs5qxin3lfc1oyqx7b59kw5e ( created_by ) ref
auth_user ( id )
fk_qmg9phiusfaevbgq4ctgtr7jq ( updated_by ) ref
auth_user ( id )
fk_i505yfaryo7twlk0wk1q4tpgd ( bank_order_line )
ref bankpayment_bank_order_line ( id )

Table bankpayment_bank_payment_batch
* Pk id bigint
Table bankpayment_bank_payment_batch
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* action_select integer
attrs jsonb
Unq code varchar(255)
days_nbr integer
description text
created_by bigint
updated_by bigint
Idx company bigint
Idx template bigint
Indexes
Pk bankpayment_bank_payme id
nt_batch_pkey
Unq uk_mahbs5hc3peu13gmg8x import_id
xwgyq2
Unq uk_tf7xcejrypui02o5em3cts code
mhw
bankpayment_bank_payme company
nt_batch_company_idx
bankpayment_bank_payme template
nt_batch_template_idx
Foreign Keys
fk_1eoq0yr930u5g7gu3m16axtnc ( created_by ) ref
auth_user ( id )
fk_s3qqa3e4eviqq9i9uyio9pbf5 ( updated_by ) ref
auth_user ( id )
fk_anrlfoug9lg4w9atf4213nnbx ( company ) ref
base_company ( id )
fk_d1rj4gcn4xomg43ooebcnxwnl ( template ) ref
message_template ( id )

Table bankpayment_bank_payment_batch_bank_statement_file_format_set
* Pk bankpayment_bank_payme bigint
nt_batch
* Pk bank_statement_file_format bigint
_set
Indexes
Pk bankpayment_bank_payme bankpayment_bank_p
nt_batch_bank_statement_fi ayment_batch,
le_format__pkey bank_statement_file_f
ormat_set
Foreign Keys
fk_pfu028ywv2xtgb2p1iyl5wudl (
bankpayment_bank_payment_batch ) ref
bankpayment_bank_payment_batch ( id )
fk_r7jbxidspkut599fe678b5h11 (
bank_statement_file_format_set ) ref
bankpayment_bank_statement_file_format ( id )

Table bankpayment_bank_payment_batch_ebics_partner_set
* Pk bankpayment_bank_payme bigint
nt_batch
Table bankpayment_bank_payment_batch_ebics_partner_set
* Pk ebics_partner_set bigint
Indexes
Pk bankpayment_bank_payme bankpayment_bank_p
nt_batch_ebics_partner_set ayment_batch,
_pkey ebics_partner_set
Foreign Keys
fk_5t9a5djvp6ihrbxhoxgojyl2k (
bankpayment_bank_payment_batch ) ref
bankpayment_bank_payment_batch ( id )
fk_s2md2sx3f97v63ec9uttyf8xs ( ebics_partner_set
) ref bankpayment_ebics_partner ( id )

Table bankpayment_bank_payment_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
generate_move_on_bank_o bool
rder_validation
ics_number varchar(13)
created_by bigint
updated_by bigint
* company bigint
Unq
Idx default_signatory_user bigint
Idx external_bank_to_bank_acc bigint
ount
Idx int_credit_trans_sequence bigint
Idx int_direct_debit_sequence bigint
Idx int_treasury_trans_sequenc bigint
e
Idx internal_bank_to_bank_acc bigint
ount
Idx nat_treasury_trans_sequenc bigint
e
Idx other_bank_order_sequenc bigint
e
Idx sepa_credit_trans_sequenc bigint
e
Idx sepa_direct_debit_sequenc bigint
e
Indexes
Pk bankpayment_bank_payme id
nt_config_pkey
Unq uk_inj1hrh7b4cjay1du7x8xtq company
8t
Unq uk_qx35ype5jh7cq8p2il3i8at import_id
2w
bankpayment_bank_payme default_signatory_use
nt_config_default_signatory r
_user_idx
bankpayment_bank_payme external_bank_to_ban
nt_config_external_bank_to k_account
_bank_account_i
Table bankpayment_bank_payment_config
bankpayment_bank_payme int_credit_trans_sequ
nt_config_int_credit_trans_s ence
equence_idx
bankpayment_bank_payme int_direct_debit_sequ
nt_config_int_direct_debit_s ence
equence_idx
bankpayment_bank_payme int_treasury_trans_se
nt_config_int_treasury_trans quence
_sequence_idx
bankpayment_bank_payme internal_bank_to_ban
nt_config_internal_bank_to_ k_account
bank_account_i
bankpayment_bank_payme nat_treasury_trans_se
nt_config_nat_treasury_tran quence
s_sequence_idx
bankpayment_bank_payme other_bank_order_se
nt_config_other_bank_order quence
_sequence_idx
bankpayment_bank_payme sepa_credit_trans_se
nt_config_sepa_credit_trans quence
_sequence_idx
bankpayment_bank_payme sepa_direct_debit_se
nt_config_sepa_direct_debit quence
_sequence_idx
Foreign Keys
fk_83l6re8nr9pie296n022x1ufl (
internal_bank_to_bank_account ) ref
account_account ( id )
fk_nlt11wdbmsws38prc5vtaq6q2 (
external_bank_to_bank_account ) ref
account_account ( id )
fk_8gaiwog7mfeemls7hbjt0xfhp ( created_by ) ref
auth_user ( id )
fk_ejlur2k92no7ug7qf3pfmghu2 ( updated_by ) ref
auth_user ( id )
fk_ofjmirchnsgma91ycv4ukdk6h (
default_signatory_user ) ref auth_user ( id )
fk_inj1hrh7b4cjay1du7x8xtq8t ( company ) ref
base_company ( id )
fk_3acw2odv91suho3fj7ail22hv (
other_bank_order_sequence ) ref base_sequence (
id )
fk_5ataecv7x66948dsgu60v7r55 (
sepa_credit_trans_sequence ) ref base_sequence (
id )
fk_d3abr7uoe6bnf5b4yrfh9hrry (
sepa_direct_debit_sequence ) ref base_sequence (
id )
fk_e6jl22o00bstxjiwxqjq822e4 (
int_treasury_trans_sequence ) ref base_sequence (
id )
fk_fqk4nfk7k6v35xw7dsuem3lb8 (
int_direct_debit_sequence ) ref base_sequence ( id
)
fk_lwstuvbrddr8sru7b7lg296m6 (
int_credit_trans_sequence ) ref base_sequence ( id
)
fk_nv0bo40g1bmtouertd5uaxxf7 (
nat_treasury_trans_sequence ) ref base_sequence
( id )

Table bankpayment_bank_reconciliation
* Pk id bigint
Table bankpayment_bank_reconciliation
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
account_balance numeric(19,2)
attrs jsonb
computed_balance numeric(19,2)
ending_balance numeric(19,2)
from_date date
include_other_bank_statem bool
ents
Idx name varchar(255)
starting_balance numeric(19,2)
status_select integer
to_date date
total_cashed numeric(19,2)
total_paid numeric(19,2)
validated_date date
created_by bigint
updated_by bigint
Idx bank_details bigint
Idx bank_statement bigint
Idx cash_account bigint
* Idx company bigint
Idx currency bigint
Idx journal bigint
Idx validated_by_user bigint
Indexes
Pk bankpayment_bank_reconci id
liation_pkey
Unq uk_8imcvv70fo4k5fgec5vyqf import_id
ny1
bankpayment_bank_reconci bank_details
liation_bank_details_idx
bankpayment_bank_reconci bank_statement
liation_bank_statement_idx
bankpayment_bank_reconci cash_account
liation_cash_account_idx
bankpayment_bank_reconci company
liation_company_idx
bankpayment_bank_reconci currency
liation_currency_idx
bankpayment_bank_reconci journal
liation_journal_idx
bankpayment_bank_reconci name
liation_name_idx
bankpayment_bank_reconci validated_by_user
liation_validated_by_user_id
x
Foreign Keys
fk_kdqu2h45q1kq6ofdjt4cjjd6d ( cash_account ) ref
account_account ( id )
fk_a8hqrexh1bboicykxqtop1x59 ( journal ) ref
account_journal ( id )
Table bankpayment_bank_reconciliation
fk_b1bkvw3nwnqnyhyffjxiao4gw ( updated_by ) ref
auth_user ( id )
fk_da8xdr1vqv4ijwr9m7red5tbd ( validated_by_user
) ref auth_user ( id )
fk_keyps2qd38hspa4xuruyhths1 ( created_by ) ref
auth_user ( id )
fk_857w7oihsfu4lw0o0r8tjjbdk ( bank_statement )
ref bankpayment_bank_statement ( id )
fk_ofm3k2vhgew1ix75vv9ow1w2d ( bank_details )
ref base_bank_details ( id )
fk_dxo6y3qw319sp62l30rsjb79b ( company ) ref
base_company ( id )
fk_lp5d94pt000909oig97h8fekx ( currency ) ref
base_currency ( id )

Table bankpayment_bank_reconciliation_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
credit numeric(19,2)
debit numeric(19,2)
* effect_date date
is_posted bool
Idx name text
reference varchar(255)
type_select integer
created_by bigint
updated_by bigint
Idx account bigint
Idx bank_reconciliation bigint
Idx bank_statement_line bigint
Idx move_line bigint
Idx partner bigint
Indexes
Pk bankpayment_bank_reconci id
liation_line_pkey
Unq uk_9ev3jlr8xvatnd41resj84y import_id
sa
bankpayment_bank_reconci account
liation_line_account_idx
bankpayment_bank_reconci bank_reconciliation
liation_line_bank_reconciliat
ion_idx
bankpayment_bank_reconci bank_statement_line
liation_line_bank_statement
_line_idx
bankpayment_bank_reconci move_line
liation_line_move_line_idx
bankpayment_bank_reconci name
liation_line_name_idx
bankpayment_bank_reconci partner
liation_line_partner_idx
Table bankpayment_bank_reconciliation_line
Foreign Keys
fk_ffx161h9ebctdj6bxowgqvi8i ( account ) ref
account_account ( id )
fk_2y1t1obnumc9nne70icoxp21y ( move_line ) ref
account_move_line ( id )
fk_fnrs5ael922c3b9ck9bgwave1 ( created_by ) ref
auth_user ( id )
fk_mr2n3byxxctwkbe29kk70p9r4 ( updated_by ) ref
auth_user ( id )
fk_1n7bw7j3qhveo9gvfw6e2axwi (
bank_reconciliation ) ref
bankpayment_bank_reconciliation ( id )
fk_eeoi9ljtg84fo6m91c4gkkqj0 ( partner ) ref
base_partner ( id )

Table bankpayment_bank_statement
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
from_date date
get_date_time timestamp
Idx name varchar(255)
status_select integer
to_date date
created_by bigint
updated_by bigint
Idx bank_statement_file bigint
Idx bank_statement_file_format bigint
Idx ebics_partner bigint
Indexes
Pk bankpayment_bank_statem id
ent_pkey
Unq uk_aovml3ja4frg62vlww8j1f import_id
yv4
bankpayment_bank_statem bank_statement_file_f
ent_bank_statement_file_for ormat
mat_idx
bankpayment_bank_statem bank_statement_file
ent_bank_statement_file_id
x
bankpayment_bank_statem ebics_partner
ent_ebics_partner_idx
bankpayment_bank_statem name
ent_name_idx
Foreign Keys
fk_1o659xos1h9w8bokdbi5iyiwa ( updated_by ) ref
auth_user ( id )
fk_3ufkn8six1ddv0y9b9ce4pj3 ( created_by ) ref
auth_user ( id )
fk_9jsnhsb0d6uwu5gdeqepj0gop (
bank_statement_file_format ) ref
bankpayment_bank_statement_file_format ( id )
Table bankpayment_bank_statement
fk_51qffdsc2pi7mcta5en7c2t60 ( ebics_partner ) ref
bankpayment_ebics_partner ( id )
fk_3v5r9wf9er41vhhixhej96er4 (
bank_statement_file ) ref meta_file ( id )

Table bankpayment_bank_statement_file_format
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
description text
Idx name varchar(255)
statement_file_format_selec varchar(255)
t
created_by bigint
updated_by bigint
Indexes
Pk bankpayment_bank_statem id
ent_file_format_pkey
Unq uk_ocmvb2s4i7vuujf1fnttb8t import_id
uj
bankpayment_bank_statem name
ent_file_format_name_idx
Foreign Keys
fk_9hs0hwqhf013b3ly4l5e8yive ( created_by ) ref
auth_user ( id )
fk_bvbcyckojqmbrjelguifovpe9 ( updated_by ) ref
auth_user ( id )

Table bankpayment_bank_statement_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_remain_to_reconcil numeric(19,2)
e
attrs jsonb
credit numeric(19,2)
debit numeric(19,2)
description text
operation_date date
origin varchar(255)
reference varchar(255)
sequence integer
value_date date
created_by bigint
updated_by bigint
Table bankpayment_bank_statement_line
bank_details bigint
bank_statement bigint
currency bigint
operation_interbank_code_li bigint
ne
reject_interbank_code_line bigint
Indexes
Pk bankpayment_bank_statem id
ent_line_pkey
Unq uk_6bqbunw5kht0kofyuc4l1 import_id
aydv
Foreign Keys
fk_91cvasdbmlp8htg5aulib2rym (
reject_interbank_code_line ) ref
account_interbank_code_line ( id )
fk_ge2qkj7yyjygbi3f7d0li684m (
operation_interbank_code_line ) ref
account_interbank_code_line ( id )
fk_1csbacilye1nrmxwegadgtp4w ( updated_by ) ref
auth_user ( id )
fk_bewj4e0hxx6g013e83uttgf7v ( created_by ) ref
auth_user ( id )
fk_3gwkeb7cqc9ewd86n3prrqbmo (
bank_statement ) ref bankpayment_bank_statement
( id )
fk_5917biqpp3dp4wfx34alptjv5 ( bank_details ) ref
base_bank_details ( id )
fk_jxypcbbdp5q6hgrlr2ccps2wb ( currency ) ref
base_currency ( id )

Table bankpayment_bank_statement_line_afb120
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount_remain_to_reconcil numeric(19,2)
e
attrs jsonb
credit numeric(19,2)
debit numeric(19,2)
description text
operation_date date
origin varchar(255)
reference varchar(255)
sequence integer
value_date date
created_by bigint
updated_by bigint
Idx bank_details bigint
Idx bank_statement bigint
Idx currency bigint
Idx operation_interbank_code_li bigint
ne
Idx reject_interbank_code_line bigint
Table bankpayment_bank_statement_line_afb120
commission_exemption_ind integer
ex_select
line_type_select integer
unavailability_index_select integer
Indexes
Pk bankpayment_bank_statem id
ent_line_afb120_pkey
Unq uk_3yhmlxm6bhv0j3rew30o import_id
vqcwq
idx_bankpayment_bsl_afb1 bank_details
20_bsl_bank_details
idx_bankpayment_bsl_afb1 bank_statement
20_bsl_bank_statement
idx_bankpayment_bsl_afb1 currency
20_bsl_currency
idx_bankpayment_bsl_afb1 operation_interbank_c
20_bsl_opt_icl ode_line
idx_bankpayment_bsl_afb1 reject_interbank_code
20_bsl_rej_icl _line
Foreign Keys
fk_icsckil5ld9wgv85rntowtybf (
operation_interbank_code_line ) ref
account_interbank_code_line ( id )
fk_t1ayl2thlvvjj6vsg1ih4cxon (
reject_interbank_code_line ) ref
account_interbank_code_line ( id )
fk_298kf2g44ts5hn4luxu4u2auw ( updated_by ) ref
auth_user ( id )
fk_m03qh9kaojkyewa0mvpsnjat4 ( created_by ) ref
auth_user ( id )
fk_jfyldsr68ta2b7rf784ee66wd ( bank_statement )
ref bankpayment_bank_statement ( id )
fk_ostu8lgv1c29oqrr59y93gvcg ( bank_details ) ref
base_bank_details ( id )
fk_emqaw098jifmkp4h4wlq331xl ( currency ) ref
base_currency ( id )

Table bankpayment_ebics_bank
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
cert_validity_period_select integer
email_address varchar(255)
fax varchar(255)
Idx full_name varchar(255)
host_id varchar(255)
Idx name varchar(255)
protocol_select varchar(255)
url varchar(255)
usex509extention_for_auto_ bool
signed_cert
created_by bigint
Table bankpayment_ebics_bank
updated_by bigint
* Idx bank bigint
Idx language bigint
Indexes
Pk bankpayment_ebics_bank_ id
pkey
Unq uk_e3xxi41nqcaed6c6cidb2 import_id
umtu
bankpayment_ebics_bank_ bank
bank_idx
bankpayment_ebics_bank_f full_name
ull_name_idx
bankpayment_ebics_bank_l language
anguage_idx
bankpayment_ebics_bank_ name
name_idx
Foreign Keys
fk_fbxex7i0t2sa7jk25a6eac4uy ( created_by ) ref
auth_user ( id )
fk_suy99ybtihmxqwbq4ohlv3p2r ( updated_by ) ref
auth_user ( id )
fk_cgwdtokwmlxy0y4gwv0cc7w61 ( bank ) ref
base_bank ( id )
fk_2xejwlsn0cn1phre485vr9w4m ( language ) ref
base_language ( id )

Table bankpayment_ebics_certificate
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
certificate oid(10)
Idx full_name varchar(255)
init_letter_edition_date timestamp
issuer varchar(255)
pem_string text
private_key oid(10)
public_key_exponent text
public_key_modulus text
serial varchar(255)
sha2has text
subject varchar(255)
* type_select varchar(255)
valid_from date
valid_to date
created_by bigint
updated_by bigint
Idx ebics_bank bigint
Indexes
Pk bankpayment_ebics_certific id
ate_pkey
Table bankpayment_ebics_certificate
Unq uk_tlm4sbcqa1da8x1d3ko8 import_id
hhmpm
bankpayment_ebics_certific ebics_bank
ate_ebics_bank_idx
bankpayment_ebics_certific full_name
ate_full_name_idx
Foreign Keys
fk_4k8om9tgx7j1utrgfs5hbyi8m ( created_by ) ref
auth_user ( id )
fk_6ljkecmf1ui38l92u0fur3q2i ( updated_by ) ref
auth_user ( id )
fk_32jmpui3bfthoy6iqidry6i0g ( ebics_bank ) ref
bankpayment_ebics_bank ( id )

Table bankpayment_ebics_certificate_batch_set
* Pk bankpayment_ebics_certific bigint
ate
* Pk batch_set bigint
Indexes
Pk bankpayment_ebics_certific bankpayment_ebics_c
ate_batch_set_pkey ertificate, batch_set
Foreign Keys
fk_enbb5bnygwny04n3q7w3u85qq (
bankpayment_ebics_certificate ) ref
bankpayment_ebics_certificate ( id )
fk_o9q7ov9yp4wyxl6v105xoq2kh ( batch_set ) ref
base_batch ( id )

Table bankpayment_ebics_partner
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
bank_statement_end_date date
bank_statement_get_mode_ integer
select
bank_statement_last_exe_d timestamp
atet
bank_statement_start_date date
ebics_type_select integer
filter_receiverbd bool
order_type_select integer
* Idx partner_id varchar(35)
test_mode bool
usepsr bool
created_by bigint
updated_by bigint
Idx default_signatory_ebics_use bigint
r
* Idx ebics_bank bigint
Idx psrbank_statement_file_for bigint
mat
Table bankpayment_ebics_partner
Idx transport_ebics_user bigint
Indexes
Pk bankpayment_ebics_partner id
_pkey
Unq uk_hvjl706uqwgm0igwoioqt import_id
unq3
bankpayment_ebics_partner default_signatory_ebic
_default_signatory_ebics_us s_user
er_idx
bankpayment_ebics_partner ebics_bank
_ebics_bank_idx
bankpayment_ebics_partner partner_id
_partner_id_idx
bankpayment_ebics_partner psrbank_statement_fil
_psrbank_statement_file_for e_format
mat_idx
bankpayment_ebics_partner transport_ebics_user
_transport_ebics_user_idx
Foreign Keys
fk_4dyresyr3gfmr80ldipur5dob ( updated_by ) ref
auth_user ( id )
fk_bdr37ombt46gol8ipfmfcbpq7 ( created_by ) ref
auth_user ( id )
fk_sqaxrn1jkcpxq1bjl0env7a10 (
psrbank_statement_file_format ) ref
bankpayment_bank_statement_file_format ( id )
fk_kf4bi34b9jjivs1ypy769tnrn ( ebics_bank ) ref
bankpayment_ebics_bank ( id )
fk_2oq6yy4gvsdbvc0kiod58bj8l (
default_signatory_ebics_user ) ref
bankpayment_ebics_user ( id )
fk_6jfypk8r0xup24bnayex84232 (
transport_ebics_user ) ref bankpayment_ebics_user
( id )

Table bankpayment_ebics_partner_bank_details_set
* Pk bankpayment_ebics_partner bigint
* Pk bank_details_set bigint
Indexes
Pk bankpayment_ebics_partner bankpayment_ebics_p
_bank_details_set_pkey artner,
bank_details_set
Foreign Keys
fk_ra647kylflavl5v3ug2boj1th (
bankpayment_ebics_partner ) ref
bankpayment_ebics_partner ( id )
fk_qwwcjbx7a4pul3x7x49ld8pdm ( bank_details_set
) ref base_bank_details ( id )

Table bankpayment_ebics_partner_receiver_bank_details_set
* Pk bankpayment_ebics_partner bigint
* Pk receiver_bank_details_set bigint
Indexes
Pk bankpayment_ebics_partner bankpayment_ebics_p
_receiver_bank_details_set artner,
_pkey receiver_bank_details
_set
Foreign Keys
Table bankpayment_ebics_partner_receiver_bank_details_set
fk_lobqnhi9x1f6j2l3nl3et72ik (
bankpayment_ebics_partner ) ref
bankpayment_ebics_partner ( id )
fk_3hdc36kpuhjx20f062ygdm13g (
receiver_bank_details_set ) ref base_bank_details (
id )

Table bankpayment_ebics_partner_service
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* ebics_codification varchar(255)
created_by bigint
updated_by bigint
Idx bank_order_ebics_partner bigint
Idx bank_order_file_format bigint
Idx bank_statement_ebics_part bigint
ner
Idx bank_statement_file_format bigint
Indexes
Pk bankpayment_ebics_partner id
_service_pkey
Unq uk_dhdt49mtpysofym17tnp2 import_id
h831
bankpayment_ebics_partner bank_order_ebics_par
_service_bank_order_ebics tner
_partner_idx
bankpayment_ebics_partner bank_order_file_forma
_service_bank_order_file_fo t
rmat_idx
bankpayment_ebics_partner bank_statement_ebics
_service_bank_statement_e _partner
bics_partner_
bankpayment_ebics_partner bank_statement_file_f
_service_bank_statement_fil ormat
e_format_id
Foreign Keys
fk_l4vfvxivcw9gedcsqwbju9k ( updated_by ) ref
auth_user ( id )
fk_pbsbsdx8jfgbpud4y76r4cgca ( created_by ) ref
auth_user ( id )
fk_3si4vkbe10ia1p6t3lmhgn1vs (
bank_order_file_format ) ref
bankpayment_bank_order_file_format ( id )
fk_1a68d3cc5uw2fw2orrgisn9xl (
bank_statement_file_format ) ref
bankpayment_bank_statement_file_format ( id )
fk_lceifu7rjtkqi81cus525p8ky (
bank_order_ebics_partner ) ref
bankpayment_ebics_partner ( id )
fk_mcrqemjk530ofbs4l8f9ftlot (
bank_statement_ebics_partner ) ref
bankpayment_ebics_partner ( id )
Table bankpayment_ebics_request_log
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
request_time timestamp
request_trace_text text
request_type varchar(255)
response_code varchar(255)
response_trace_text text
created_by bigint
updated_by bigint
Idx ebics_user bigint
Idx response_file bigint
Indexes
Pk bankpayment_ebics_reques id
t_log_pkey
Unq uk_p1pvvl2lgdixmg0381f9aq import_id
atm
bankpayment_ebics_reques ebics_user
t_log_ebics_user_idx
bankpayment_ebics_reques response_file
t_log_response_file_idx
Foreign Keys
fk_7i5oiga39d64565whi9un3e2m ( updated_by ) ref
auth_user ( id )
fk_cbdlilysnwn2yrcunhov9rncc ( created_by ) ref
auth_user ( id )
fk_dtvsdv8g4r6bfs0a8lxu5xdyv ( ebics_user ) ref
bankpayment_ebics_user ( id )
fk_2m0vkm458ofqgpxpo22pnbfcw ( response_file )
ref meta_file ( id )

Table bankpayment_ebics_transfer_state
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
last_segment bool
num_segments integer
segment_number integer
transaction_id oid(10)
created_by bigint
updated_by bigint
Indexes
Pk bankpayment_ebics_transfe id
r_state_pkey
Table bankpayment_ebics_transfer_state
Unq uk_j41535wn0xymjyodta5b8 import_id
0a9b
Foreign Keys
fk_6ug6pmdy479dor2nf37voubns ( updated_by ) ref
auth_user ( id )
fk_ru9gj4159i326eolieim1w1dk ( created_by ) ref
auth_user ( id )

Table bankpayment_ebics_user
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
dn varchar(255)
Idx full_name varchar(255)
* Idx name varchar(255)
next_order_id varchar(255)
password varchar(255)
security_medium varchar(255)
status_select integer
* user_id varchar(35)
user_type_select integer
created_by bigint
updated_by bigint
Idx a005certificate bigint
Idx associated_user bigint
Idx e002certificate bigint
* Idx ebics_partner bigint
Idx test_bank_order_file_format bigint
Idx test_bank_statement_file_fo bigint
rmat
Idx test_data_file bigint
Idx test_signatory_ebics_user bigint
Idx test_signature_file bigint
Idx x002certificate bigint
Indexes
Pk bankpayment_ebics_user_p id
key
Unq uk_nrafhw6433pppxpoj1dstt import_id
xsc
bankpayment_ebics_user_a a005certificate
005certificate_idx
bankpayment_ebics_user_a associated_user
ssociated_user_idx
bankpayment_ebics_user_e e002certificate
002certificate_idx
bankpayment_ebics_user_e ebics_partner
bics_partner_idx
bankpayment_ebics_user_f full_name
ull_name_idx
bankpayment_ebics_user_n name
ame_idx
Table bankpayment_ebics_user
bankpayment_ebics_user_t test_bank_order_file_f
est_bank_order_file_format ormat
_idx
bankpayment_ebics_user_t test_bank_statement_
est_bank_statement_file_for file_format
mat_idx
bankpayment_ebics_user_t test_data_file
est_data_file_idx
bankpayment_ebics_user_t test_signatory_ebics_
est_signatory_ebics_user_id user
x
bankpayment_ebics_user_t test_signature_file
est_signature_file_idx
bankpayment_ebics_user_x x002certificate
002certificate_idx
Foreign Keys
fk_hkkflem6dohaucwo5acdbeoy0 ( updated_by ) ref
auth_user ( id )
fk_lchb65qopx95hgy5tph5x7veu ( created_by ) ref
auth_user ( id )
fk_ss6sm80qlc8u5wm81hxnd7gtr ( associated_user
) ref auth_user ( id )
fk_1lf2nm5fi338nxty2tsn071ex (
test_bank_order_file_format ) ref
bankpayment_bank_order_file_format ( id )
fk_e49eb3e2ak76ir1cj34tj8ue0 (
test_bank_statement_file_format ) ref
bankpayment_bank_statement_file_format ( id )
fk_i4nu6jyn51mm534qg0tljwgih ( x002certificate )
ref bankpayment_ebics_certificate ( id )
fk_spjnk4faqgto8q7hb74rpeli ( e002certificate ) ref
bankpayment_ebics_certificate ( id )
fk_sqmn894fo0n2rwgsb7vgyvygh ( a005certificate )
ref bankpayment_ebics_certificate ( id )
fk_gixnkbm0s8bgsfvfap6a17owi ( ebics_partner )
ref bankpayment_ebics_partner ( id )
fk_t43mtuckpu2881bb6nuu2mm9d (
test_signatory_ebics_user ) ref
bankpayment_ebics_user ( id )
fk_1fcv9pl91l6xhkiyrw13m7nxi ( test_data_file ) ref
meta_file ( id )
fk_9ojjit90x7uybq9ak90fyqe9k ( test_signature_file )
ref meta_file ( id )

Table base_access_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Unq name varchar(255)
created_by bigint
updated_by bigint
Unq app bigint
Indexes
Pk base_access_config_pkey id
Table base_access_config
Unq uk_6v2d4sf9so95v75drlmna app, name
fc9x
Unq uk_jbomsgqmlipaern5yycqy import_id
wmer
base_access_config_app_id app
x
base_access_config_name_ name
idx
Foreign Keys
fk_mfpf4bex2xy9c5dyouiv7spcv ( created_by ) ref
auth_user ( id )
fk_pp9dfb3rtd71f4dxxvrm41n2k ( updated_by ) ref
auth_user ( id )
fk_mwe8rujmm8psij9ye4t0b5h6t ( app ) ref
base_app ( id )

Table base_access_config_role_set
* Pk base_access_config bigint
* Pk role_set bigint
Indexes
Pk base_access_config_role_s base_access_config,
et_pkey role_set
Foreign Keys
fk_4mfsi2yyips7nrwoovt5c9u07 ( role_set ) ref
auth_role ( id )
fk_lqs3ldy1kajbtldu3o4ucrxaf ( base_access_config
) ref base_access_config ( id )

Table base_address
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
addressl2 varchar(255)
addressl3 varchar(255)
* addressl4 varchar(255)
addressl5 varchar(255)
addressl6 varchar(255)
attrs jsonb
certified_ok bool
Idx full_name varchar(255)
insee_code varchar(255)
is_valid_lat_long bool
latit numeric(38,18)
longit numeric(38,18)
zip varchar(255)
zoom integer
created_by bigint
updated_by bigint
Idx addressl7country bigint
Idx city bigint
Table base_address
Indexes
Pk base_address_pkey id
Unq uk_oluwo4glokkruvfj19mhjg import_id
dl3
base_address_addressl7co addressl7country
untry_idx
base_address_city_idx city
base_address_full_name_id full_name
x
Foreign Keys
fk_4krue7pek79832evglpopq773 ( created_by ) ref
auth_user ( id )
fk_he6efn9xa365nwof72w5a3xuu ( updated_by ) ref
auth_user ( id )
fk_7oujufvbe0wviutmppyolgf24 ( city ) ref base_city
( id )
fk_65s1x1eux6wtbm1nqgaiucn8w (
addressl7country ) ref base_country ( id )

Table base_address_export
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
date_val timestamp
log varchar(255)
Idx path varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_address_export_pkey id
Unq uk_f2i6l66tuqj2gg8x5u2splm import_id
cx
base_address_export_path_ path
idx
Foreign Keys
fk_9gq3d61yrgacmpct4mx2rifnm ( created_by ) ref
auth_user ( id )
fk_qfegysbkokj91h4gd0eol1uaj ( updated_by ) ref
auth_user ( id )

Table base_adjust_history
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
end_date timestamp
Table base_adjust_history
start_date timestamp
created_by bigint
updated_by bigint
Idx fiscal_year bigint
Idx period bigint
Indexes
Pk base_adjust_history_pkey id
Unq uk_q7cwy1bqkrnibufc9gwba import_id
w0w7
base_adjust_history_fiscal_ fiscal_year
year_idx
base_adjust_history_period period
_idx
Foreign Keys
fk_l9dddl400etb22jqqhyr4wejh ( updated_by ) ref
auth_user ( id )
fk_nk9vol8tvuk88h8sdejk54era ( created_by ) ref
auth_user ( id )
fk_gykrm89gf8ysx5t5n0svcpeja ( period ) ref
base_period ( id )
fk_aubx10havmcqn8jm06c5fxep8 ( fiscal_year ) ref
base_year ( id )

Table base_advanced_export
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
max_export_limit integer
Idx name varchar(255)
query_fetch_size integer
created_by bigint
updated_by bigint
* Idx meta_model bigint
Indexes
Pk base_advanced_export_pke id
y
Unq uk_efpsbv40xfndt9itq4xgxw import_id
91r
base_advanced_export_met meta_model
a_model_idx
base_advanced_export_na name
me_idx
Foreign Keys
fk_cyt4lbaxa623d1r276iw6tvo4 ( created_by ) ref
auth_user ( id )
fk_r96vl1kav3qt2arjcgbnbih6r ( updated_by ) ref
auth_user ( id )
fk_ohubuedf8p4o6a2ce30paii7o ( meta_model ) ref
meta_model ( id )
Table base_advanced_export_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
current_domain varchar(255)
order_by bool
sequence integer
target_field varchar(255)
title varchar(255)
created_by bigint
updated_by bigint
Idx advanced_export bigint
Idx meta_field bigint
Indexes
Pk base_advanced_export_line id
_pkey
Unq uk_bqcenhlxpf0whxdc0thmn import_id
t3u1
base_advanced_export_line advanced_export
_advanced_export_idx
base_advanced_export_line meta_field
_meta_field_idx
Foreign Keys
fk_ke3ti8qh31b7l9t60kvwekaup ( created_by ) ref
auth_user ( id )
fk_tqmi8v5e492uojltvothq7j9b ( updated_by ) ref
auth_user ( id )
fk_lwpsiy5mp1r0x491nyrc16gia ( advanced_export )
ref base_advanced_export ( id )
fk_50m8rsv6ux9cxjx52hqtkto26 ( meta_field ) ref
meta_field ( id )

Table base_alarm
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
acquit_ok bool
attrs jsonb
balance_due_debt_recovery numeric(19,2)
content text
* date_val timestamp
created_by bigint
updated_by bigint
Idx alarm_engine bigint
Idx invoice bigint
Idx partner bigint
Indexes
Table base_alarm
Pk base_alarm_pkey id
Unq uk_e516rv47o12ydvscjca8g import_id
wdd8
base_alarm_alarm_engine_i alarm_engine
dx
base_alarm_invoice_idx invoice
base_alarm_partner_idx partner
Foreign Keys
fk_l445jloxkefnn4fw0l8fdlrxk ( invoice ) ref
account_invoice ( id )
fk_b78tnhrf4qf0v66nectyhme8h ( created_by ) ref
auth_user ( id )
fk_llirdjsndpmx4lqs0csjf1p1f ( updated_by ) ref
auth_user ( id )
fk_o3m6hi3i0jx8jlesr6dj74l8e ( alarm_engine ) ref
base_alarm_engine ( id )
fk_35wise3xieemnvlmyt0abfa4g ( partner ) ref
base_partner ( id )

Table base_alarm_engine
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
active_ok bool
attrs jsonb
* Idx code varchar(255)
description text
external_ok bool
locking_ok bool
manager_type_select integer
query text
created_by bigint
updated_by bigint
* Idx alarm_message bigint
* Idx meta_model bigint
Indexes
Pk base_alarm_engine_pkey id
Unq uk_j62je9kg0wq789ihbxv65 import_id
oyaq
base_alarm_engine_alarm_ alarm_message
message_idx
base_alarm_engine_code_i code
dx
base_alarm_engine_meta_ meta_model
model_idx
Foreign Keys
fk_2gyqimyxd84hdbhgbwxkjpd88 ( updated_by ) ref
auth_user ( id )
fk_ibp7rug23ovbwf13t9h99605p ( created_by ) ref
auth_user ( id )
fk_rpel0ji57xo6r18bj6200ak9u ( alarm_message )
ref base_alarm_message ( id )
Table base_alarm_engine
fk_4icl7vkykm5rar09qmf3y2ghn ( meta_model ) ref
meta_model ( id )

Table base_alarm_engine_batch
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
description text
created_by bigint
updated_by bigint
Indexes
Pk base_alarm_engine_batch_ id
pkey
Unq uk_9f2btdcs8il8twb2uucqvr import_id
mv2
Unq uk_ppbm4rc3bap75p4c8bg5 code
au5wl
Foreign Keys
fk_4t1bnoq7wrrndmpl2ws7ya821 ( updated_by ) ref
auth_user ( id )
fk_ha2w5qdm7j6fi5vtu1t4lgvoa ( created_by ) ref
auth_user ( id )

Table base_alarm_engine_batch_alarm_engine_set
* Pk base_alarm_engine_batch bigint
* Pk alarm_engine_set bigint
Indexes
Pk base_alarm_engine_batch_ base_alarm_engine_b
alarm_engine_set_pkey atch,
alarm_engine_set
Foreign Keys
fk_504qpiwnkcict8lkcu1jevtc3 ( alarm_engine_set )
ref base_alarm_engine ( id )
fk_nnxjgeb4pqk6fo2n1672kit65 (
base_alarm_engine_batch ) ref
base_alarm_engine_batch ( id )

Table base_alarm_engine_batch_meta_model_set
* Pk base_alarm_engine_batch bigint
* Pk meta_model_set bigint
Indexes
Pk base_alarm_engine_batch_ base_alarm_engine_b
meta_model_set_pkey atch, meta_model_set
Foreign Keys
fk_2j39y9gkddrisne0gf8e6ssk0 (
base_alarm_engine_batch ) ref
base_alarm_engine_batch ( id )
Table base_alarm_engine_batch_meta_model_set
fk_j126yyhlqdxx3hwipe6kn1xxn ( meta_model_set )
ref meta_model ( id )

Table base_alarm_message
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
message text
* Idx name varchar(255)
* type_select varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_alarm_message_pkey id
Unq uk_pd50fanxj1gh9905ch96 import_id
mfjc8
base_alarm_message_nam name
e_idx
Foreign Keys
fk_hjv01o45v79y3pc2e9q8nlin2 ( updated_by ) ref
auth_user ( id )
fk_kkd1swy6fqlcqq54abywcwe5q ( created_by ) ref
auth_user ( id )

Table base_app
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
active bool
attrs jsonb
* code varchar(255)
Unq
demo_data_loaded bool
description text
init_data_loaded bool
install_order integer
is_roles_imported bool
language_select varchar(255)
modules varchar(255)
* Idx name varchar(255)
sequence integer
created_by bigint
updated_by bigint
Idx image bigint
Table base_app
Indexes
Pk base_app_pkey id
Unq uk_3mcfo78ad9cysaylg2v0c import_id
a344
Unq uk_qkbsab2c1pfklnl5fl6b3rx code
8f
base_app_image_idx image
base_app_name_idx name
Foreign Keys
fk_4rtovaim9ff3mby1m7lgm20e6 ( updated_by ) ref
auth_user ( id )
fk_lsva77c92gjrpaiw18wc276g ( created_by ) ref
auth_user ( id )
fk_omb2h4h1mwjgnfy8hq1qelvh7 ( image ) ref
meta_file ( id )

Table base_app_account
* Pk id bigint
analytic_distribution_type_s integer
elect
manage_advance_payment bool
_invoice
manage_analytic_accountin bool
g
manage_customer_credit bool
manage_factors bool
partner_bal_config_select integer
payment_vouchers_on_invo bool
ice
Idx cheque_interbank_code bigint
Idx transfer_and_direct_debit_in bigint
terbank_code
Indexes
Pk base_app_account_pkey id
base_app_account_cheque cheque_interbank_co
_interbank_code_idx de
base_app_account_transfer transfer_and_direct_d
_and_direct_debit_interbank ebit_interbank_code
_code_idx
Foreign Keys
fk_i67jhobpf5ge1twlx4q0jbleb (
cheque_interbank_code ) ref
account_interbank_code ( id )
fk_va9ulw4gx0ybgftr4p95ogft (
transfer_and_direct_debit_interbank_code ) ref
account_interbank_code ( id )
fk_fwq4cju7bc2d2g75y62komnaa ( id ) ref
base_app ( id )

Table base_app_account_payer_quality_config_line_list
* base_app_account bigint
* payer_quality_config_line_li bigint
Unq st
Indexes
Unq uk_kackcjarfob5o4m1c8b62 payer_quality_config_l
dris ine_list
Foreign Keys
Table base_app_account_payer_quality_config_line_list
fk_kackcjarfob5o4m1c8b62dris (
payer_quality_config_line_list ) ref
account_payer_quality_config_line ( id )
fk_7oq6qojbd4mppmpw633xlri37 (
base_app_account ) ref base_app_account ( id )

Table base_app_appraisal
* Pk id bigint
Indexes
Pk base_app_appraisal_pkey id
Foreign Keys
fk_pdjrgavucxbsr9xvr1dhweh8e ( id ) ref base_app (
id )

Table base_app_bank_payment
* Pk id bigint
enable_ebics_module bool
manage_bank_to_bank_tra bool
nsfer_payment
manage_credit_transfer_pa bool
yment
manage_direct_debit_paym bool
ent
Indexes
Pk base_app_bank_payment_p id
key
Foreign Keys
fk_lmtl0pt462g2ud2ipy5kgp6jo ( id ) ref base_app (
id )

Table base_app_base
* Pk id bigint
activate_bar_code_generati bool
on
activate_sending_email bool
compute_method_discount_ integer
select
currency_wsurl varchar(255)
daily_work_hours numeric(19,2)
document bool
edit_product_barcode_type bool
email_account_by_user bool
enable_calendars bool
enable_trading_names_man bool
agement
enterprise_communication bool
generate_partner_sequence bool
generate_product_sequenc bool
e
google_maps_api_key varchar(255)
has_qas_validation bool
manage_multi_banks bool
manage_product_variants bool
map_api_select integer
Table base_app_base
nb_decimal_digit_for_unit_p integer
rice
product_in_ati_select integer
qas_wsdl_url varchar(255)
team_management bool
time_logging_preference_se varchar(255)
lect
today timestamp
Idx barcode_type_config bigint
Idx default_partner_language bigint
Idx default_project_unit bigint
Idx password_changed_templat bigint
e
Idx unit_days bigint
Idx unit_hours bigint
Idx unit_minutes bigint
Indexes
Pk base_app_base_pkey id
base_app_base_barcode_ty barcode_type_config
pe_config_idx
base_app_base_default_par default_partner_langu
tner_language_idx age
base_app_base_default_pro default_project_unit
ject_unit_idx
base_app_base_password_ password_changed_t
changed_template_idx emplate
base_app_base_unit_days_ unit_days
idx
base_app_base_unit_hours unit_hours
_idx
base_app_base_unit_minut unit_minutes
es_idx
Foreign Keys
fk_2mjbx0qfuqk0yexlsmuwsrjii ( id ) ref base_app (
id )
fk_of7smmy2wifafwdlm1x2witll (
barcode_type_config ) ref
base_barcode_type_config ( id )
fk_cr7pkyx8viga5nd0p1i20r762 (
default_partner_language ) ref base_language ( id )
fk_4tfkj7rv1es7vc0v7s6wcm6i2 ( unit_days ) ref
base_unit ( id )
fk_ay5fp1ob4owd0drnwsprcdi13 ( unit_minutes ) ref
base_unit ( id )
fk_ecxnkef16oj1nw3l0f9pc50hw (
default_project_unit ) ref base_unit ( id )
fk_q8gtacpein9i41rtherc20jud ( unit_hours ) ref
base_unit ( id )
fk_7ljoh1jq352r0t55ls2ktrl8i (
password_changed_template ) ref
message_template ( id )
Constraints
base_app_base_nb_decima nb_decimal_digit_for_
l_digit_for_unit_price_check unit_price <= 10

Table base_app_bpm
* Pk id bigint
Indexes
Table base_app_bpm
Pk base_app_bpm_pkey id
Foreign Keys
fk_mcv1je2t2oxofqbiyybi31s9g ( id ) ref base_app (
id )

Table base_app_budget
* Pk id bigint
check_available_budget bool
manage_multi_budget bool
Indexes
Pk base_app_budget_pkey id
Foreign Keys
fk_iqbghnx27si2d1jkwo483igvt ( id ) ref base_app (
id )

Table base_app_business_project
* Pk id bigint
automatic_project bool
enable_task_templates_by_ bool
product
enable_to_invoice_expense bool
enable_to_invoice_timeshee bool
t
generate_project_order bool
generated_element_type_se integer
lect
project_invoice_lines bool
project_purchase_order_line bool
s
project_sale_order_lines bool
show_expense_line_related bool
_to_project
show_production_order_rela bool
ted_to_project
show_purchase_invoice_lin bool
e_related_to_project
show_purchase_order_line_ bool
related_to_project
show_sale_invoice_line_rel bool
ated_to_project
show_sale_order_line_relat bool
ed_to_project
Idx product_invoicing_project bigint
Indexes
Pk base_app_business_project id
_pkey
base_app_business_project product_invoicing_proj
_product_invoicing_project_i ect
dx
Foreign Keys
fk_ftm1axl1i9kthf9ne6gdkmf48 ( id ) ref base_app (
id )
fk_kbvy6795my0xcf5sndak44axa (
product_invoicing_project ) ref base_product ( id )
Table base_app_cash_management
* Pk id bigint
Indexes
Pk base_app_cash_manageme id
nt_pkey
Foreign Keys
fk_8o46fjxpmecw5q617e3v4kmvv ( id ) ref
base_app ( id )

Table base_app_contract
* Pk id bigint
is_additional_benefit_mana bool
gement
is_amendment_managemen bool
t
is_config_contract bool
is_consumption_manageme bool
nt
is_invoicing_management bool
is_renewal_management bool
is_unchangable_contract bool
Indexes
Pk base_app_contract_pkey id
Foreign Keys
fk_9vwaqlslm0ie43259idcndtbk ( id ) ref base_app (
id )

Table base_app_crm
* Pk id bigint
assignable_users integer
display_customer_descriptio bool
n_in_opportunity
Indexes
Pk base_app_crm_pkey id
Foreign Keys
fk_58wje1yjl759co2fyb48lpfwa ( id ) ref base_app (
id )

Table base_app_crm_groups_assignable
* Pk base_app_crm bigint
* Pk groups_assignable bigint
Indexes
Pk base_app_crm_groups_assi base_app_crm,
gnable_pkey groups_assignable
Foreign Keys
fk_cy33xj4oae9v94ji3pbueees4 (
groups_assignable ) ref auth_group ( id )
fk_bn3j62wqwedcrdayw2hh8tgaq ( base_app_crm )
ref base_app_crm ( id )

Table base_app_depends_on_set
* Pk base_app bigint
* Pk depends_on_set bigint
Indexes
Table base_app_depends_on_set
Pk base_app_depends_on_set base_app,
_pkey depends_on_set
Foreign Keys
fk_e3tjsxlsxdrk5t9tjgpr4qa5n ( base_app ) ref
base_app ( id )
fk_l82fw08ekkyf1ixi27y286mnt ( depends_on_set )
ref base_app ( id )

Table base_app_employee
* Pk id bigint
advance_management bool
daily_work_hours numeric(19,2)
employee_bonus bool
lunch_voucher bool
payroll_preparation bool
Indexes
Pk base_app_employee_pkey id
Foreign Keys
fk_1631elon5w95whfg4ucvht8we ( id ) ref base_app
( id )

Table base_app_expense
* Pk id bigint
compute_distance_with_we bool
b_service
Indexes
Pk base_app_expense_pkey id
Foreign Keys
fk_9b6yuuoy3kvmefw8gtra4tcru ( id ) ref base_app (
id )

Table base_app_extra_hours
* Pk id bigint
Indexes
Pk base_app_extra_hours_pke id
y
Foreign Keys
fk_an2n4mpcxaqrr4isa4pf8b65d ( id ) ref base_app
( id )

Table base_app_fleet
* Pk id bigint
Indexes
Pk base_app_fleet_pkey id
Foreign Keys
fk_fald8fx5vtolphe90o3cekwnd ( id ) ref base_app (
id )

Table base_app_helpdesk
* Pk id bigint
is_sla bool
Table base_app_helpdesk
manage_timer bool
Indexes
Pk base_app_helpdesk_pkey id
Foreign Keys
fk_rq1c1o9h4w81ltw64vnuk4qaw ( id ) ref base_app
( id )

Table base_app_invoice
* Pk id bigint
auto_generate_invoice_print bool
ing_file_on_purchase_invoic
e
auto_generate_invoice_print bool
ing_file_on_sale_invoice
is_enabled_product_descrip bool
tion_copy_for_customers
is_enabled_product_descrip bool
tion_copy_for_suppliers
is_invoice_move_consolidat bool
ed
is_ventilation_skipped bool
Indexes
Pk base_app_invoice_pkey id
Foreign Keys
fk_50gn7wv2a54mja34gooq4k480 ( id ) ref
base_app ( id )

Table base_app_leave
* Pk id bigint
allow_negative_leave_empl bool
oyees
overtime_management bool
Indexes
Pk base_app_leave_pkey id
Foreign Keys
fk_r80657qtp3t4a3dfftcrxi1tp ( id ) ref base_app ( id
)

Table base_app_marketing
* Pk id bigint
Indexes
Pk base_app_marketing_pkey id
Foreign Keys
fk_2rkvnrjhvo0tnxl32vagll6eh ( id ) ref base_app ( id
)

Table base_app_mobile
* Pk id bigint
is_crm_app_enable bool
is_expense_app_enable bool
is_leave_app_enable bool
is_sale_app_enable bool
is_timesheet_app_enable bool
Table base_app_mobile
offline_record_limit numeric(19,2)
Indexes
Pk base_app_mobile_pkey id
Foreign Keys
fk_skyhul1nxthe3vha2e9eu70sm ( id ) ref base_app
( id )

Table base_app_mobile_lead_set
* Pk base_app_mobile bigint
* Pk lead_set bigint
Indexes
Pk base_app_mobile_lead_set base_app_mobile,
_pkey lead_set
Foreign Keys
fk_7pd1rwthcfvs998162l8ms3ci ( base_app_mobile
) ref base_app_mobile ( id )
fk_bk63pmxfrlpgm958ncadj5r1p ( lead_set ) ref
crm_lead ( id )

Table base_app_mobile_partner_contact_set
* Pk base_app_mobile bigint
* Pk partner_contact_set bigint
Indexes
Pk base_app_mobile_partner_c base_app_mobile,
ontact_set_pkey partner_contact_set
Foreign Keys
fk_lukt36sks9ulabx18s059j38w ( base_app_mobile
) ref base_app_mobile ( id )
fk_42nbgoukf655ejcb3b7gygdb9 (
partner_contact_set ) ref base_partner ( id )

Table base_app_mobile_partner_set
* Pk base_app_mobile bigint
* Pk partner_set bigint
Indexes
Pk base_app_mobile_partner_s base_app_mobile,
et_pkey partner_set
Foreign Keys
fk_367x60s21uh6c911klst77k3q ( base_app_mobile
) ref base_app_mobile ( id )
fk_5ixplfn3j61jh5b7hd5a6f1p9 ( partner_set ) ref
base_partner ( id )

Table base_app_mobile_product_set
* Pk base_app_mobile bigint
* Pk product_set bigint
Indexes
Pk base_app_mobile_product_ base_app_mobile,
set_pkey product_set
Foreign Keys
fk_2pbab24cr0tdffikbmctnej5n ( base_app_mobile )
ref base_app_mobile ( id )
Table base_app_mobile_product_set
fk_5yv06h3an9jrbo9duomlg57mc ( product_set ) ref
base_product ( id )

Table base_app_mobile_project_set
* Pk base_app_mobile bigint
* Pk project_set bigint
Indexes
Pk base_app_mobile_project_s base_app_mobile,
et_pkey project_set
Foreign Keys
fk_5hqqleqwtid9apgpbnwrewsij ( base_app_mobile
) ref base_app_mobile ( id )
fk_bugruq28wmxv4mp3rbqbwihe9 ( project_set ) ref
project_project ( id )

Table base_app_portal
* Pk id bigint
can_confirm_online bool
can_pay_online bool
manage_invoices bool
manage_sale_orders bool
manage_tickets bool
Indexes
Pk base_app_portal_pkey id
Foreign Keys
fk_6tjvnt77esdrih1t16ffjycgx ( id ) ref base_app ( id )

Table base_app_portal_online_payment_method_set
* Pk base_app_portal bigint
* Pk online_payment_method_se bigint
t
Indexes
Pk base_app_portal_online_pa base_app_portal,
yment_method_set_pkey online_payment_meth
od_set
Foreign Keys
fk_5lvavnasqmffgi2mvuoq0m6ar ( base_app_portal
) ref base_app_portal ( id )
fk_sfoxkpip51johcvnv3db1v0dh (
online_payment_method_set ) ref
portal_online_payment_method ( id )

Table base_app_production
* Pk id bigint
auto_plan_manuf_order_fro bool
mso
enable_configurator bool
enable_timesheet_on_manu bool
f_order
manage_bill_of_material_ve bool
rsion
manage_business_producti bool
on
Table base_app_production
manage_prod_process_vers bool
ion
manage_residual_product_o bool
n_bom
manage_workshop bool
nb_decimal_digit_for_bom_ integer
qty
one_prod_order_perso bool
print_planned_date_on_ma bool
nuf_order
prod_order_mgt_onso bool
production_order_generatio bool
n_auto
subtract_prod_residual_on_ bool
cost_sheet
Idx barcode_type_config bigint
Idx cycle_unit bigint
Idx product_cost_sheet_group bigint
Idx work_center_cost_sheet_gr bigint
oup
Idx work_center_product bigint
Indexes
Pk base_app_production_pkey id
base_app_production_barco barcode_type_config
de_type_config_idx
base_app_production_cycle cycle_unit
_unit_idx
base_app_production_prod product_cost_sheet_g
uct_cost_sheet_group_idx roup
base_app_production_work work_center_cost_she
_center_cost_sheet_group_i et_group
dx
base_app_production_work work_center_product
_center_product_idx
Foreign Keys
fk_m0d8oqhvfg0h8lb8w96ho17i6 ( id ) ref base_app
( id )
fk_o52uk8sop3083wlhqd7qkddpe (
barcode_type_config ) ref
base_barcode_type_config ( id )
fk_5jo0ib2nnerp4j38pwrh0fohi (
work_center_product ) ref base_product ( id )
fk_l45ac33m2qwh5o0ewgwb9ar9v ( cycle_unit ) ref
base_unit ( id )
fk_39ehde35i2y1ivfvfopo8fvcq (
work_center_cost_sheet_group ) ref
production_cost_sheet_group ( id )
fk_8sv94126mr6j6foshiail3004 (
product_cost_sheet_group ) ref
production_cost_sheet_group ( id )
Constraints
base_app_production_nb_d nb_decimal_digit_for_
ecimal_digit_for_bom_qty_c bom_qty <= 10
heck

Table base_app_project
* Pk id bigint
project_label varchar(255)
resource_management bool
Table base_app_project
Indexes
Pk base_app_project_pkey id
Foreign Keys
fk_88joo8j3qe68uvvavf2rqeqkj ( id ) ref base_app (
id )

Table base_app_purchase
* Pk id bigint
is_display_purchase_order_ bool
line_number
is_enabled_product_descrip bool
tion_copy
manage_multiple_purchase bool
_quantity
manage_purchase_order_v bool
ersion
manage_purchases_units bool
manage_supplier_catalog bool
supplier_request_mgt bool
Indexes
Pk base_app_purchase_pkey id
Foreign Keys
fk_94mdv7mfsdtgs7g6oc833egyc ( id ) ref
base_app ( id )

Table base_app_purchase_request
* Pk id bigint
Indexes
Pk base_app_purchase_reques id
t_pkey
Foreign Keys
fk_babh9l838lqpqoo2jg2uc6o6x ( id ) ref base_app (
id )

Table base_app_quality
* Pk id bigint
Indexes
Pk base_app_quality_pkey id
Foreign Keys
fk_80fdl07ss7yajue981tx41hru ( id ) ref base_app (
id )

Table base_app_recruitment
* Pk id bigint
last_email_id varchar(255)
Indexes
Pk base_app_recruitment_pkey id
Foreign Keys
fk_jg5lvbq2709ymr3r8pkoutemi ( id ) ref base_app (
id )
Table base_app_sale
* Pk id bigint
allow_pending_order_modifi bool
cation
close_opportunity_upon_sal bool
e_order_confirmation
enable_configurator bool
enable_customer_catalog_ bool
mgt
is_display_sale_order_line_ bool
number
is_enabled_product_descrip bool
tion_copy
manage_multiple_sale_qua bool
ntity
manage_sale_order_version bool
manage_sales_units bool
printing_config_per_sale_or bool
der
printing_onsofinalization bool
product_pack_mgt bool
saleman_select integer
Indexes
Pk base_app_sale_pkey id
Foreign Keys
fk_l1mgaycpfokv9l7wixrh5ionr ( id ) ref base_app (
id )

Table base_app_stock
* Pk id bigint
is_enabled_product_descrip bool
tion_copy
is_required_shipment_suppl bool
ier_details
is_separate_shipment_oper bool
ations
require_to_fill_conformity_o bool
n_receipt
Idx economic_area bigint
Indexes
Pk base_app_stock_pkey id
base_app_stock_economic_ economic_area
area_idx
Foreign Keys
fk_qy8m9yt7ek3mei8qkj8kv0y3b ( id ) ref base_app
( id )
fk_eexb0wnejo32epsuvdqae32pr ( economic_area )
ref base_economic_area ( id )

Table base_app_supplychain
* Pk id bigint
allow_complete_manually_s bool
ale_order
allow_finish_manually_purc bool
hase_order
allow_susbcription_sale_ord bool
er
allow_timetable_invoicing bool
Table base_app_supplychain
block_deallocation_on_avail bool
ability_request
check_sale_stocks bool
cust_stock_move_mgt_onso bool
customer_stock_move_gen bool
eration_auto
generate_invoice_from_purc bool
hase_order
generate_invoice_from_sale bool
_order
generate_invoice_from_stoc bool
k_move
interco_from_invoice bool
interco_from_purchase bool
interco_from_sale bool
interco_invoice_create_valid bool
ated
interco_purchase_creating_ integer
status_select
interco_purchase_order_cre bool
ate_requested
interco_sale_creating_statu integer
s_select
interco_sale_order_create_fi bool
nalized
is_purchase_order_without_ bool
incoming_stock_move
is_sale_order_without_outg bool
oing_stock_move
is_verify_product_stock bool
manage_advance_payment bool
s_from_payment_conditions
manage_invoiced_amount_ bool
by_line
manage_stock_reservation bool
purchase_order_generation bool
_auto
suppl_stock_move_mgt_on bool
po
supplier_stock_move_gener bool
ation_auto
terminate_purchase_order_ bool
on_receipt
terminate_sale_order_on_d bool
elivery
Idx cancel_reason_on_changin bigint
g_sale_order
Indexes
Pk base_app_supplychain_pke id
y
base_app_supplychain_can cancel_reason_on_ch
cel_reason_on_changing_s anging_sale_order
ale_order_idx
Foreign Keys
fk_2ivyndq44rxwsbmohgag6tq9k ( id ) ref base_app
( id )
fk_peljqeh8ho33t8v4w91lc1a9v (
cancel_reason_on_changing_sale_order ) ref
base_cancel_reason ( id )
Table base_app_timesheet
* Pk id bigint
consolidatetsline bool
create_lines_for_holidays bool
create_lines_for_leaves bool
default_end_format integer
edit_modetstimer bool
enable_timer bool
invoicing_type_log_times_s integer
elect
keep_project bool
timesheet_editor bool
Indexes
Pk base_app_timesheet_pkey id
Foreign Keys
fk_q67uwk1xeglm3guev1gxo0om3 ( id ) ref
base_app ( id )

Table base_app_training
* Pk id bigint
Indexes
Pk base_app_training_pkey id
Foreign Keys
fk_e4dy208yxcsat8sfveyr6bo57 ( id ) ref base_app (
id )

Table base_bank
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* bank_details_type_select integer
bank_name varchar(255)
branch_identifier varchar(3)
business_party_prefix varchar(4)
business_party_suffix varchar(2)
* code varchar(255)
Unq
full_name varchar(255)
created_by bigint
updated_by bigint
Idx country bigint
Indexes
Pk base_bank_pkey id
Unq uk_barun7r0ofb8uax54aq5a code
ifkh
Unq uk_fwjkn2f57hesxjer8rj2ugk import_id
5d
base_bank_country_idx country
Foreign Keys
Table base_bank
fk_16xdksjttlkj1wbylwhhxyteu ( updated_by ) ref
auth_user ( id )
fk_7r6s2v09neunkn6p7ub27qogj ( created_by ) ref
auth_user ( id )
fk_gl53qythb1glgcl0xinled7xv ( country ) ref
base_country ( id )

Table base_bank_address
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* address varchar(255)
attrs jsonb
Idx code varchar(255)
Idx full_address varchar(255)
label varchar(255)
created_by bigint
updated_by bigint
Idx bank bigint
Indexes
Pk base_bank_address_pkey id
Unq uk_4cvmkteo9c84o0nvxpjf3j import_id
ad3
base_bank_address_bank_i bank
dx
base_bank_address_code_i code
dx
base_bank_address_full_ad full_address
dress_idx
Foreign Keys
fk_7fv8h95elscla9nofj8l8slrc ( updated_by ) ref
auth_user ( id )
fk_my3goi96t076pilh7catq7oim ( created_by ) ref
auth_user ( id )
fk_g4sikdkj4riyh4txr87ad3k9a ( bank ) ref
base_bank ( id )

Table base_bank_details
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
account_nbr varchar(255)
active bool
attrs jsonb
bank_code varchar(255)
bban_key varchar(255)
Table base_bank_details
Idx code varchar(255)
Idx full_name varchar(255)
* iban varchar(255)
iban_bic varchar(255)
is_default bool
label varchar(255)
owner_name varchar(255)
sort_code varchar(255)
specific_note_on_invoice text
created_by bigint
updated_by bigint
* Idx bank bigint
Idx bank_address bigint
Idx currency bigint
Idx partner bigint
Indexes
Pk base_bank_details_pkey id
Unq uk_9u0v2ydf0aiwpmyl7b92c import_id
cb5p
base_bank_details_bank_a bank_address
ddress_idx
base_bank_details_bank_id bank
x
base_bank_details_code_id code
x
base_bank_details_currenc currency
y_idx
base_bank_details_full_nam full_name
e_idx
base_bank_details_partner_ partner
idx
Foreign Keys
fk_bg86vlpoh6dq5puct67j1abc ( updated_by ) ref
auth_user ( id )
fk_jopv93p3693bb6a8tojvut4pv ( created_by ) ref
auth_user ( id )
fk_13inp5frbcyriahq9jmd2wb7i ( bank ) ref
base_bank ( id )
fk_3s31sqg6oc1719vuk2a204mcs ( bank_address )
ref base_bank_address ( id )
fk_a3eo6ugrm4j3itrwyobxw43my ( currency ) ref
base_currency ( id )
fk_sparx89o8p5rv9obhpknt7ig0 ( partner ) ref
base_partner ( id )

Table base_barcode_type_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* height integer
* Idx name varchar(255)
Table base_barcode_type_config
* width integer
created_by bigint
updated_by bigint
Indexes
Pk base_barcode_type_config_ id
pkey
Unq uk_gxbm0t9bt08qpr324p4x7 import_id
g3lf
base_barcode_type_config_ name
name_idx
Foreign Keys
fk_18xkwrwsx502pigjifionefa2 ( updated_by ) ref
auth_user ( id )
fk_lbq80h2igjp32xxo7txy4avuj ( created_by ) ref
auth_user ( id )

Table base_base_batch
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* action_select integer
all_events bool
attrs jsonb
Unq code varchar(255)
description text
synchronization_duration integer
created_by bigint
updated_by bigint
Idx company bigint
Indexes
Pk base_base_batch_pkey id
Unq uk_dmqa4jc0wxpks7emsme code
lrwq1
Unq uk_o3ghgvbbhta8kthcjc4rwt import_id
h69
base_base_batch_company company
_idx
Foreign Keys
fk_ddn1kmp87vsfv20g30wkx55u2 ( created_by ) ref
auth_user ( id )
fk_el21g50rrx1bepa3mr6mkag7r ( updated_by ) ref
auth_user ( id )
fk_a3nt01l07mqarp1lx0rq0dwce ( company ) ref
base_company ( id )
Constraints
base_base_batch_synchron synchronization_durati
ization_duration_check on >= 0

Table base_batch
* Pk id bigint
archived bool
Table base_batch
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
anomaly integer
attrs jsonb
comments text
done integer
duration bigint
end_date timestamp
start_date timestamp
created_by bigint
updated_by bigint
Idx accounting_batch bigint
Idx alarm_engine_batch bigint
Idx bank_order bigint
Idx bank_payment_batch bigint
Idx base_batch bigint
Idx contract_batch bigint
Idx crm_batch bigint
Idx hr_batch bigint
Idx invoice_batch bigint
Idx mail_batch bigint
Idx meta_file bigint
Idx production_batch bigint
Idx sale_batch bigint
Idx supplychain_batch bigint
Indexes
Pk base_batch_pkey id
Unq uk_nwkvbr0mp1c8k5herwea import_id
5am5
base_batch_accounting_bat accounting_batch
ch_idx
base_batch_alarm_engine_ alarm_engine_batch
batch_idx
base_batch_bank_order_idx bank_order
base_batch_bank_payment bank_payment_batch
_batch_idx
base_batch_base_batch_id base_batch
x
base_batch_contract_batch contract_batch
_idx
base_batch_crm_batch_idx crm_batch
base_batch_hr_batch_idx hr_batch
base_batch_invoice_batch_i invoice_batch
dx
base_batch_mail_batch_idx mail_batch
base_batch_meta_file_idx meta_file
base_batch_production_bat production_batch
ch_idx
base_batch_sale_batch_idx sale_batch
base_batch_supplychain_ba supplychain_batch
tch_idx
Foreign Keys
Table base_batch
fk_4ayqvv62lv1ih8rda66exrwwx ( accounting_batch
) ref account_accounting_batch ( id )
fk_mkclnp3k6n7920vkkgw71aqah ( invoice_batch )
ref account_invoice_batch ( id )
fk_5gwpx7mpuk6wwg0uqpuar1jwv ( updated_by )
ref auth_user ( id )
fk_7ui32r4p691i5w9butspam7dr ( created_by ) ref
auth_user ( id )
fk_hwpv4jc1xtfmrunqrn2vjibvu ( bank_order ) ref
bankpayment_bank_order ( id )
fk_j9qjcevlt2fohe86nvnva8uw6 (
bank_payment_batch ) ref
bankpayment_bank_payment_batch ( id )
fk_p9h4pt1i2e6wji4l1i9k0qqgf ( alarm_engine_batch
) ref base_alarm_engine_batch ( id )
fk_2oa8oi55hsjegged7rlqdlhsr ( base_batch ) ref
base_base_batch ( id )
fk_fa47r8cg6j2o8v5uwanrbx3pw ( mail_batch ) ref
base_mail_batch ( id )
fk_gu0uh3gx96dfvh3b2hd2a1ixj ( contract_batch )
ref contract_contract_batch ( id )
fk_juh97fq9pc6t3kvymbvteg5d0 ( crm_batch ) ref
crm_crm_batch ( id )
fk_bpbkj9yu1tlvuvubqbcqpq5cr ( hr_batch ) ref
hr_hr_batch ( id )
fk_k2bancx9cmh44t0uj3htnpbcn ( meta_file ) ref
meta_file ( id )
fk_h97myj2p6ph3hhuvjv7ip8sv0 ( production_batch
) ref production_production_batch ( id )
fk_g28rc3pn8pewdlbe9u9w8kin4 ( sale_batch ) ref
sale_sale_batch ( id )
fk_exd81sc9n7vju0dapdluaodrx (
supplychain_batch ) ref
supplychain_supplychain_batch ( id )

Table base_birt_template
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
format varchar(255)
* Idx name varchar(255)
template_link varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_birt_template_pkey id
Unq uk_9yb5wbdq19ebo1likkfpd import_id
43tb
base_birt_template_name_i name
dx
Foreign Keys
fk_6hb84ayxqm091bkv1q3m1ydni ( created_by ) ref
auth_user ( id )
Table base_birt_template
fk_arvkwc0d33emd20j6tx3ylk64 ( updated_by ) ref
auth_user ( id )

Table base_birt_template_parameter
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
type varchar(255)
value varchar(255)
created_by bigint
updated_by bigint
Idx birt_template bigint
Indexes
Pk base_birt_template_parame id
ter_pkey
Unq uk_drwqj766sver21jf06t0iuc import_id
pc
base_birt_template_parame birt_template
ter_birt_template_idx
base_birt_template_parame name
ter_name_idx
Foreign Keys
fk_cyj3c12nqs1dcq2s3qqbs44dh ( updated_by ) ref
auth_user ( id )
fk_pmejxnjqdgxuclyc6u9bt9282 ( created_by ) ref
auth_user ( id )
fk_9l5neb79otdl05cs3ko5rel4k ( birt_template ) ref
base_birt_template ( id )

Table base_blocking
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
blocking_select integer
blocking_to_date date
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx blocking_by_user bigint
Idx blocking_reason bigint
Idx partner bigint
Indexes
Pk base_blocking_pkey id
Table base_blocking
Unq uk_9rscldwa3ytaymf16kjw1 import_id
dv2a
base_blocking_blocking_by blocking_by_user
_user_idx
base_blocking_blocking_rea blocking_reason
son_idx
base_blocking_name_idx name
base_blocking_partner_idx partner
Foreign Keys
fk_1owjwrao1h5xmectm8839i0xg (
blocking_by_user ) ref auth_user ( id )
fk_etn030y248qy3iqmw6erdc70f ( created_by ) ref
auth_user ( id )
fk_m7elwpdde2n2po2h3tqmifobm ( updated_by )
ref auth_user ( id )
fk_3lfbpcc0kfqbxieapt7rsslhk ( partner ) ref
base_partner ( id )
fk_hnbid8i4bxwhngmjyhoag7i6 ( blocking_reason )
ref base_stop_reason ( id )

Table base_blocking_company_set
* Pk base_blocking bigint
* Pk company_set bigint
Indexes
Pk base_blocking_company_se base_blocking,
t_pkey company_set
Foreign Keys
fk_ibs6xo5f92swch7ic94eug0ht ( base_blocking )
ref base_blocking ( id )
fk_lefid2sdeyoeoa3sk918nr3xt ( company_set ) ref
base_company ( id )

Table base_calendar_configuration
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx calendar_group bigint
Idx calendar_user bigint
Idx meta_action bigint
Idx parent_meta_menu bigint
Idx role bigint
Indexes
Pk base_calendar_configuratio id
n_pkey
Unq uk_2l86dbnq3leo7qmha3x9 import_id
6u3fq
Table base_calendar_configuration
base_calendar_configuratio calendar_group
n_calendar_group_idx
base_calendar_configuratio calendar_user
n_calendar_user_idx
base_calendar_configuratio meta_action
n_meta_action_idx
base_calendar_configuratio name
n_name_idx
base_calendar_configuratio parent_meta_menu
n_parent_meta_menu_idx
base_calendar_configuratio role
n_role_idx
Foreign Keys
fk_8888pfuv6f4r9fjie0739uyi ( calendar_group ) ref
auth_group ( id )
fk_c7uvmtth8hbeas1qv91gmhobr ( role ) ref
auth_role ( id )
fk_7sr14ml795pxaxshgalsgm0xv ( created_by ) ref
auth_user ( id )
fk_l5g76gql7ba53v09eiiwwyhnk ( updated_by ) ref
auth_user ( id )
fk_r65aosn4yll4mhhefrcfgeciq ( calendar_user ) ref
auth_user ( id )
fk_gqcl35qgdbwes16hqsubtmlqx ( meta_action ) ref
meta_action ( id )
fk_hgywe9ae07ok6476rvoq9b5tl (
parent_meta_menu ) ref meta_menu ( id )

Table base_calendar_configuration_calendar_set
* Pk base_calendar_configuratio bigint
n
* Pk calendar_set bigint
Indexes
Pk base_calendar_configuratio base_calendar_config
n_calendar_set_pkey uration, calendar_set
Foreign Keys
fk_ncbs2mslf55o16ixjvs0hxpk1 (
base_calendar_configuration ) ref
base_calendar_configuration ( id )
fk_6nxu6ycnoi530bqsy6xf1xu2p ( calendar_set ) ref
ical_calendar ( id )

Table base_calendar_management
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
all_calendars bool
attrs jsonb
erp_calendars bool
ical_calendars bool
created_by bigint
updated_by bigint
Idx parent_user bigint
Table base_calendar_management
Idx team bigint
Idx user_id bigint
Indexes
Pk base_calendar_managemen id
t_pkey
Unq uk_64ffidk5oyuv3mi0i29gv7 import_id
uw9
base_calendar_managemen parent_user
t_parent_user_idx
base_calendar_managemen team
t_team_idx
base_calendar_managemen user_id
t_user_id_idx
Foreign Keys
fk_2rb4g48vjoshr0cpbmvo3t2tq ( user_id ) ref
auth_user ( id )
fk_fi7d1n0bqo5vnwu8xfobdu48 ( parent_user ) ref
auth_user ( id )
fk_i01yevcd6jomr8keic2ahuxgq ( updated_by ) ref
auth_user ( id )
fk_t65vm7q0i0apohuk2i44gd7vs ( created_by ) ref
auth_user ( id )
fk_2nmspnr71a7yyj68blmriatde ( team ) ref
team_team ( id )

Table base_calendar_management_calendar_set
* Pk base_calendar_managemen bigint
t
* Pk calendar_set bigint
Indexes
Pk base_calendar_managemen base_calendar_mana
t_calendar_set_pkey gement, calendar_set
Foreign Keys
fk_483hblp6efaw7ljj2cf3yulwm (
base_calendar_management ) ref
base_calendar_management ( id )
fk_89w3lhk146189c6p6rdwxbv9g ( calendar_set )
ref ical_calendar ( id )

Table base_cancel_reason
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
application_type varchar(255)
attrs jsonb
cancel_quantity_allocation bool
free_text bool
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_cancel_reason_pkey id
Table base_cancel_reason
Unq uk_9d9o4i2f1kssxyrsunisp8l import_id
ff
base_cancel_reason_name name
_idx
Foreign Keys
fk_4wodckl0x2hqx34jnuqe2us7d ( created_by ) ref
auth_user ( id )
fk_i3e0ce91mydccdkgf0bmhxtc3 ( updated_by ) ref
auth_user ( id )

Table base_canton
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
artmin varchar(255)
attrs jsonb
* code varchar(255)
Unq
inhabitants_nbr integer
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx department bigint
Indexes
Pk base_canton_pkey id
Unq uk_5hhrkhhsjupetn92gts0w import_id
6m9m
Unq uk_f8dus7pf91y607jot8nwdy code
qg5
base_canton_department_id department
x
base_canton_name_idx name
Foreign Keys
fk_afmp82l3psn8t9gep9xvth5kk ( created_by ) ref
auth_user ( id )
fk_oqe66g609yrllkbt7n731vper ( updated_by ) ref
auth_user ( id )
fk_ov2owl3pdhh80slyf85ch7ini ( department ) ref
base_department ( id )

Table base_city
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
artmin varchar(255)
attrs jsonb
has_zip_on_right bool
Table base_city
Idx insee_code varchar(255)
* Idx name varchar(255)
nb_inh_commune integer
zip varchar(255)
created_by bigint
updated_by bigint
Idx canton bigint
Idx country bigint
Idx department bigint
Indexes
Pk base_city_pkey id
Unq uk_s2cmqte3txv24g4t5g0w2 import_id
7xv4
base_city_canton_idx canton
base_city_country_idx country
base_city_department_idx department
base_city_insee_code_idx insee_code
base_city_name_idx name
Foreign Keys
fk_famohxq7ybtkby96ik0s9j38v ( created_by ) ref
auth_user ( id )
fk_kd7ffvcaf7c7ylhmxwq1mxjbj ( updated_by ) ref
auth_user ( id )
fk_nh8may6alwsohkmxt8ysajv5q ( canton ) ref
base_canton ( id )
fk_mg806xe0mvlwwyve943uv8xhg ( country ) ref
base_country ( id )
fk_a73s9daip3r0upx8qwigdrvhx ( department ) ref
base_department ( id )

Table base_company
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
customer_payment_delay numeric(19,2)
default_partner_type_select integer
* name varchar(255)
Unq
notes text
order_bloqued_message varchar(255)
supplier_payment_delay numeric(19,2)
created_by bigint
updated_by bigint
Idx address bigint
Idx currency bigint
Idx default_bank_details bigint
Idx logo bigint
Idx parent bigint
Table base_company
Idx partner bigint
Idx printing_settings bigint
Idx public_holiday_events_plan bigint
ning
Idx weekly_planning bigint
Indexes
Pk base_company_pkey id
Unq uk_bp61myky6c1vbdc4iubw import_id
38gbx
Unq uk_hn0711m0xtr3lsmixyefur code
r7e
Unq uk_mpaoue5kxp4j9iribqw4n name
q379
base_company_address_id address
x
base_company_currency_id currency
x
base_company_default_ban default_bank_details
k_details_idx
base_company_logo_idx logo
base_company_parent_idx parent
base_company_partner_idx partner
base_company_printing_set printing_settings
tings_idx
base_company_public_holid public_holiday_events
ay_events_planning_idx _planning
base_company_weekly_pla weekly_planning
nning_idx
Foreign Keys
fk_f8nwyfpmncco05ffpp6de0nx ( updated_by ) ref
auth_user ( id )
fk_gwi33hh1fkee6qp64ir82fcgh ( created_by ) ref
auth_user ( id )
fk_srax3wnossqpxy8jb2s4ogkqd ( address ) ref
base_address ( id )
fk_t5yhc4leso09exbqpl6yxts3d (
default_bank_details ) ref base_bank_details ( id )
fk_ec5tjiurjsj2j1exu6gdv3ojx ( parent ) ref
base_company ( id )
fk_n033crynft5d154kqxg48dtj1 ( currency ) ref
base_currency ( id )
fk_8h1cxmfxteviautkq2frnew6g (
public_holiday_events_planning ) ref
base_events_planning ( id )
fk_fo0m6q1x0cj3oxv7axqao69qx ( partner ) ref
base_partner ( id )
fk_p4ep2439mx5ogyyo6cebgvcid ( printing_settings
) ref base_printing_settings ( id )
fk_ik2l7xx29bxc41wiis1nn8rqe ( weekly_planning )
ref base_weekly_planning ( id )
fk_70qefir13n9hhtfo730ao02lu ( logo ) ref meta_file
( id )

Table base_company_bank_details_set
* Pk base_company bigint
* Pk bank_details_set bigint
Indexes
Pk base_company_bank_detail base_company,
s_set_pkey bank_details_set
Table base_company_bank_details_set
Foreign Keys
fk_bf4jgwmgxvgvdh32dda43fhd0 ( bank_details_set
) ref base_bank_details ( id )
fk_rquq517aqxe7xqlahee0f4hgt ( base_company )
ref base_company ( id )

Table base_company_department
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx company bigint
Indexes
Pk base_company_department id
_pkey
Unq uk_jtpmjuiy30e9cs9wsw0nk import_id
61jq
base_company_department code
_code_idx
base_company_department company
_company_idx
base_company_department name
_name_idx
Foreign Keys
fk_337w62s3tjgke98cym2owgoix ( created_by ) ref
auth_user ( id )
fk_7b74w57vpshjpxcvlelcvla2s ( updated_by ) ref
auth_user ( id )
fk_1qojnmdjpbtrv3i22k9332kql ( company ) ref
base_company ( id )

Table base_company_trading_name_set
* Pk company_set bigint
* Pk trading_name_set bigint
Indexes
Pk base_company_trading_na company_set,
me_set_pkey trading_name_set
Foreign Keys
fk_8hrnffm35c39ryl0bt4m3716k ( company_set ) ref
base_company ( id )
fk_qtblh434e6cg02stt1erbowcp ( trading_name_set
) ref base_trading_name ( id )

Table base_country
* Pk id bigint
archived bool
Table base_country
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
alpha2code varchar(2)
alpha3code varchar(3)
attrs jsonb
cog varchar(255)
is_ispm_required bool
* Idx name varchar(255)
numeric_code varchar(3)
phone_prefix varchar(255)
created_by bigint
updated_by bigint
Idx economic_area bigint
Indexes
Pk base_country_pkey id
Unq uk_9ro8k0w5xy39572gu0i6 import_id
pjc4d
base_country_economic_ar economic_area
ea_idx
base_country_name_idx name
Foreign Keys
fk_72ru3lgu8n9hlsl3kphmpu6n1 ( updated_by ) ref
auth_user ( id )
fk_tfwobn7psvnqf6cxdfb53b70u ( created_by ) ref
auth_user ( id )
fk_5qxb3lr18tyjelxnkauv19wnu ( economic_area )
ref base_economic_area ( id )

Table base_currency
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
* Idx name varchar(255)
symbol varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_currency_pkey id
Unq uk_nn22idu0m5u8c09ox0qj import_id
ed7t7
base_currency_code_idx code
base_currency_name_idx name
Foreign Keys
fk_1jimm1u3lrkqx8r8ekc0oildp ( created_by ) ref
auth_user ( id )
Table base_currency
fk_7effwaf2490bsebmydj2as4h9 ( updated_by ) ref
auth_user ( id )

Table base_currency_conversion_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
exchange_rate numeric(20,8)
* from_date date
to_date date
variations varchar(255)
created_by bigint
updated_by bigint
Idx app_base bigint
* Idx end_currency bigint
* Idx start_currency bigint
Indexes
Pk base_currency_conversion_ id
line_pkey
Unq uk_a1etm9u6kceqgvbld9wry import_id
6yf
base_currency_conversion_ app_base
line_app_base_idx
base_currency_conversion_ end_currency
line_end_currency_idx
base_currency_conversion_ start_currency
line_start_currency_idx
Foreign Keys
fk_pf0j8qnr4dlikokfxrxf8xdgg ( updated_by ) ref
auth_user ( id )
fk_t0nm3hoxaco100cnyqmyhl5la ( created_by ) ref
auth_user ( id )
fk_t8ikhkctcc6b18t7huvwh092x ( app_base ) ref
base_app_base ( id )
fk_78pkhqd76a6ao2f0kb3wtxofc ( end_currency )
ref base_currency ( id )
fk_bgiq0jt5dq4brtwu7btghj6b4 ( start_currency ) ref
base_currency ( id )

Table base_data_backup
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
backup_date timestamp
fetch_limit integer
Table base_data_backup
restore_date timestamp
status_select integer
created_by bigint
updated_by bigint
Idx backup_meta_file bigint
Idx log_meta_file bigint
Indexes
Pk base_data_backup_pkey id
Unq uk_p6pinyhel0tgjnetqnkersk import_id
y4
base_data_backup_backup backup_meta_file
_meta_file_idx
base_data_backup_log_met log_meta_file
a_file_idx
Foreign Keys
fk_kr1dry4xjwuftwm47bk7ykb02 ( created_by ) ref
auth_user ( id )
fk_m7eoxv4ymrfrnpiwcimvx3b4 ( updated_by ) ref
auth_user ( id )
fk_2sr6y0n68yknrbm9ro1fl47l ( backup_meta_file )
ref meta_file ( id )
fk_567cnfrxp3te9lbd8soxus2nw ( log_meta_file ) ref
meta_file ( id )

Table base_data_config_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
path varchar(255)
record varchar(255)
reset_path_select integer
* tab_name varchar(255)
Unq
type_select integer
created_by bigint
updated_by bigint
Idx meta_model bigint
Unq object_data_config bigint
Indexes
Pk base_data_config_line_pkey id
Unq uk_5pq5k1tcretcuncsl51hcp object_data_config,
5ml tab_name
Unq uk_c637nc1hsy4dek0hfeaq import_id
gttn7
base_data_config_line_met meta_model
a_model_idx
base_data_config_line_obje object_data_config
ct_data_config_idx
Foreign Keys
fk_1lxd97iklmf6ilhd3nffxlspx ( created_by ) ref
auth_user ( id )
Table base_data_config_line
fk_km67wwe4jqjlblnfpo0ajl54a ( updated_by ) ref
auth_user ( id )
fk_705bsmdxl8c44u6lr1ovu5dhq (
object_data_config ) ref base_object_data_config (
id )
fk_n1kq555dklsc2b0w7abry049w ( meta_model )
ref meta_model ( id )

Table base_data_config_line_to_delete_meta_field_set
* Pk base_data_config_line bigint
* Pk to_delete_meta_field_set bigint
Indexes
Pk base_data_config_line_to_d base_data_config_line
elete_meta_field_set_pkey ,
to_delete_meta_field_
set
Foreign Keys
fk_him2bpnutonx96p3cm1fbn2pa (
base_data_config_line ) ref base_data_config_line (
id )
fk_oei7hksc8chwbnhw764x8pxem (
to_delete_meta_field_set ) ref meta_field ( id )

Table base_data_config_line_to_export_meta_field_set
* Pk base_data_config_line bigint
* Pk to_export_meta_field_set bigint
Indexes
Pk base_data_config_line_to_e base_data_config_line
xport_meta_field_set_pkey ,
to_export_meta_field_
set
Foreign Keys
fk_q7q2ktn7y34nfwdtmwt569bg0 (
base_data_config_line ) ref base_data_config_line (
id )
fk_1pcq4uvfj65nhafs3kukjqv34 (
to_export_meta_field_set ) ref meta_field ( id )

Table base_day_planning
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
afternoon_from time
afternoon_to time
attrs jsonb
morning_from time
morning_to time
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx weekly_plann bigint
Table base_day_planning
Indexes
Pk base_day_planning_pkey id
Unq uk_l1eafe44dh88vt0l478rn5 import_id
wbg
base_day_planning_name_i name
dx
base_day_planning_weekly weekly_plann
_plann_idx
Foreign Keys
fk_ejh2bn20599hq73dsh3hmtcvy ( created_by ) ref
auth_user ( id )
fk_mvrohkqks3fruyvd7wpxwg66o ( updated_by ) ref
auth_user ( id )
fk_cea87j64o65g0jb1dw4vsm948 ( weekly_plann )
ref base_weekly_planning ( id )

Table base_department
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx region bigint
Indexes
Pk base_department_pkey id
Unq uk_3n5b3j7tjll34ael5x6v9j9tj import_id
Unq uk_4763w0d418frc0pef2xyq code
6y8g
base_department_name_idx name
base_department_region_id region
x
Foreign Keys
fk_7svuhsj1l3g85nas4g61w3815 ( updated_by ) ref
auth_user ( id )
fk_fg1bvq8vwp75r6yl01d24ntp2 ( created_by ) ref
auth_user ( id )
fk_r13da21c4aavoyv22dyvwe8cm ( region ) ref
base_region ( id )

Table base_duration
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
Table base_duration
attrs jsonb
Idx name varchar(255)
type_select integer
value integer
created_by bigint
updated_by bigint
Indexes
Pk base_duration_pkey id
Unq uk_ec46u8h0c662ln36etji3jk import_id
5e
base_duration_name_idx name
Foreign Keys
fk_ls6s73ms3vp238t1mixg9594i ( created_by ) ref
auth_user ( id )
fk_mgpdjxkl7t5qx9k0osmu5t32v ( updated_by ) ref
auth_user ( id )

Table base_economic_area
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Unq code varchar(255)
Unq name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_economic_area_pkey id
Unq uk_868ny8r4on5so6uagxkfe code
7qmj
Unq uk_fri8uh2bfppxcb87h6mb6f name
fjs
Unq uk_q556dfxh06os824s7hmh import_id
bobb4
Foreign Keys
fk_idxll0edlh0ap9tptle7shx2o ( created_by ) ref
auth_user ( id )
fk_q5q27ps5s15xi0ah3ltwrx8dj ( updated_by ) ref
auth_user ( id )

Table base_events_planning
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
Table base_events_planning
created_by bigint
updated_by bigint
Indexes
Pk base_events_planning_pkey id
Unq uk_av4pdb1pgqgpxcypamqj import_id
0uips
base_events_planning_nam name
e_idx
Foreign Keys
fk_99le6qu8pe5b4hbw706vuguqh ( created_by ) ref
auth_user ( id )
fk_rhvnpylrm933btv2wa86poyvx ( updated_by ) ref
auth_user ( id )

Table base_events_planning_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* date_val date
description varchar(255)
* year integer
created_by bigint
updated_by bigint
Idx events_planning bigint
Indexes
Pk base_events_planning_line_ id
pkey
Unq uk_i38nby9jjvkft3d78joqmi1 import_id
mq
base_events_planning_line_ events_planning
events_planning_idx
Foreign Keys
fk_9liu1wu4jedgl11w9sscnytlb ( created_by ) ref
auth_user ( id )
fk_c73cbnysn8xkjxgif6oqjqayb ( updated_by ) ref
auth_user ( id )
fk_3vvawykma2oxt9l7q3h6yxvsd ( events_planning
) ref base_events_planning ( id )

Table base_geographical_area
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
Table base_geographical_area
created_by bigint
updated_by bigint
Indexes
Pk base_geographical_area_pk id
ey
Unq uk_7wtslen4a7i30c7l56e606 import_id
jm1
base_geographical_area_na name
me_idx
Foreign Keys
fk_3llotff55hb1j6iuulxuohapn ( created_by ) ref
auth_user ( id )
fk_t5wgp4yc6k161vslvcu507j1w ( updated_by ) ref
auth_user ( id )

Table base_geographical_area_department_set
* Pk base_geographical_area bigint
* Pk department_set bigint
Indexes
Pk base_geographical_area_de base_geographical_ar
partment_set_pkey ea, department_set
Foreign Keys
fk_hyt4i39r0a1j3jv1hn9y1ovu9 ( department_set )
ref base_department ( id )
fk_imnmqv02b132c66k7ewyt0fis (
base_geographical_area ) ref
base_geographical_area ( id )

Table base_import_configuration
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
description text
Idx name varchar(255)
* type_select varchar(255)
created_by bigint
updated_by bigint
* Idx bind_meta_file bigint
* Idx data_meta_file bigint
* Idx user_id bigint
Indexes
Pk base_import_configuration_ id
pkey
Unq uk_5415hchdr13k0i2qlqiij30l import_id
n
base_import_configuration_ bind_meta_file
bind_meta_file_idx
base_import_configuration_ data_meta_file
data_meta_file_idx
Table base_import_configuration
base_import_configuration_ name
name_idx
base_import_configuration_ user_id
user_id_idx
Foreign Keys
fk_avcn4909oy3d7kx7uufc0cnh8 ( updated_by ) ref
auth_user ( id )
fk_cltysiy6sy66vmytkca4b0xe0 ( created_by ) ref
auth_user ( id )
fk_ipp39hrpxkd2eftp2l218p03j ( user_id ) ref
auth_user ( id )
fk_aa5u8evovl7cp4gwjl0usax3v ( bind_meta_file )
ref meta_file ( id )
fk_ghojycdijurv2d6qf10ombckq ( data_meta_file )
ref meta_file ( id )

Table base_import_history
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
created_by bigint
updated_by bigint
* Idx data_meta_file bigint
Idx import_configuration bigint
Idx log_meta_file bigint
* Idx user_id bigint
Indexes
Pk base_import_history_pkey id
Unq uk_h35codlgqrdtwy9f9lishql import_id
ah
base_import_history_data_ data_meta_file
meta_file_idx
base_import_history_import import_configuration
_configuration_idx
base_import_history_log_m log_meta_file
eta_file_idx
base_import_history_user_i user_id
d_idx
Foreign Keys
fk_4yxof63iyw65qmj3pjjqdbk8r ( user_id ) ref
auth_user ( id )
fk_8evwu1o3wo0iueqrgh26le76o ( updated_by ) ref
auth_user ( id )
fk_m7co0t2xe3yq0x7pobkj42a1q ( created_by ) ref
auth_user ( id )
fk_k5v1o22fp38o0gklbf036li2u (
import_configuration ) ref
base_import_configuration ( id )
fk_g2ogw0qwbgvlod4mowgwdcfjq ( log_meta_file )
ref meta_file ( id )
fk_qdetitdd5b169m1bcqnfvxipi ( data_meta_file ) ref
meta_file ( id )
Table base_indicator_generator
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Unq code varchar(255)
log text
Idx name varchar(255)
request text
request_language integer
result text
created_by bigint
updated_by bigint
Indexes
Pk base_indicator_generator_p id
key
Unq uk_6ncc9v65ijkk8fcwi4xpfwr import_id
qj
Unq uk_q64d1jprqgsj56tsmuj7vt code
6s2
base_indicator_generator_n name
ame_idx
Foreign Keys
fk_nnwgrc806sdh3nstwgb2589wh ( created_by ) ref
auth_user ( id )
fk_sclar7cm65v812nvauvy47kem ( updated_by ) ref
auth_user ( id )

Table base_indicator_generator_grouping
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Unq code varchar(255)
log text
Idx name varchar(255)
path varchar(255)
result text
created_by bigint
updated_by bigint
Indexes
Pk base_indicator_generator_g id
rouping_pkey
Unq uk_16dbstookhu3365kunt5t code
7hv2
Unq uk_5lfel6sdrtq2kh73pdm44t import_id
gjq
Table base_indicator_generator_grouping
base_indicator_generator_g name
rouping_name_idx
Foreign Keys
fk_73bawsla06j5oxv2vvcywksri ( updated_by ) ref
auth_user ( id )
fk_kffpuki3wqby49n42x1qkx19i ( created_by ) ref
auth_user ( id )

Table base_indicator_generator_grouping_indicator_generator_set
* Pk base_indicator_generator_g bigint
rouping
* Pk indicator_generator_set bigint
Indexes
Pk base_indicator_generator_g base_indicator_gener
rouping_indicator_generator ator_grouping,
_set_pkey indicator_generator_s
et
Foreign Keys
fk_4fu28dxl5l9o39u7oede6pwt3 (
indicator_generator_set ) ref
base_indicator_generator ( id )
fk_caovo3i1ufx1fr1wdqga8y5td (
base_indicator_generator_grouping ) ref
base_indicator_generator_grouping ( id )

Table base_industry_sector
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Indexes
Pk base_industry_sector_pkey id
Unq uk_7ftx866i33u3j4ibmwiamy name
ycx
Unq uk_84t7eitesx69mut0dc3vg import_id
66bp
Foreign Keys
fk_8bwg41s82unxwm2q285taktg5 ( created_by ) ref
auth_user ( id )
fk_la30rn2yxyxop897rjlu99fkk ( updated_by ) ref
auth_user ( id )

Table base_keyword
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
Table base_keyword
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx key_word varchar(255)
type_select varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_keyword_pkey id
Unq uk_2efo3lluaoo08uhulbc0vp import_id
wj1
base_keyword_key_word_id key_word
x
Foreign Keys
fk_3gdchmu8lwm07xmxo5m7212nb ( updated_by )
ref auth_user ( id )
fk_gtcjxkbxqpatvny06uvo3pcbn ( created_by ) ref
auth_user ( id )

Table base_language
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_language_pkey id
Unq uk_ojnke5u26s2tr560p1dxa import_id
2qws
base_language_code_idx code
base_language_name_idx name
Foreign Keys
fk_pn8y4bspx6ln2g7lhv89i7s6f ( updated_by ) ref
auth_user ( id )
fk_riw1v6m9kuoqaxtgj7xfa6ixv ( created_by ) ref
auth_user ( id )

Table base_mail_batch
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
Table base_mail_batch
* action_select integer
attrs jsonb
Unq code varchar(255)
content text
description text
subject varchar(255)
created_by bigint
updated_by bigint
* Idx company bigint
Idx template bigint
Indexes
Pk base_mail_batch_pkey id
Unq uk_kskxqv7smm12er2aotvn code
3prhx
Unq uk_nth1o60sofmlwr82e8120 import_id
mhxa
base_mail_batch_company company
_idx
base_mail_batch_template_ template
idx
Foreign Keys
fk_6p2co3kbkk9bfxyv2bbdw14qk ( updated_by ) ref
auth_user ( id )
fk_pptxysb60w5bo82kn8akb1bpg ( created_by ) ref
auth_user ( id )
fk_2gcjgn727vciuhr3kydwn71l1 ( company ) ref
base_company ( id )
fk_rcx5qf5ucu4030w29g7iay4d8 ( template ) ref
message_template ( id )

Table base_object_data_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* model_select varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_object_data_config_p id
key
Unq uk_6hrgu99dyvksdb9otwuc1 import_id
0j25
Foreign Keys
fk_hum1nc3okdgdqv9odoq6csm0a ( created_by )
ref auth_user ( id )
fk_o24yy7wwamrm5gmwanusxhdy5 ( updated_by )
ref auth_user ( id )

Table base_partner
* Pk id bigint
Table base_partner
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
charge_back_purchase numeric(19,2)
charge_back_purchase_sel integer
ect
company_str varchar(255)
contact_attrs jsonb
delivery_delay integer
department varchar(255)
description text
factorized_customer bool
fax varchar(255)
first_name varchar(255)
fixed_phone varchar(255)
Idx full_name varchar(255)
invoice_sending_format_sel varchar(255)
ect
invoices_copy_select integer
is_carrier bool
is_contact bool
is_customer bool
is_employee bool
is_factor bool
is_ispm_required bool
is_needing_conformity_certi bool
ficate
is_prospect bool
is_supplier bool
job_title varchar(255)
mobile_phone varchar(255)
* name varchar(255)
nbr_employees integer
partner_attrs jsonb
Unq partner_seq varchar(255)
partner_type_select integer
password varchar(255)
payer_quality numeric(19,2)
payment_delay numeric(19,2)
purchase_order_information text
registration_code varchar(255)
reject_counter integer
sale_order_information text
sale_turnover integer
seller_code varchar(255)
simple_full_name varchar(255)
specific_tax_note text
supplier_arrival_product_qty numeric(19,2)
supplier_quality_rating numeric(19,2)
Table base_partner
supplier_quality_rating_sele numeric(19,2)
ct
tax_nbr varchar(255)
time_slot text
title_select integer
web_site varchar(255)
created_by bigint
updated_by bigint
active_umr bigint
analytic_distribution_templat bigint
e
carrier_partner bigint
currency bigint
Idx email_address bigint
Idx fiscal_position bigint
freight_carrier_mode bigint
in_payment_mode bigint
industry_sector bigint
Idx language bigint
Idx main_address bigint
main_partner bigint
out_payment_mode bigint
parent_partner bigint
Idx partner_category bigint
payment_condition bigint
picture bigint
Idx purchase_partner_price_list bigint
reports_to bigint
Idx sale_partner_price_list bigint
shipment_mode bigint
source bigint
team bigint
user_id bigint
Indexes
Pk base_partner_pkey id
Unq uk_7g6wmbcwxu6q898utc2 import_id
75fisj
Unq uk_j701q4v9ypf9dpdsox062 partner_seq
eeqg
base_partner_email_addres email_address
s_idx
base_partner_fiscal_positio fiscal_position
n_idx
base_partner_full_name_idx full_name
base_partner_language_idx language
base_partner_main_addres main_address
s_idx
base_partner_partner_categ partner_category
ory_idx
base_partner_purchase_par purchase_partner_pric
tner_price_list_idx e_list
base_partner_sale_partner_ sale_partner_price_list
price_list_idx
Foreign Keys
fk_lok3jje18df5na421s0rng0le (
analytic_distribution_template ) ref
account_analytic_distribution_template ( id )
Table base_partner
fk_nyebr3cy5c05k1gc2lasmlwyn ( fiscal_position )
ref account_fiscal_position ( id )
fk_egthowyhrasn3w06k8r1ojer9 (
payment_condition ) ref
account_payment_condition ( id )
fk_4afn30e7i36bvjv9o14o8b2q3 (
out_payment_mode ) ref account_payment_mode (
id )
fk_4omer6cy9i7yu2dbrwgl13yvf ( in_payment_mode
) ref account_payment_mode ( id )
fk_fuol260dt6pm8q9hv21ncdbao ( active_umr ) ref
account_umr ( id )
fk_atgt4let4li3093d4f6v46ih6 ( created_by ) ref
auth_user ( id )
fk_fsiivvfmhcbrv7gqxkvnlaahj ( updated_by ) ref
auth_user ( id )
fk_sa1lxax8xexdk1lhlrb6v00jt ( user_id ) ref
auth_user ( id )
fk_b4tnqs5crhrkx8i1iskpkn4eh ( main_address ) ref
base_address ( id )
fk_4frhlaeebfltmkr99g6t9k0uh ( currency ) ref
base_currency ( id )
fk_akdfyx44rpne6vh2f0wg9s81i ( industry_sector )
ref base_industry_sector ( id )
fk_m51bnxjeqmgfvuwp44cx5tcwg ( language ) ref
base_language ( id )
fk_3beaydaj768cdr1jc8ktiutw8 ( carrier_partner ) ref
base_partner ( id )
fk_q19n1kgdd0f5aret7jubvikmp ( reports_to ) ref
base_partner ( id )
fk_qbmcsdq144d85s7t0hp9198yl ( main_partner )
ref base_partner ( id )
fk_sawo9ibxhulke70o9hyr79emq ( parent_partner )
ref base_partner ( id )
fk_306nf66nt57ibesqfr9wp9voj ( partner_category )
ref base_partner_category ( id )
fk_lpyy19o2y8rqwypxn7196che6 (
purchase_partner_price_list ) ref
base_partner_price_list ( id )
fk_ptkc058ctmheqt01ffnrlp1bb (
sale_partner_price_list ) ref base_partner_price_list
( id )
fk_2cnc2x837impx6c9hobnyifqi ( source ) ref
base_source ( id )
fk_c0hksvy34k6ch7tdiltv2ljo4 ( email_address ) ref
message_email_address ( id )
fk_eybqh2br1dwqkrye48r0we1my ( picture ) ref
meta_file ( id )
fk_erm71u9vbnlfrp0srdbwww0oj (
freight_carrier_mode ) ref
stock_freight_carrier_mode ( id )
fk_820tygsqi36cb083263wfpgfk ( shipment_mode )
ref stock_shipment_mode ( id )
fk_jxcxcekfg8syje5oqk68ya7ll ( team ) ref
team_team ( id )

Table base_partner_address
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
Table base_partner_address
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
is_default_addr bool
is_delivery_addr bool
is_invoicing_addr bool
created_by bigint
updated_by bigint
Idx address bigint
Idx partner bigint
Indexes
Pk base_partner_address_pkey id
Unq uk_im0x4e0jkyx1w2tl0ksce import_id
miqa
base_partner_address_addr address
ess_idx
base_partner_address_part partner
ner_idx
Foreign Keys
fk_4uchi4cdv118b8a6gmedmdh6q ( created_by )
ref auth_user ( id )
fk_aiasq5qsbg90hf7sf7kwybmq1 ( updated_by ) ref
auth_user ( id )
fk_n6umlpuaysyuspv29bqr4ctus ( address ) ref
base_address ( id )
fk_iy0ewpg34b3x3hq8o1yy825mb ( partner ) ref
base_partner ( id )

Table base_partner_batch_set
* Pk base_partner bigint
* Pk batch_set bigint
Indexes
Pk base_partner_batch_set_pk base_partner,
ey batch_set
Foreign Keys
fk_gd7uhje7u9n2wi1y689nxihyf ( batch_set ) ref
base_batch ( id )
fk_pw6s7kpa0eo2wkc4arwh8kg2c ( base_partner )
ref base_partner ( id )

Table base_partner_category
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* Idx name varchar(255)
created_by bigint
updated_by bigint
Table base_partner_category
Indexes
Pk base_partner_category_pke id
y
Unq uk_8dp0bf4u6omaptwv0kqk import_id
aftn4
Unq uk_9b12t7eje7csygfbphknds code
rjv
base_partner_category_na name
me_idx
Foreign Keys
fk_1tud554uf01srphqe9ha23302 ( updated_by ) ref
auth_user ( id )
fk_wt6g1k6e7wd7eo9lt2xr63so ( created_by ) ref
auth_user ( id )

Table base_partner_company_set
* Pk base_partner bigint
* Pk company_set bigint
Indexes
Pk base_partner_company_set base_partner,
_pkey company_set
Foreign Keys
fk_59cm7bu75dc79wtmobilk9t1f ( company_set )
ref base_company ( id )
fk_nqsikc92g8je86u152igjs0e7 ( base_partner ) ref
base_partner ( id )

Table base_partner_contact_partner_set
* Pk base_partner bigint
* Pk contact_partner_set bigint
Indexes
Pk base_partner_contact_partn base_partner,
er_set_pkey contact_partner_set
Foreign Keys
fk_4ms9tkv2r56mvd5sh6wnbw1lx (
contact_partner_set ) ref base_partner ( id )
fk_96qeq6ck32peusuphf717uvyy ( base_partner )
ref base_partner ( id )

Table base_partner_price_list
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
is_exclusive bool
* Idx label varchar(255)
* type_select integer
created_by bigint
updated_by bigint
Indexes
Table base_partner_price_list
Pk base_partner_price_list_pke id
y
Unq uk_4rvguxmrprswppg1hsn2j import_id
vb57
base_partner_price_list_lab label
el_idx
Foreign Keys
fk_70dwgatendm2e8p2ejcrwq6g8 ( created_by ) ref
auth_user ( id )
fk_93gpo2qwum7t7juokoo45bjgg ( updated_by ) ref
auth_user ( id )

Table base_partner_price_list_price_list_set
* Pk base_partner_price_list bigint
* Pk price_list_set bigint
Indexes
Pk base_partner_price_list_pric base_partner_price_li
e_list_set_pkey st, price_list_set
Foreign Keys
fk_45ycf7m5jat31wu7a2oc8jwfi (
base_partner_price_list ) ref base_partner_price_list
( id )
fk_24sopeqiiwto4q9spyxj05b0f ( price_list_set ) ref
base_price_list ( id )

Table base_period
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
allow_expense_creation bool
attrs jsonb
closure_date_time timestamp
Idx code varchar(255)
from_date date
* Idx name varchar(255)
status_select integer
to_date date
created_by bigint
updated_by bigint
* Idx year bigint
Indexes
Pk base_period_pkey id
Unq uk_6f6rij0wllecvqiy61d3aow import_id
3q
base_period_code_idx code
base_period_name_idx name
base_period_year_idx year
Foreign Keys
fk_160ta1fkim5bfteqst9nd8wml ( created_by ) ref
auth_user ( id )
Table base_period
fk_nho1lcw7sydmicildc0paeh8q ( updated_by ) ref
auth_user ( id )
fk_13w6yypfww7fx71j57rsitiur ( year ) ref base_year
( id )

Table base_pick_list_entry
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx full_name varchar(255)
insee_code varchar(255)
l2 varchar(255)
l3 varchar(255)
l5 varchar(255)
moniker varchar(255)
partial_address varchar(255)
picklist varchar(255)
postcode varchar(255)
score varchar(255)
created_by bigint
updated_by bigint
Idx address bigint
Indexes
Pk base_pick_list_entry_pkey id
Unq uk_ee6v59b0rkq7fde9o8q6a import_id
i6k7
base_pick_list_entry_addres address
s_idx
base_pick_list_entry_full_na full_name
me_idx
Foreign Keys
fk_oyfpnwlj6f2yxfoegjwbum8j3 ( created_by ) ref
auth_user ( id )
fk_ter0r5qs6myx2txs6n6haj7hv ( updated_by ) ref
auth_user ( id )
fk_nqmqmmyhfnki84ne9tm1acoq9 ( address ) ref
base_address ( id )

Table base_price_list
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
application_begin_date date
application_end_date date
attrs jsonb
Table base_price_list
based_on_select integer
comments text
general_discount numeric(19,2)
hide_discount bool
is_active bool
* Idx title varchar(255)
* type_select integer
created_by bigint
updated_by bigint
Idx parent_price_list bigint
Indexes
Pk base_price_list_pkey id
Unq uk_dw7l7o89nt0f13ebfcy7rw import_id
8od
base_price_list_parent_pric parent_price_list
e_list_idx
base_price_list_title_idx title
Foreign Keys
fk_infu9i15ph591i2gv0u793rmm ( created_by ) ref
auth_user ( id )
fk_m8t2sbig19nrc90d90n83jeya ( updated_by ) ref
auth_user ( id )
fk_7hm7u9lhvkyvifrol3e0x5b8y ( parent_price_list )
ref base_price_list ( id )

Table base_price_list_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount numeric(20,10)
amount_type_select integer
attrs jsonb
min_qty numeric(19,2)
type_select integer
created_by bigint
updated_by bigint
Idx price_list bigint
Idx product bigint
Idx product_category bigint
Indexes
Pk base_price_list_line_pkey id
Unq uk_p2m4doxkynrphx908kc9 import_id
hkcti
base_price_list_line_price_li price_list
st_idx
base_price_list_line_product product_category
_category_idx
base_price_list_line_product product
_idx
Foreign Keys
Table base_price_list_line
fk_1iw8ug4g7sgx1dynp7cpuodl2 ( created_by ) ref
auth_user ( id )
fk_jmxjvwl08htjj9aexjl8shke3 ( updated_by ) ref
auth_user ( id )
fk_hekd83mpit1yiedlqsb7euytm ( price_list ) ref
base_price_list ( id )
fk_958785tq0yt6ywnb5s1cyn5es ( product ) ref
base_product ( id )
fk_sfn1ncelatgoitchdy5sde9ej ( product_category )
ref base_product_category ( id )

Table base_printing_settings
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
color_code varchar(255)
logo_position_select integer
* Idx name varchar(255)
pdf_footer text
pdf_footer_height numeric(19,2)
pdf_header text
pdf_header_height numeric(19,2)
created_by bigint
updated_by bigint
Idx company bigint
Idx default_mail_birt_template bigint
Indexes
Pk base_printing_settings_pkey id
Unq uk_n9igwh5n5fp4w7qf2xaar import_id
2b3m
base_printing_settings_com company
pany_idx
base_printing_settings_defa default_mail_birt_tem
ult_mail_birt_template_idx plate
base_printing_settings_nam name
e_idx
Foreign Keys
fk_58410eubohku0ujly2ev8n1q3 ( created_by ) ref
auth_user ( id )
fk_9tbnom2oh5atcid2oecafsw8i ( updated_by ) ref
auth_user ( id )
fk_t5iej3cccaiqic1xiwpcuycm9 (
default_mail_birt_template ) ref base_birt_template
( id )
fk_874xeceroekwdc1qbq444lnf0 ( company ) ref
base_company ( id )

Table base_product
* Pk id bigint
archived bool
Table base_product
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
allow_to_force_purchase_qt bool
y
allow_to_force_sale_qty bool
article_volume numeric(19,2)
attrs jsonb
auto_update_sale_price bool
avg_price numeric(20,10)
block_expense_tax bool
bom_comp_valu_method_s integer
elect
check_expiration_date_at_s bool
tock_move_realization
Unq code varchar(255)
control_on_receipt bool
cost_price numeric(20,10)
cost_type_select integer
deduct_lunch_voucher bool
def_ship_coef_by_partner bool
description text
diameter numeric(19,2)
economic_manuf_order_qty numeric(19,2)
end_date date
exclude_from_mrp bool
expense bool
Idx full_name varchar(255)
gross_mass numeric(20,3)
has_warranty bool
height numeric(19,2)
in_ati bool
internal_description text
inventory_type_select integer
is_activity bool
is_analytic_capture bool
is_from_configurator bool
is_model bool
is_perishable bool
is_prototype bool
is_shipping_costs_product bool
is_unrenewed bool
last_production_price numeric(20,10)
length numeric(19,2)
manag_price_coef numeric(19,2)
manage_variant_price bool
manuf_order_comp_valu_m integer
ethod_select
* Idx name varchar(255)
net_mass numeric(20,3)
pack_price_select integer
perishable_nbr_of_months integer
Table base_product
personal_expense bool
procurement_method_select varchar(255)
product_standard varchar(255)
product_sub_type_select integer
* product_type_select varchar(255)
purchasable bool
purchase_price numeric(20,10)
real_or_estimated_price_sel integer
ect
sale_price numeric(20,10)
sale_supply_select integer
sellable bool
serial_number varchar(255)
shipping_coef numeric(19,2)
standard_delay integer
start_date date
stock_managed bool
supplier_delivery_time integer
unavailable_to_users bool
used_indeb bool
version_select integer
warranty_nbr_of_months integer
width numeric(19,2)
created_by bigint
updated_by bigint
Idx bar_code bigint
Idx barcode_type_config bigint
Idx cost_sheet_group bigint
Idx country_of_origin bigint
Idx customs_code_nomenclatur bigint
e
Idx default_bill_of_material bigint
Idx default_supplier_partner bigint
Idx length_unit bigint
Idx mass_unit bigint
Idx mrp_family bigint
Idx parent_product bigint
Idx picture bigint
Idx product_approval bigint
Idx product_category bigint
Idx product_family bigint
Idx product_variant bigint
Idx product_variant_config bigint
Idx purchase_currency bigint
Idx purchases_unit bigint
Idx sale_currency bigint
Idx sales_unit bigint
Idx tracking_number_configurati bigint
on
Idx unit bigint
Indexes
Pk base_product_pkey id
Unq uk_8kpy2jmcgi4y9u2cy2sb8 import_id
stw1
Table base_product
Unq uk_kmoa50rib71d6kh82rgrd code
9rpb
base_product_bar_code_idx bar_code
base_product_barcode_type barcode_type_config
_config_idx
base_product_cost_sheet_g cost_sheet_group
roup_idx
base_product_country_of_o country_of_origin
rigin_idx
base_product_customs_cod customs_code_nome
e_nomenclature_idx nclature
base_product_default_bill_o default_bill_of_materia
f_material_idx l
base_product_default_suppl default_supplier_partn
ier_partner_idx er
base_product_full_name_id full_name
x
base_product_length_unit_i length_unit
dx
base_product_mass_unit_id mass_unit
x
base_product_mrp_family_i mrp_family
dx
base_product_name_idx name
base_product_parent_produ parent_product
ct_idx
base_product_picture_idx picture
base_product_product_appr product_approval
oval_idx
base_product_product_cate product_category
gory_idx
base_product_product_famil product_family
y_idx
base_product_product_varia product_variant_confi
nt_config_idx g
base_product_product_varia product_variant
nt_idx
base_product_purchase_cur purchase_currency
rency_idx
base_product_purchases_u purchases_unit
nit_idx
base_product_sale_currenc sale_currency
y_idx
base_product_sales_unit_id sales_unit
x
base_product_tracking_num tracking_number_conf
ber_configuration_idx iguration
base_product_unit_idx unit
Foreign Keys
fk_gsu17thb0te7u0l66vmajuidl ( created_by ) ref
auth_user ( id )
fk_l1726odxvo9tq6odl4yychbq5 ( updated_by ) ref
auth_user ( id )
fk_ahtgp1gwxhvfeh2bj37s6a6ad (
barcode_type_config ) ref
base_barcode_type_config ( id )
fk_4xnnu50to00ml6a2aagkhtwi5 ( country_of_origin
) ref base_country ( id )
fk_bk6676syl3whmovsktvim49vy ( sale_currency )
ref base_currency ( id )
Table base_product
fk_hif0muj9tk7l5auddcdhucfte ( purchase_currency
) ref base_currency ( id )
fk_7sbf3w8voeebtcg58s6bgmk0i (
default_supplier_partner ) ref base_partner ( id )
fk_ofcvmo2evnql8f0h3pmvui7cl ( parent_product )
ref base_product ( id )
fk_ds9e0b8gx6athvi4phnkd1n4l ( product_category
) ref base_product_category ( id )
fk_r0lbj9k3169wjrdjejw5bt1kn ( product_family ) ref
base_product_family ( id )
fk_hpfycbp88jph7usfdlofj509g ( product_variant ) ref
base_product_variant ( id )
fk_asrgy94071uvcumadty1pjmc9 (
product_variant_config ) ref
base_product_variant_config ( id )
fk_gahc8kgox4w54ifit3n15sr3a ( sales_unit ) ref
base_unit ( id )
fk_ko37vqtxs4adbim7yn1i8jb6v ( length_unit ) ref
base_unit ( id )
fk_lqv5tru1w2tgi6w6w5s8it4py ( unit ) ref base_unit
( id )
fk_poon1dcqq2md7ilf9kuad7nce ( mass_unit ) ref
base_unit ( id )
fk_toweg0qry1ttfcqm2ruoqfkoe ( purchases_unit )
ref base_unit ( id )
fk_5p4sksvokonyq5uwyluy73tk6 ( picture ) ref
meta_file ( id )
fk_l09ypby1snxiy5ocb83gl63tl ( bar_code ) ref
meta_file ( id )
fk_ql11y0qoijfbnc4epw5xk58yx (
default_bill_of_material ) ref
production_bill_of_material ( id )
fk_rv1in9r8cgg0trgnnodc2okij ( cost_sheet_group )
ref production_cost_sheet_group ( id )
fk_4iix668w9n6w753vvcd5181tn ( product_approval
) ref production_product_approval ( id )
fk_slxf2abkgmc0jnhq51cmnghba (
customs_code_nomenclature ) ref
stock_customs_code_nomenclature ( id )
fk_1dda74kkbn6k18fd8ywtubgl9 (
tracking_number_configuration ) ref
stock_tracking_number_configuration ( id )
fk_88qrg4f4nplsex8dr60u8s0xj ( mrp_family ) ref
supplychain_mrp_family ( id )

Table base_product_category
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Table base_product_category
Idx parent_product_category bigint
Indexes
Pk base_product_category_pke id
y
Unq uk_49haprh9jhbh9mkc5obd import_id
ovoos
Unq uk_beyx3xqdyxanvl9pcac2g code
kcbc
Unq uk_h0wtnyn377cwfmb9n40k name
68y6b
base_product_category_par parent_product_categ
ent_product_category_idx ory
Foreign Keys
fk_1b3vnlmp6t9gm850j1mkjgqxv ( created_by ) ref
auth_user ( id )
fk_5g5nlmcldf77k5sq7jsw22ec0 ( updated_by ) ref
auth_user ( id )
fk_a9jadfnr8ei03fl9entq3178c (
parent_product_category ) ref
base_product_category ( id )

Table base_product_family
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_product_family_pkey id
Unq uk_7qyyxdx0xsr349ut5umav code
cewd
Unq uk_lp6c8ps3hajyi280u7vy4e import_id
071
base_product_family_name name
_idx
Foreign Keys
fk_duvekfnij4g644quc3jvkuv5d ( created_by ) ref
auth_user ( id )
fk_toudbammnbqhsmfjwpy7n2rqf ( updated_by ) ref
auth_user ( id )

Table base_product_multiple_qty
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
Table base_product_multiple_qty
updated_on timestamp
attrs jsonb
multiple_qty numeric(19,2)
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx purchase_product bigint
Idx sale_product bigint
Indexes
Pk base_product_multiple_qty_ id
pkey
Unq uk_dss97yqkxuuxeb3e6go8 import_id
bq3wb
base_product_multiple_qty_ name
name_idx
base_product_multiple_qty_ purchase_product
purchase_product_idx
base_product_multiple_qty_ sale_product
sale_product_idx
Foreign Keys
fk_h4g09wt7fhk7n4na9tpf4wjw6 ( created_by ) ref
auth_user ( id )
fk_mfkdh8nm3aokt95l8cxr9lyar ( updated_by ) ref
auth_user ( id )
fk_1gkpun7137lcb539c3xk7ocyy (
purchase_product ) ref base_product ( id )
fk_gof92urv3t1adfqo5petpu6xa ( sale_product ) ref
base_product ( id )

Table base_product_pack_lines
* base_product bigint
* pack_lines bigint
Unq
Indexes
Unq uk_1x4kotb5rd79fgsy47o8d pack_lines
ossa
Foreign Keys
fk_d5m9rrniq733rjm5bjrkjieeq ( base_product ) ref
base_product ( id )
fk_1x4kotb5rd79fgsy47o8dossa ( pack_lines ) ref
sale_pack_line ( id )

Table base_product_variant
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
used_for_stock bool
created_by bigint
updated_by bigint
Table base_product_variant
Idx product_variant_attr1 bigint
Idx product_variant_attr2 bigint
Idx product_variant_attr3 bigint
Idx product_variant_attr4 bigint
Idx product_variant_value1 bigint
Idx product_variant_value2 bigint
Idx product_variant_value3 bigint
Idx product_variant_value4 bigint
Indexes
Pk base_product_variant_pkey id
Unq uk_7pl86bgexq20p7i7658v import_id
mr1b6
base_product_variant_name name
_idx
base_product_variant_prod product_variant_attr1
uct_variant_attr1_idx
base_product_variant_prod product_variant_attr2
uct_variant_attr2_idx
base_product_variant_prod product_variant_attr3
uct_variant_attr3_idx
base_product_variant_prod product_variant_attr4
uct_variant_attr4_idx
base_product_variant_prod product_variant_value
uct_variant_value1_idx 1
base_product_variant_prod product_variant_value
uct_variant_value2_idx 2
base_product_variant_prod product_variant_value
uct_variant_value3_idx 3
base_product_variant_prod product_variant_value
uct_variant_value4_idx 4
Foreign Keys
fk_1riu0wgbqjayem1mlpysk27qi ( created_by ) ref
auth_user ( id )
fk_lpdj7g0eerk9i2h1k1uh6irh1 ( updated_by ) ref
auth_user ( id )
fk_3svl5n17wsuosy9b890e9cr9o (
product_variant_attr4 ) ref
base_product_variant_attr ( id )
fk_buusffjibnl3k59vp37c8pd77 (
product_variant_attr3 ) ref
base_product_variant_attr ( id )
fk_d0gcpbxibqycyybjs4f13tgn2 (
product_variant_attr1 ) ref
base_product_variant_attr ( id )
fk_lseqvuxr6p65hmj3wh51r45ao (
product_variant_attr2 ) ref
base_product_variant_attr ( id )
fk_4yjiophw10ai6pix0ll45vgk2 (
product_variant_value4 ) ref
base_product_variant_value ( id )
fk_5ly2tl5c8qykj6a2xnl2jr0vk (
product_variant_value1 ) ref
base_product_variant_value ( id )
fk_jxsmey9y4oj8s7bg2skr4w26y (
product_variant_value2 ) ref
base_product_variant_value ( id )
fk_ougk981b8upedc0etxcpbicpy (
product_variant_value3 ) ref
base_product_variant_value ( id )
Table base_product_variant_attr
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_product_variant_attr_ id
pkey
Unq uk_tasjvo5kug6s4crah81gu import_id
29cn
base_product_variant_attr_c code
ode_idx
base_product_variant_attr_ name
name_idx
Foreign Keys
fk_qwb0teha7rxhmuvdwo7b47how ( created_by )
ref auth_user ( id )
fk_sn4l6p0j9594vt6k0vie9o4m2 ( updated_by ) ref
auth_user ( id )

Table base_product_variant_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx product_variant_attr1 bigint
Idx product_variant_attr2 bigint
Idx product_variant_attr3 bigint
Idx product_variant_attr4 bigint
Indexes
Pk base_product_variant_confi id
g_pkey
Unq uk_2enna8yxmtf8j0ue10h5p import_id
orak
base_product_variant_confi name
g_name_idx
base_product_variant_confi product_variant_attr1
g_product_variant_attr1_idx
base_product_variant_confi product_variant_attr2
g_product_variant_attr2_idx
base_product_variant_confi product_variant_attr3
g_product_variant_attr3_idx
Table base_product_variant_config
base_product_variant_confi product_variant_attr4
g_product_variant_attr4_idx
Foreign Keys
fk_4r1nioja5p2sfc55mg5uxt6iq ( updated_by ) ref
auth_user ( id )
fk_9pm8rb7poix6yiu0ct14st9db ( created_by ) ref
auth_user ( id )
fk_62tvt1vyacpllxpyjt93lgrgr ( product_variant_attr1
) ref base_product_variant_attr ( id )
fk_i4aj19qu8ip23y9xgw3ed2tid (
product_variant_attr4 ) ref
base_product_variant_attr ( id )
fk_mvs22vyvm0ufbftywvbsgrw54 (
product_variant_attr3 ) ref
base_product_variant_attr ( id )
fk_qf8lksh2jtuyr4eqd55l48s8g (
product_variant_attr2 ) ref
base_product_variant_attr ( id )

Table base_product_variant_config_product_variant_value1set
* Pk base_product_variant_confi bigint
g
* Pk product_variant_value1set bigint
Indexes
Pk base_product_variant_confi base_product_variant
g_product_variant_value1se _config,
t_pkey product_variant_value
1set
Foreign Keys
fk_43xwyk8s3qocl77o2c156rf2e (
base_product_variant_config ) ref
base_product_variant_config ( id )
fk_e380ciuwlrhtkyskqct3d9nov (
product_variant_value1set ) ref
base_product_variant_value ( id )

Table base_product_variant_config_product_variant_value2set
* Pk base_product_variant_confi bigint
g
* Pk product_variant_value2set bigint
Indexes
Pk base_product_variant_confi base_product_variant
g_product_variant_value2se _config,
t_pkey product_variant_value
2set
Foreign Keys
fk_7f1lynqa2fbjr4rr34gtt0b4e (
base_product_variant_config ) ref
base_product_variant_config ( id )
fk_hlheqgukcnqmufyloh90j7t3r (
product_variant_value2set ) ref
base_product_variant_value ( id )

Table base_product_variant_config_product_variant_value3set
* Pk base_product_variant_confi bigint
g
* Pk product_variant_value3set bigint
Indexes
Table base_product_variant_config_product_variant_value3set
Pk base_product_variant_confi base_product_variant
g_product_variant_value3se _config,
t_pkey product_variant_value
3set
Foreign Keys
fk_fiw9r2gds13cv8mrtsnrdqkah (
base_product_variant_config ) ref
base_product_variant_config ( id )
fk_nckrhaxjvfmeeajiyyhcnrw54 (
product_variant_value3set ) ref
base_product_variant_value ( id )

Table base_product_variant_config_product_variant_value4set
* Pk base_product_variant_confi bigint
g
* Pk product_variant_value4set bigint
Indexes
Pk base_product_variant_confi base_product_variant
g_product_variant_value4se _config,
t_pkey product_variant_value
4set
Foreign Keys
fk_2h4ocfoaulubwb97i2ffc66o5 (
base_product_variant_config ) ref
base_product_variant_config ( id )
fk_cfy2bkpdywv990ejr2puod2p9 (
product_variant_value4set ) ref
base_product_variant_value ( id )

Table base_product_variant_value
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
application_price_select integer
attrs jsonb
* Idx code varchar(255)
* Idx name varchar(255)
price_extra numeric(20,10)
created_by bigint
updated_by bigint
Idx product_variant_attr bigint
Indexes
Pk base_product_variant_value id
_pkey
Unq uk_kbqhdywh36buhvcc1l11 import_id
c84o7
base_product_variant_value code
_code_idx
base_product_variant_value name
_name_idx
base_product_variant_value product_variant_attr
_product_variant_attr_idx
Foreign Keys
Table base_product_variant_value
fk_oobn1jwvucrk3ss0r7slpxq7c ( created_by ) ref
auth_user ( id )
fk_rd99jai3tmj03c4oydl6twu8u ( updated_by ) ref
auth_user ( id )
fk_7sdpbpfkm9kb3m9xdsafecc49 (
product_variant_attr ) ref base_product_variant_attr
( id )

Table base_querie
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
* query text
* type integer
created_by bigint
updated_by bigint
Idx meta_model bigint
Indexes
Pk base_querie_pkey id
Unq uk_lq035u0xxv6d7n9rbtlxkgl import_id
ur
base_querie_meta_model_i meta_model
dx
base_querie_name_idx name
Foreign Keys
fk_60iys5qkjw8vaauo1fcu84d8y ( created_by ) ref
auth_user ( id )
fk_crxr4oad3go4bj3doscu5g4l1 ( updated_by ) ref
auth_user ( id )
fk_hl5f9d8d578w70oo1cwym4rfj ( meta_model ) ref
meta_model ( id )

Table base_region
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
* name varchar(255)
Unq
created_by bigint
updated_by bigint
Idx country bigint
Indexes
Table base_region
Pk base_region_pkey id
Unq uk_56o5xktlt6ef54f5wopbwk code
0ew
Unq uk_8ub4qd96e8gm8tapra7g import_id
8c8ve
Unq uk_eh4rgo35b2wwop4yj4ius name
ugcj
base_region_country_idx country
Foreign Keys
fk_b9164vnwsu42kaf7i6x9qfsnt ( updated_by ) ref
auth_user ( id )
fk_mw690u7ogholy8su96rp3x1wl ( created_by ) ref
auth_user ( id )
fk_9ratpclrdj39ojmv7rw2qe9d0 ( country ) ref
base_country ( id )

Table base_routing
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
is_active bool
* Idx name varchar(255)
priority integer
created_by bigint
updated_by bigint
Indexes
Pk base_routing_pkey id
Unq uk_4cmkk74tbi2chymxb8au import_id
e3tdy
base_routing_code_idx code
base_routing_name_idx name
Foreign Keys
fk_b8y6s6fhot2pec2nfdvyhpuni ( created_by ) ref
auth_user ( id )
fk_plxj1lo8d4kyon0peet4b22kg ( updated_by ) ref
auth_user ( id )

Table base_routing_action
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
related_to_filter1 varchar(255)
related_to_filter2 varchar(255)
Table base_routing_action
created_by bigint
updated_by bigint
Idx routing bigint
Idx routing_action_create bigint
Indexes
Pk base_routing_action_pkey id
Unq uk_driexdf8mb09nxfj3mby3j import_id
ysn
base_routing_action_routing routing_action_create
_action_create_idx
base_routing_action_routing routing
_idx
Foreign Keys
fk_nn4ehw1yjldoy39dt3jc2irk8 ( created_by ) ref
auth_user ( id )
fk_pme3kq0v0dnhprii5ss7akfpw ( updated_by ) ref
auth_user ( id )
fk_nc8pbfgac020d3p0jj44e3v31 ( routing ) ref
base_routing ( id )
fk_r0n2pv9io30by8iicqtn8qchs (
routing_action_create ) ref
base_routing_action_create ( id )

Table base_routing_action_create
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
created_by bigint
updated_by bigint
Idx meta_model bigint
Indexes
Pk base_routing_action_create id
_pkey
Unq uk_k0t3gil5ox29hhjju8rhk8m import_id
v3
base_routing_action_create meta_model
_meta_model_idx
Foreign Keys
fk_di8p1yppvc5fk2f1wsvynl9d6 ( created_by ) ref
auth_user ( id )
fk_oyyy4o3dhswy98kts6mjyb6te ( updated_by ) ref
auth_user ( id )
fk_ms3kn0ct35cdqtit83oi6wkqd ( meta_model ) ref
meta_model ( id )

Table base_routing_action_create_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
Table base_routing_action_create_line
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
value varchar(255)
created_by bigint
updated_by bigint
Idx meta_field bigint
Idx routing_action_create bigint
Indexes
Pk base_routing_action_create id
_line_pkey
Unq uk_k5qdvm04hnwxekptfynl9 import_id
n4b1
base_routing_action_create meta_field
_line_meta_field_idx
base_routing_action_create routing_action_create
_line_routing_action_create
_idx
Foreign Keys
fk_5n7wonpnqy9ruia8xtrb90fb ( updated_by ) ref
auth_user ( id )
fk_qk2cwxqe4xdpywmlvxtffn1cm ( created_by ) ref
auth_user ( id )
fk_a41f0j5jkqaowe2qr9nbk4ye0 (
routing_action_create ) ref
base_routing_action_create ( id )
fk_4t2hbeitavu6hlm71e26g6y8h ( meta_field ) ref
meta_field ( id )

Table base_routing_action_create_routing_action_create_line_list
* base_routing_action_create bigint
* routing_action_create_line_l bigint
Unq ist
Indexes
Unq uk_6yyb8wllxvrfu6magq2ah routing_action_create
vkh6 _line_list
Foreign Keys
fk_rgleyq0oqej8g7thx3pxgglcr (
base_routing_action_create ) ref
base_routing_action_create ( id )
fk_6yyb8wllxvrfu6magq2ahvkh6 (
routing_action_create_line_list ) ref
base_routing_action_create_line ( id )

Table base_routing_rule
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
rule_type_select integer
value varchar(255)
Table base_routing_rule
created_by bigint
updated_by bigint
Idx meta_field bigint
Idx routing bigint
Indexes
Pk base_routing_rule_pkey id
Unq uk_htvvd701h9njfqum49tah import_id
xcsi
base_routing_rule_meta_fiel meta_field
d_idx
base_routing_rule_routing_i routing
dx
Foreign Keys
fk_oc06xfsrs1h86nd6n9h5nju3u ( created_by ) ref
auth_user ( id )
fk_swb204ad20f0g286gi4gwoni1 ( updated_by ) ref
auth_user ( id )
fk_o2itndttx8wkqgcfal82suca3 ( routing ) ref
base_routing ( id )
fk_9lgyu4y2qt716khn5xvmexur0 ( meta_field ) ref
meta_field ( id )

Table base_sequence
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* code varchar(255)
Unq
Idx full_name varchar(255)
monthly_reset_ok bool
* Idx name varchar(255)
* padding integer
Unq prefixe varchar(255)
sequence_letters_type_sele varchar(255)
ct
* sequence_type_select varchar(255)
Unq suffixe varchar(255)
* to_be_added integer
yearly_reset_ok bool
created_by bigint
updated_by bigint
Unq company bigint
Indexes
Pk base_sequence_pkey id
Unq uk_b7qrmgvcwgh8dj0y2ewi company, code,
cu8sh prefixe, suffixe
Unq uk_jdmyxnoyx67h3qukeusv import_id
mi3kf
base_sequence_code_idx code
base_sequence_company_i company
dx
Table base_sequence
base_sequence_full_name_ full_name
idx
base_sequence_name_idx name
idx_sequence_code_compa code, company
ny
Foreign Keys
fk_qlchp2aafpvhst8m7rwg6ecmq ( created_by ) ref
auth_user ( id )
fk_qsb2v61ffddd2m7l78cx13tja ( updated_by ) ref
auth_user ( id )
fk_f65j442v4cjeobvjr2no56uld ( company ) ref
base_company ( id )
Constraints
base_sequence_to_be_add to_be_added >= 1
ed_check

Table base_sequence_version
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx end_date date
* next_num bigint
* Idx start_date date
created_by bigint
updated_by bigint
Idx sequence bigint
Indexes
Pk base_sequence_version_pk id
ey
Unq uk_60307nrnol7pcpvrrb86jo import_id
suu
base_sequence_version_se sequence
quence_idx
idx_sequence_version_sequ sequence, start_date
ence_start_date
idx_sequence_version_sequ sequence, start_date,
ence_start_date_end_date end_date
Foreign Keys
fk_89eddigc3cfa1tux1e93km0wd ( created_by ) ref
auth_user ( id )
fk_sikmo5bqi5l4yvb2pokdfrg1c ( updated_by ) ref
auth_user ( id )
fk_qp2p803phkbbtgcmaogtxay77 ( sequence ) ref
base_sequence ( id )
Constraints
base_sequence_version_ne next_num >= 1
xt_num_check

Table base_sharing_setting
* Pk id bigint
archived bool
Table base_sharing_setting
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
rights_select integer
visible bool
created_by bigint
updated_by bigint
Idx calendar bigint
Idx shared_with bigint
Indexes
Pk base_sharing_setting_pkey id
Unq uk_fgmfvu3op58c2eqqdmh0 import_id
0y9uq
base_sharing_setting_calen calendar
dar_idx
base_sharing_setting_share shared_with
d_with_idx
Foreign Keys
fk_a2fffo7iv7innqw85ty2l3ebm ( shared_with ) ref
auth_user ( id )
fk_b0o2khx8kqgntybbjklsgnxf4 ( updated_by ) ref
auth_user ( id )
fk_snt5ufobnd1ob2awixr71dcmt ( created_by ) ref
auth_user ( id )
fk_joatl96pbv9yy228s0yurgjcl ( calendar ) ref
ical_calendar ( id )

Table base_shipping_coef
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
shipping_coef numeric(19,2)
created_by bigint
updated_by bigint
* Idx company bigint
Idx supplier_catalog bigint
Indexes
Pk base_shipping_coef_pkey id
Unq uk_1kupfgwi4w0vrorbb4md import_id
84bg7
base_shipping_coef_compa company
ny_idx
base_shipping_coef_supplie supplier_catalog
r_catalog_idx
Foreign Keys
fk_gcxfwf2gcrjxxlptmpo2mp6q6 ( updated_by ) ref
auth_user ( id )
Table base_shipping_coef
fk_swgvy0adkmk4nao9b9yyhqocc ( created_by ) ref
auth_user ( id )
fk_g2u5mqhthytyqfc5evf6f09id ( company ) ref
base_company ( id )
fk_a27b19r5vldahlv5jtnf2lgph ( supplier_catalog )
ref purchase_supplier_catalog ( id )

Table base_source
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_source_pkey id
Unq uk_a6m8y70hpr1lor7fidtpcw import_id
lht
base_source_code_idx code
base_source_name_idx name
Foreign Keys
fk_dgbpvwu6ybtsaae73iysxibvd ( created_by ) ref
auth_user ( id )
fk_shxe2d6xf44iqgsupcqvmkkrl ( updated_by ) ref
auth_user ( id )

Table base_stop_reason
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_stop_reason_pkey id
Unq uk_bqlwehps43rj0jgdsg845j import_id
m99
base_stop_reason_code_id code
x
base_stop_reason_name_id name
x
Foreign Keys
Table base_stop_reason
fk_ccu8w8xr11bayy5y4luwvqnqx ( created_by ) ref
auth_user ( id )
fk_p4stkftn90ha2x6nglmr8yr6b ( updated_by ) ref
auth_user ( id )

Table base_template_context
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_template_context_pke id
y
Unq uk_p1cc5b4d9qhgm1fk67o8 import_id
clj9p
base_template_context_na name
me_idx
Foreign Keys
fk_375s8jdm4s4wiq8rrw41yo270 ( updated_by ) ref
auth_user ( id )
fk_phkixepw4f404v4lp345i608j ( created_by ) ref
auth_user ( id )

Table base_template_context_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
key_val varchar(255)
Idx name varchar(255)
query text
created_by bigint
updated_by bigint
Idx template_context bigint
Indexes
Pk base_template_context_line id
_pkey
Unq uk_60dpkaoa18b40xwy9mt import_id
acna65
base_template_context_line name
_name_idx
base_template_context_line template_context
_template_context_idx
Foreign Keys
Table base_template_context_line
fk_ic23xu5rgf8wpmmwpcrhpnaf3 ( created_by ) ref
auth_user ( id )
fk_rtkkutl1b6k7hwmom9bvtsxqg ( updated_by ) ref
auth_user ( id )
fk_mocn1c6kn7plp6ev9ji9c89wb ( template_context
) ref base_template_context ( id )

Table base_template_rule
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx meta_model bigint
Indexes
Pk base_template_rule_pkey id
Unq uk_th81iddesvflddvi57k4xn6 import_id
oi
base_template_rule_meta_ meta_model
model_idx
base_template_rule_name_i name
dx
Foreign Keys
fk_3gendyeeq4vkaowrtfw46m972 ( created_by ) ref
auth_user ( id )
fk_ha36j7lm9k3kmovfy17giu2yp ( updated_by ) ref
auth_user ( id )
fk_c6qa3bnp7orho8x15dnhv2ojo ( meta_model ) ref
meta_model ( id )

Table base_template_rule_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
sequence integer
created_by bigint
updated_by bigint
Idx meta_action bigint
Idx template bigint
Idx template_rule bigint
Indexes
Pk base_template_rule_line_pk id
ey
Table base_template_rule_line
Unq uk_g0t2a6vnab4v55ppid5foj import_id
0tm
base_template_rule_line_m meta_action
eta_action_idx
base_template_rule_line_te template
mplate_idx
base_template_rule_line_te template_rule
mplate_rule_idx
Foreign Keys
fk_m1y5spvtkvvfaqm3x1lp2cd20 ( updated_by ) ref
auth_user ( id )
fk_tecs9s1b18n2r7ovi84wanrmf ( created_by ) ref
auth_user ( id )
fk_bxwytku9bcji8kus0kg7gcer0 ( template_rule ) ref
base_template_rule ( id )
fk_fp77015xmyrbsrbvmjhyp7d23 ( template ) ref
message_template ( id )
fk_pnheqks7b9d30phbdpfuwwj63 ( meta_action )
ref meta_action ( id )

Table base_territory
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx authority_partner bigint
* Idx city bigint
Idx country bigint
Indexes
Pk base_territory_pkey id
Unq uk_icr42cjtkcvmyaokb9asg8 import_id
qfo
base_territory_authority_par authority_partner
tner_idx
base_territory_city_idx city
base_territory_country_idx country
base_territory_name_idx name
Foreign Keys
fk_lhnnmgbefqar5esy2spkp3twk ( created_by ) ref
auth_user ( id )
fk_pvu48u34krbv2kc7gpiy2gyq7 ( updated_by ) ref
auth_user ( id )
fk_otcm0iew90ebppujmy67a6leb ( city ) ref
base_city ( id )
fk_jfkxqxfj397oyvawtyem9q64q ( country ) ref
base_country ( id )
fk_3tgecy0jnmk1b0xwgw16505lx ( authority_partner
) ref base_partner ( id )
Table base_timer
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
status_select integer
created_by bigint
updated_by bigint
Idx assigned_to_user bigint
Indexes
Pk base_timer_pkey id
Unq uk_j8qkexppj6wg0sgo2ov2i import_id
n29b
base_timer_assigned_to_us assigned_to_user
er_idx
Foreign Keys
fk_aoeegc5pfvatmyaw8ndn5kuo5 (
assigned_to_user ) ref auth_user ( id )
fk_elg4da3kge1vxd7x3ii904e8g ( created_by ) ref
auth_user ( id )
fk_nnipvspx69yx4xy3c3tdu7fp9 ( updated_by ) ref
auth_user ( id )

Table base_timer_history
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
end_datet timestamp
start_datet timestamp
created_by bigint
updated_by bigint
Idx timer bigint
Indexes
Pk base_timer_history_pkey id
Unq uk_p17ky09fod77gmg110xb import_id
jrlhq
base_timer_history_timer_id timer
x
Foreign Keys
fk_1x4xlhxls5kxa47okd39923df ( created_by ) ref
auth_user ( id )
fk_p54bowdpevebrcrry96etftoy ( updated_by ) ref
auth_user ( id )
fk_ljbljawr3qq62wnu891faswbd ( timer ) ref
base_timer ( id )
Table base_trading_name
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx logo bigint
Indexes
Pk base_trading_name_pkey id
Unq uk_9jd7eb475o2jnkweqn0t6 import_id
ok0e
base_trading_name_logo_id logo
x
base_trading_name_name_i name
dx
Foreign Keys
fk_ao1nx7mv9ahmvcay2ybv1x1kq ( created_by )
ref auth_user ( id )
fk_kg64vmsyjw6vpj1ckgd35sgsj ( updated_by ) ref
auth_user ( id )
fk_75bmqgpit0uyjyrb93bg5ni1f ( logo ) ref meta_file
( id )

Table base_trading_name_printing_settings
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
created_by bigint
updated_by bigint
Idx company bigint
Idx printing_settings bigint
Idx trading_name bigint
Indexes
Pk base_trading_name_printing id
_settings_pkey
Unq uk_rlkoqgx6birjue70fdvibu1 import_id
0r
base_trading_name_printing company
_settings_company_idx
base_trading_name_printing printing_settings
_settings_printing_settings_i
dx
base_trading_name_printing trading_name
_settings_trading_name_idx
Foreign Keys
Table base_trading_name_printing_settings
fk_9wgrm1vg53vtt3jlcj7jdsdn8 ( created_by ) ref
auth_user ( id )
fk_eb3l665hrri2tw9jtw6qxoiea ( updated_by ) ref
auth_user ( id )
fk_f5e7a2ghw1dr2ojplxonaog06 ( company ) ref
base_company ( id )
fk_4ym1c0p4vpimnntcsesu12npx ( printing_settings
) ref base_printing_settings ( id )
fk_qno0j25ihps3w8mtt8voix3r6 ( trading_name ) ref
base_trading_name ( id )

Table base_unit
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
label_to_printing varchar(255)
* Idx name varchar(255)
unit_type_select integer
created_by bigint
updated_by bigint
Indexes
Pk base_unit_pkey id
Unq uk_equ84oboowqm4hkgs9l import_id
ap1lcn
base_unit_name_idx name
Foreign Keys
fk_27nqntq4xlt2ppgr1b88cla8k ( updated_by ) ref
auth_user ( id )
fk_bhbi8rahr4ayvwga180wqds3n ( created_by ) ref
auth_user ( id )

Table base_unit_conversion
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* coef numeric(30,12)
formula varchar(255)
Idx name varchar(255)
type_select integer
created_by bigint
updated_by bigint
* Idx end_unit bigint
* Idx start_unit bigint
Indexes
Table base_unit_conversion
Pk base_unit_conversion_pkey id
Unq uk_bvjdty3bos8uk2ir1s26g1 import_id
6ut
base_unit_conversion_end_ end_unit
unit_idx
base_unit_conversion_nam name
e_idx
base_unit_conversion_start start_unit
_unit_idx
Foreign Keys
fk_2ylrqy36rte15bycsmqai8a9r ( created_by ) ref
auth_user ( id )
fk_qp71i2aqndle25adi5f006q8u ( updated_by ) ref
auth_user ( id )
fk_h4duycive5l97y90slmbg4aua ( start_unit ) ref
base_unit ( id )
fk_tl7depqyvsr96rgrj5d2hu2gt ( end_unit ) ref
base_unit ( id )

Table base_user_access_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
created_by bigint
updated_by bigint
Idx access_config bigint
Idx app bigint
Idx user_id bigint
Indexes
Pk base_user_access_config_p id
key
Unq uk_rd1c7idts1f2qjymdschh7 import_id
gaw
base_user_access_config_a access_config
ccess_config_idx
base_user_access_config_a app
pp_idx
base_user_access_config_u user_id
ser_id_idx
Foreign Keys
fk_cbiwxpmcbo43hinpu6pppithq ( created_by ) ref
auth_user ( id )
fk_k1glus67fs753pulxqbgwynq9 ( user_id ) ref
auth_user ( id )
fk_sup0suoktlnsflp8hln70bccr ( updated_by ) ref
auth_user ( id )
fk_my0e769dofewboq6haeglvuc9 ( access_config )
ref base_access_config ( id )
fk_21e4d7arec23inhwkmuklokf0 ( app ) ref
base_app ( id )
Table base_weekly_planning
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
bonus_coef numeric(19,2)
leave_coef numeric(19,2)
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_weekly_planning_pke id
y
Unq uk_86sgq014x312fbba3utxe import_id
ogau
base_weekly_planning_nam name
e_idx
Foreign Keys
fk_btjhr6pi35x1u6dp12j0wiby3 ( created_by ) ref
auth_user ( id )
fk_ed42bcd3yqljnyvwft1xlvprt ( updated_by ) ref
auth_user ( id )

Table base_wizard
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx code varchar(255)
Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk base_wizard_pkey id
Unq uk_iimm48890pae5rr76wgle import_id
8l9c
base_wizard_code_idx code
base_wizard_name_idx name
Foreign Keys
fk_cph1greh29k2wmi613dyinpid ( updated_by ) ref
auth_user ( id )
fk_d30na9m0d0649t2e0u5je5il7 ( created_by ) ref
auth_user ( id )

Table base_year
* Pk id bigint
archived bool
Table base_year
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
closure_date_time timestamp
* code varchar(255)
Unq
* from_date date
* Idx name varchar(255)
period_duration_select integer
reported_balance_date date
status_select integer
* to_date date
* type_select integer
Unq
created_by bigint
updated_by bigint
Unq company bigint
Indexes
Pk base_year_pkey id
Unq uk_kow9mvtxabxwu64owau code, company,
9r4feu type_select
Unq uk_ostaa34ko8t3csjpwpspk import_id
90jb
base_year_code_idx code
base_year_company_idx company
base_year_name_idx name
Foreign Keys
fk_7a7tl2u7su4jcxnoyoq7qxgnu ( updated_by ) ref
auth_user ( id )
fk_cqg8xybb41p87diwnssk6b596 ( created_by ) ref
auth_user ( id )
fk_m5ddkeiw7nqf6j6bdy02vt4ql ( company ) ref
base_company ( id )

Table businessproject_invoicing_project
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
comments text
deadline_date date
expense_line_set_priority_s integer
elect
log_times_set_priority_selec integer
t
project_set_priority_select integer
purchase_order_line_set_pri integer
ority_select
Table businessproject_invoicing_project
sale_order_line_set_priority integer
_select
team_task_set_priority_sele integer
ct
created_by bigint
updated_by bigint
Idx invoice bigint
Idx project bigint
Indexes
Pk businessproject_invoicing_p id
roject_pkey
Unq uk_8gjm8u58lkn3gnv6habtn import_id
vqyk
businessproject_invoicing_p invoice
roject_invoice_idx
businessproject_invoicing_p project
roject_project_idx
Foreign Keys
fk_ndyvbrai0i4y38vhtku5tvn1b ( invoice ) ref
account_invoice ( id )
fk_8kqkfgm3i8g8fyn7tso5umxba ( updated_by ) ref
auth_user ( id )
fk_bkpfasctx6p73muxh61lbk6pv ( created_by ) ref
auth_user ( id )
fk_25dnpw73p9qf4hlr2g97iiccj ( project ) ref
project_project ( id )

Table businessproject_invoicing_project_expense_line_set
* Pk businessproject_invoicing_p bigint
roject
* Pk expense_line_set bigint
Indexes
Pk businessproject_invoicing_p businessproject_invoic
roject_expense_line_set_pk ing_project,
ey expense_line_set
Foreign Keys
fk_clhrfxeamsomgp5wd93aqjkb (
businessproject_invoicing_project ) ref
businessproject_invoicing_project ( id )
fk_gu3460wbte0ry28rok97l9ule ( expense_line_set
) ref hr_expense_line ( id )

Table businessproject_invoicing_project_log_times_set
* Pk businessproject_invoicing_p bigint
roject
* Pk log_times_set bigint
Indexes
Pk businessproject_invoicing_p businessproject_invoic
roject_log_times_set_pkey ing_project,
log_times_set
Foreign Keys
fk_oqf78892kug4h9po6ye1eirwn (
businessproject_invoicing_project ) ref
businessproject_invoicing_project ( id )
fk_91s9pnbbn3plcr9odd5wyptyf ( log_times_set )
ref hr_timesheet_line ( id )
Table businessproject_invoicing_project_manuf_order_set
* Pk businessproject_invoicing_p bigint
roject
* Pk manuf_order_set bigint
Indexes
Pk businessproject_invoicing_p businessproject_invoic
roject_manuf_order_set_pk ing_project,
ey manuf_order_set
Foreign Keys
fk_nh59c185t9qsmp0jx8dy78sir (
businessproject_invoicing_project ) ref
businessproject_invoicing_project ( id )
fk_pmbooe5j8o86w108eu0rhampf (
manuf_order_set ) ref production_manuf_order ( id )

Table businessproject_invoicing_project_project_set
* Pk businessproject_invoicing_p bigint
roject
* Pk project_set bigint
Indexes
Pk businessproject_invoicing_p businessproject_invoic
roject_project_set_pkey ing_project,
project_set
Foreign Keys
fk_ojql4hth4rj6gd048a80mgtkg (
businessproject_invoicing_project ) ref
businessproject_invoicing_project ( id )
fk_4qcvw8vukjcvewkr04q49qjtl ( project_set ) ref
project_project ( id )

Table businessproject_invoicing_project_purchase_order_line_set
* Pk businessproject_invoicing_p bigint
roject
* Pk purchase_order_line_set bigint
Indexes
Pk businessproject_invoicing_p businessproject_invoic
roject_purchase_order_line_ ing_project,
set_pkey purchase_order_line_
set
Foreign Keys
fk_be6hc6lmwaqvrpeyeixphexpb (
businessproject_invoicing_project ) ref
businessproject_invoicing_project ( id )
fk_l6wa1ufysrlkphd2j60rmyuf6 (
purchase_order_line_set ) ref
purchase_purchase_order_line ( id )

Table businessproject_invoicing_project_sale_order_line_set
* Pk businessproject_invoicing_p bigint
roject
* Pk sale_order_line_set bigint
Indexes
Pk businessproject_invoicing_p businessproject_invoic
roject_sale_order_line_set_ ing_project,
pkey sale_order_line_set
Foreign Keys
fk_qmjme1by22n55alnc56dtrg1o (
businessproject_invoicing_project ) ref
businessproject_invoicing_project ( id )
Table businessproject_invoicing_project_sale_order_line_set
fk_3ra6cy16vhps9keybyysqtvc (
sale_order_line_set ) ref sale_sale_order_line ( id )

Table businessproject_invoicing_project_team_task_set
* Pk businessproject_invoicing_p bigint
roject
* Pk team_task_set bigint
Indexes
Pk businessproject_invoicing_p businessproject_invoic
roject_team_task_set_pkey ing_project,
team_task_set
Foreign Keys
fk_kv9pmmdhwhkdido3kdmhdivdm (
businessproject_invoicing_project ) ref
businessproject_invoicing_project ( id )
fk_ofa158ygpn0cm9c4w323597a5 ( team_task_set
) ref team_task ( id )

Table businessproject_manual_element
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
comments text
cost numeric(19,2)
date_val date
* title varchar(255)
turnover numeric(19,2)
type_select integer
created_by bigint
updated_by bigint
Idx currency bigint
Idx project bigint
Indexes
Pk businessproject_manual_ele id
ment_pkey
Unq uk_smh0k81xl46i51770g71 import_id
pkhbs
businessproject_manual_ele currency
ment_currency_idx
businessproject_manual_ele project
ment_project_idx
Foreign Keys
fk_2alu62jjqtm3bsg285e436mir ( updated_by ) ref
auth_user ( id )
fk_8e0057b12weabvrutbq1cyhu0 ( created_by ) ref
auth_user ( id )
fk_ixkpu9ca3qifdll591akayr5g ( currency ) ref
base_currency ( id )
fk_7ysrnmclng5masnpni5uk4s99 ( project ) ref
project_project ( id )
Table contract_consumption_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx full_name varchar(255)
is_error bool
is_invoiced bool
line_date date
qty numeric(19,2)
reference varchar(255)
created_by bigint
updated_by bigint
Idx contract_line bigint
Idx invoice_line bigint
* Idx product bigint
Idx unit bigint
Indexes
Pk contract_consumption_line_ id
pkey
Unq uk_rgt1jpqvar937jn3ehxjm7 import_id
yxw
contract_consumption_line_ contract_line
contract_line_idx
contract_consumption_line_ full_name
full_name_idx
contract_consumption_line_i invoice_line
nvoice_line_idx
contract_consumption_line_ product
product_idx
contract_consumption_line_ unit
unit_idx
Foreign Keys
fk_e4xxbo83bww9f2bqxjmrlkhlq ( invoice_line ) ref
account_invoice_line ( id )
fk_fbdqpjv9w2k6s37bwewso7smd ( updated_by )
ref auth_user ( id )
fk_qgpvp748w8aanjnbu9dx4ni79 ( created_by ) ref
auth_user ( id )
fk_kiilg7fw9ty6f3fmlcc38g36u ( product ) ref
base_product ( id )
fk_gx56x8nrmkql2dqxvwtx2fctc ( unit ) ref base_unit
( id )
fk_7e0tq0nwdrec3w3ru55of8ol8 ( contract_line ) ref
contract_contract_line ( id )

Table contract_contract
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
Table contract_contract
updated_on timestamp
attrs jsonb
contract_id varchar(255)
end_date date
engagement_start_date date
first_period_end_date date
invoice_period_end_date date
invoice_period_start_date date
invoicing_date date
is_additiona_benefit_manag bool
ement
is_consumption_manageme bool
nt
is_invoicing_management bool
last_renewal_date date
Idx name varchar(255)
note text
period_number integer
renewal_number integer
start_date date
* status_select integer
* target_type_select integer
terminated_date date
terminated_manually bool
termination_demand_date date
to_closed bool
version_number integer
created_by bigint
updated_by bigint
* Idx company bigint
Idx currency bigint
* Idx current_contract_version bigint
Idx current_invoice_period bigint
Idx next_version bigint
Idx partner bigint
Idx terminated_by_user bigint
Indexes
Pk contract_contract_pkey id
Unq uk_crotm83rb64ly66pggwhr import_id
x0dh
contract_contract_company company
_idx
contract_contract_currency_ currency
idx
contract_contract_current_c current_contract_versi
ontract_version_idx on
contract_contract_current_in current_invoice_perio
voice_period_idx d
contract_contract_name_idx name
contract_contract_next_vers next_version
ion_idx
contract_contract_partner_i partner
dx
contract_contract_terminate terminated_by_user
d_by_user_idx
Foreign Keys
Table contract_contract
fk_5mjyanv1kjfnx6d9ic856dvd1 ( created_by ) ref
auth_user ( id )
fk_6l9qaxxw07qbjdna52w278pdn ( updated_by ) ref
auth_user ( id )
fk_pevqn3yjpkp05a2c0r1ydwptu (
terminated_by_user ) ref auth_user ( id )
fk_hxegq25j7su4p7bbkeso89x7 ( company ) ref
base_company ( id )
fk_qfjf8p9hnwm1ocd0nf8eunipr ( currency ) ref
base_currency ( id )
fk_p5gldss0dofrqsydtxucxggr ( partner ) ref
base_partner ( id )
fk_ak0sltf45yaxbf3medbwbgekv (
current_contract_version ) ref
contract_contract_version ( id )
fk_pcmf7hl0anj4u0fciwrpqi20 ( next_version ) ref
contract_contract_version ( id )
fk_e53xnooxb22rpqkidyv31ijsx (
current_invoice_period ) ref contract_invoice_period
( id )

Table contract_contract_additional_benefit_contract_line_list
* contract_contract bigint
* additional_benefit_contract_ bigint
Unq line_list
Indexes
Unq uk_6r1be7xguogyt0ocihgjuu additional_benefit_con
5hm tract_line_list
Foreign Keys
fk_e1kisju2jhs4454f53kwef58p ( contract_contract )
ref contract_contract ( id )
fk_6r1be7xguogyt0ocihgjuu5hm (
additional_benefit_contract_line_list ) ref
contract_contract_line ( id )

Table contract_contract_batch
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* action_select integer
attrs jsonb
Unq code varchar(255)
description text
created_by bigint
updated_by bigint
Idx company bigint
Indexes
Pk contract_contract_batch_pk id
ey
Unq uk_exo1c9figa5h69wph733f code
1ufo
Unq uk_ixol0rt5y39olt77k9wrn1rx import_id
q
Table contract_contract_batch
contract_contract_batch_co company
mpany_idx
Foreign Keys
fk_5ag31xlny454mqu29m5u7p3a0 ( created_by )
ref auth_user ( id )
fk_chk04vyl9npjx5brqhbxugnsm ( updated_by ) ref
auth_user ( id )
fk_gpfrr8fpob2lndyfucuj7xse8 ( company ) ref
base_company ( id )

Table contract_contract_batch_set
* Pk contract_contract bigint
* Pk batch_set bigint
Indexes
Pk contract_contract_batch_set contract_contract,
_pkey batch_set
Foreign Keys
fk_sebhkrieal3m8qm8voeushedy ( batch_set ) ref
base_batch ( id )
fk_dj4ks8p773l5lbmi32s1himfs ( contract_contract )
ref contract_contract ( id )

Table contract_contract_consumption_line_list
* contract_contract bigint
* consumption_line_list bigint
Unq
Indexes
Unq uk_d1rfcmi1ngqlx7pobtbnxs consumption_line_list
nc0
Foreign Keys
fk_d1rfcmi1ngqlx7pobtbnxsnc0 (
consumption_line_list ) ref
contract_consumption_line ( id )
fk_175632k61doab6vm68ymhiqfs (
contract_contract ) ref contract_contract ( id )

Table contract_contract_history_invoice_period_list
* contract_contract bigint
* history_invoice_period_list bigint
Unq
Indexes
Unq uk_2y2a7pxc8ppyjs6uaamc history_invoice_period
m7yu7 _list
Foreign Keys
fk_cy90h8pdbq973h82quv05tx6x (
contract_contract ) ref contract_contract ( id )
fk_2y2a7pxc8ppyjs6uaamcm7yu7 (
history_invoice_period_list ) ref
contract_invoice_period ( id )

Table contract_contract_line
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
Table contract_contract_line
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
description text
ex_tax_total numeric(19,2)
Idx full_name varchar(255)
in_tax_total numeric(19,2)
is_consumption_line bool
is_invoiced bool
price numeric(19,2)
* product_name varchar(255)
qty numeric(19,2)
sequence integer
created_by bigint
updated_by bigint
Idx contract_version bigint
Idx fiscal_position bigint
* Idx product bigint
Idx tax_line bigint
Idx unit bigint
Indexes
Pk contract_contract_line_pkey id
Unq uk_51kpqo04k1prs7lfyevlb3 import_id
mch
contract_contract_line_contr contract_version
act_version_idx
contract_contract_line_fiscal fiscal_position
_position_idx
contract_contract_line_full_ full_name
name_idx
contract_contract_line_prod product
uct_idx
contract_contract_line_tax_li tax_line
ne_idx
contract_contract_line_unit_ unit
idx
Foreign Keys
fk_rh3i19is96t4gyum3xtpafhxw ( fiscal_position ) ref
account_fiscal_position ( id )
fk_1xibqco2ghssx8p492rq30rq0 ( tax_line ) ref
account_tax_line ( id )
fk_6s4rq90gup2av0u6jklvxvb0y ( updated_by ) ref
auth_user ( id )
fk_cl0tkylkq4m7xea3dmuqbc8ml ( created_by ) ref
auth_user ( id )
fk_nxc6e4trdiwcikopw88ugf90q ( product ) ref
base_product ( id )
fk_mndq64glo1gs8bccogamel94y ( unit ) ref
base_unit ( id )
fk_lljn56bisai6b6v12tfsyxmgw ( contract_version )
ref contract_contract_version ( id )

Table contract_contract_template
* Pk id bigint
archived bool
Table contract_contract_template
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
automatic_invoicing bool
description text
engagement_start_from_ver bool
sion
first_period_end_date date
invoicing_moment_select integer
is_additiona_benefit_manag bool
ement
is_auto_enable_version_on bool
_renew
is_consumption_before_end bool
_date
is_consumption_manageme bool
nt
is_invoicing_management bool
is_periodic_invoicing bool
is_prorated_first_invoice bool
is_prorated_invoice bool
is_prorated_last_invoice bool
is_tacit_renewal bool
is_time_prorated_invoice bool
is_version_prorated_invoice bool
is_with_engagement bool
is_with_prior_notice bool
* Idx name varchar(255)
note text
period_number integer
* target_type_select integer
created_by bigint
updated_by bigint
* Idx company bigint
Idx currency bigint
Idx engagement_duration bigint
Idx invoicing_duration bigint
Idx payment_condition bigint
Idx payment_mode bigint
Idx prior_notice_duration bigint
Idx renewal_duration bigint
Indexes
Pk contract_contract_template_ id
pkey
Unq uk_2drag3nga17dl1u76vwp import_id
1vl17
contract_contract_template_ company
company_idx
contract_contract_template_ currency
currency_idx
contract_contract_template_ engagement_duration
engagement_duration_idx
Table contract_contract_template
contract_contract_template_ invoicing_duration
invoicing_duration_idx
contract_contract_template_ name
name_idx
contract_contract_template_ payment_condition
payment_condition_idx
contract_contract_template_ payment_mode
payment_mode_idx
contract_contract_template_ prior_notice_duration
prior_notice_duration_idx
contract_contract_template_ renewal_duration
renewal_duration_idx
Foreign Keys
fk_5vq5f2e8s41r2n0bbcahmqyok (
payment_condition ) ref
account_payment_condition ( id )
fk_7myvebhf7legcyvok1sidip35 ( payment_mode )
ref account_payment_mode ( id )
fk_qtii5q3o19vpgbww6nyrj914l ( updated_by ) ref
auth_user ( id )
fk_qtlk7j7dx74n2uvy6rciohbuy ( created_by ) ref
auth_user ( id )
fk_qwlj7qvbjsh85xwu3sskpsm4f ( company ) ref
base_company ( id )
fk_rbuqsnk20to6vmejbtueypv9d ( currency ) ref
base_currency ( id )
fk_6yb9agpeldufsfedvjr55m35k (
engagement_duration ) ref base_duration ( id )
fk_72ttalonehscqjtf2tf4gg9eo ( renewal_duration )
ref base_duration ( id )
fk_8mv15j3yvcgkk7hqd2p0wfeq4 (
prior_notice_duration ) ref base_duration ( id )
fk_mrnxwic366ralrggklydor5di ( invoicing_duration )
ref base_duration ( id )

Table contract_contract_template_additional_benefit_contract_line_lis
* contract_contract_template bigint
* additional_benefit_contract_ bigint
Unq line_list
Indexes
Unq uk_5jlcdpnop0nnm7400rkl0 additional_benefit_con
4f76 tract_line_list
Foreign Keys
fk_5jlcdpnop0nnm7400rkl04f76 (
additional_benefit_contract_line_list ) ref
contract_contract_line ( id )
fk_10ci54vfx1bdddnl1ufkk7yih (
contract_contract_template ) ref
contract_contract_template ( id )

Table contract_contract_template_contract_line_list
* contract_contract_template bigint
* contract_line_list bigint
Unq
Indexes
Unq uk_73httcyc0hbnmapx70cko contract_line_list
8n3y
Foreign Keys
Table contract_contract_template_contract_line_list
fk_73httcyc0hbnmapx70cko8n3y ( contract_line_list
) ref contract_contract_line ( id )
fk_snofcnuhxclbj0hi199ab3tkd (
contract_contract_template ) ref
contract_contract_template ( id )

Table contract_contract_version
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
activation_date date
attrs jsonb
automatic_invoicing bool
description text
do_not_renew bool
end_date date
engagement_start_from_ver bool
sion
Idx full_name varchar(255)
invoicing_moment_select integer
is_auto_enable_version_on bool
_renew
is_consumption_before_end bool
_date
is_periodic_invoicing bool
is_prorated_first_invoice bool
is_prorated_invoice bool
is_prorated_last_invoice bool
is_tacit_renewal bool
is_time_prorated_invoice bool
is_version_prorated_invoice bool
is_with_engagement bool
is_with_prior_notice bool
* status_select integer
supposed_activation_date date
supposed_end_date date
created_by bigint
updated_by bigint
Idx activated_by_user bigint
Idx contract_history bigint
Idx engagement_duration bigint
Idx invoicing_duration bigint
Idx meta_file bigint
Idx payment_condition bigint
Idx payment_mode bigint
Idx prior_notice_duration bigint
Idx renewal_duration bigint
Indexes
Pk contract_contract_version_p id
key
Table contract_contract_version
Unq uk_h5ubktc44womp9yl159ld import_id
rumh
contract_contract_version_a activated_by_user
ctivated_by_user_idx
contract_contract_version_c contract_history
ontract_history_idx
contract_contract_version_e engagement_duration
ngagement_duration_idx
contract_contract_version_f full_name
ull_name_idx
contract_contract_version_i invoicing_duration
nvoicing_duration_idx
contract_contract_version_ meta_file
meta_file_idx
contract_contract_version_p payment_condition
ayment_condition_idx
contract_contract_version_p payment_mode
ayment_mode_idx
contract_contract_version_p prior_notice_duration
rior_notice_duration_idx
contract_contract_version_r renewal_duration
enewal_duration_idx
Foreign Keys
fk_8xm4g4ehb1tcmucbhbbme32ky (
payment_condition ) ref
account_payment_condition ( id )
fk_3938k5atun66vnlo2j3u1d1bm ( payment_mode )
ref account_payment_mode ( id )
fk_1mdqch96sv4jgysp64u8g15fd ( updated_by ) ref
auth_user ( id )
fk_aynulsvpof0ibcer5y337spi0 ( activated_by_user )
ref auth_user ( id )
fk_nbeg1k958ufi15untcg5uwjls ( created_by ) ref
auth_user ( id )
fk_bst3nn2oxcuh3mqyt3an3nebr ( renewal_duration
) ref base_duration ( id )
fk_c4rw8ut7obcatt45y8prmtksv ( invoicing_duration
) ref base_duration ( id )
fk_k3229cnjby25aiu8qab1l031f (
engagement_duration ) ref base_duration ( id )
fk_tawpslk673wrpmmo5mos0ko7n (
prior_notice_duration ) ref base_duration ( id )
fk_mrvpefljx486rxl3oouk0f6l3 ( contract_history ) ref
contract_contract ( id )
fk_ac5deimunawmqwfb080bopwtu ( meta_file ) ref
meta_file ( id )

Table contract_invoice_period
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
end_date date
Idx full_name varchar(255)
is_last_period bool
Table contract_invoice_period
start_date date
status_select integer
created_by bigint
updated_by bigint
Idx contract bigint
Idx invoice bigint
Indexes
Pk contract_invoice_period_pk id
ey
Unq uk_h1wbqkypw2vlk6knabwg import_id
pr4nj
contract_invoice_period_co contract
ntract_idx
contract_invoice_period_full full_name
_name_idx
contract_invoice_period_inv invoice
oice_idx
Foreign Keys
fk_r2bhwjujg34l4k80m0atwa00e ( invoice ) ref
account_invoice ( id )
fk_g4y9sl6nr08k882pmul9ffvt7 ( updated_by ) ref
auth_user ( id )
fk_ip1f93axjiug06r2e3dcjn2k2 ( created_by ) ref
auth_user ( id )
fk_jplio8616gwdkqke2bo04opbe ( contract ) ref
contract_contract ( id )

Table contract_invoice_period_additional_benefit_list
* contract_invoice_period bigint
* additional_benefit_list bigint
Unq
Indexes
Unq uk_55it1b35sulm3gpah1qsi additional_benefit_list
eyje
Foreign Keys
fk_55it1b35sulm3gpah1qsieyje (
additional_benefit_list ) ref contract_contract_line (
id )
fk_m0xyl7kdd154oib5bgipl4jbv (
contract_invoice_period ) ref
contract_invoice_period ( id )

Table contract_invoice_period_consumption_line_list
* contract_invoice_period bigint
* consumption_line_list bigint
Unq
Indexes
Unq uk_m52l51owvofefq1ekdilqy consumption_line_list
tod
Foreign Keys
fk_m52l51owvofefq1ekdilqytod (
consumption_line_list ) ref
contract_consumption_line ( id )
fk_nn7i0hyrnlat05ciah7onsmpl (
contract_invoice_period ) ref
contract_invoice_period ( id )
Table crm_crm_batch
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* action_select integer
attrs jsonb
Unq code varchar(255)
description text
duration_type_select integer
created_by bigint
updated_by bigint
Idx company bigint
Indexes
Pk crm_crm_batch_pkey id
Unq uk_74x10nqxt077ao9ropq62 code
l9cd
Unq uk_egi8un9to1yvs9tacykwxl import_id
3gu
crm_crm_batch_company_i company
dx
Foreign Keys
fk_duoubv67wiawrp6u7cxqfguj2 ( created_by ) ref
auth_user ( id )
fk_mw9cxeqnauoea60bksjhoaj6u ( updated_by ) ref
auth_user ( id )
fk_ltyuha2n906fq8nsqtwwvhqnu ( company ) ref
base_company ( id )

Table crm_crm_batch_target_configuration_set
* Pk crm_crm_batch bigint
* Pk target_configuration_set bigint
Indexes
Pk crm_crm_batch_target_confi crm_crm_batch,
guration_set_pkey target_configuration_s
et
Foreign Keys
fk_his2eou94g0xl9g1kx9jg6ek7 ( crm_crm_batch )
ref crm_crm_batch ( id )
fk_f41m1yq98c9ig0crlltf9jap (
target_configuration_set ) ref
crm_target_configuration ( id )

Table crm_crm_config
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
created_by bigint
Table crm_crm_config
updated_by bigint
Idx call_template bigint
* company bigint
Unq
Idx event_template bigint
Idx meeting_date_change_temp bigint
late
Idx meeting_guest_added_temp bigint
late
Idx meeting_guest_deleted_tem bigint
plate
Idx meeting_template bigint
Idx task_template bigint
Indexes
Pk crm_crm_config_pkey id
Unq uk_cva3ddvbvnas4r9olhvypt import_id
tum
Unq uk_f82ihgs6cgtn1r0g4eifxeu company
ld
crm_crm_config_call_templ call_template
ate_idx
crm_crm_config_event_tem event_template
plate_idx
crm_crm_config_meeting_d meeting_date_change
ate_change_template_idx _template
crm_crm_config_meeting_g meeting_guest_added
uest_added_template_idx _template
crm_crm_config_meeting_g meeting_guest_delete
uest_deleted_template_idx d_template
crm_crm_config_meeting_te meeting_template
mplate_idx
crm_crm_config_task_templ task_template
ate_idx
Foreign Keys
fk_3cysxhvdg9kdpc2pkwkgwwwoe ( updated_by )
ref auth_user ( id )
fk_k0al86f8nhn97pfhoykoud4j6 ( created_by ) ref
auth_user ( id )
fk_f82ihgs6cgtn1r0g4eifxeuld ( company ) ref
base_company ( id )
fk_2dw35wuh1299m7w1w0bwp5kc5 ( call_template
) ref message_template ( id )
fk_bri0awl7vpa89f72kvp490mb6 (
meeting_template ) ref message_template ( id )
fk_cfpqr7tuiywce7gyoi1dv6kaf (
meeting_guest_added_template ) ref
message_template ( id )
fk_ee0nov2n9ybacsyrqm8655guq ( task_template )
ref message_template ( id )
fk_fxff3uesaoism4wc77htlnb8f (
meeting_guest_deleted_template ) ref
message_template ( id )
fk_msl2t7gcvo0aptagl9ria8f0h (
meeting_date_change_template ) ref
message_template ( id )
fk_nuyb9urvug6mibc817choujn5 ( event_template )
ref message_template ( id )

Table crm_event_attendee
* Pk id bigint
Table crm_event_attendee
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
Idx name varchar(255)
status_select integer
created_by bigint
updated_by bigint
Idx contact_partner bigint
Idx event bigint
Idx lead bigint
Indexes
Pk crm_event_attendee_pkey id
Unq uk_2o3t3elqdh0512a2eockv import_id
ft6m
crm_event_attendee_contac contact_partner
t_partner_idx
crm_event_attendee_event_ event
idx
crm_event_attendee_lead_i lead
dx
crm_event_attendee_name name
_idx
Foreign Keys
fk_611d3ei5wn7do4lcw4epj8nih ( created_by ) ref
auth_user ( id )
fk_8q6hja74fr4t4exdoryw6r3yy ( updated_by ) ref
auth_user ( id )
fk_gxg709hcpt7uw8xdap9papvwh ( contact_partner
) ref base_partner ( id )
fk_hyyx5hifo5p5ba0cahjbns64g ( lead ) ref
crm_lead ( id )
fk_2tmknchj1v445a71k31t1st7j ( event ) ref
ical_event ( id )

Table crm_event_category
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
* Idx name varchar(255)
type_select integer
created_by bigint
updated_by bigint
Indexes
Pk crm_event_category_pkey id
Table crm_event_category
Unq uk_ltwvjjs6cthaanuldnhxml3 import_id
v0
crm_event_category_code_i code
dx
crm_event_category_name_ name
idx
Foreign Keys
fk_1y2lecav7j7jivytjxwjh3pf5 ( created_by ) ref
auth_user ( id )
fk_eioy17qd2wmw3ui8gqmr8gxn3 ( updated_by )
ref auth_user ( id )

Table crm_event_reminder
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
assign_to_select integer
attrs jsonb
duration integer
duration_type_select integer
is_reminded bool
* mode_select integer
sending_datet timestamp
type_select integer
created_by bigint
updated_by bigint
Idx event bigint
* Idx user_id bigint
Indexes
Pk crm_event_reminder_pkey id
Unq uk_1e2hwrso6thr4ecverovt1 import_id
dll
crm_event_reminder_event event
_idx
crm_event_reminder_user_i user_id
d_idx
Foreign Keys
fk_2r2gid4tpnx8ntyw7d2bggopu ( user_id ) ref
auth_user ( id )
fk_i5mnl7moi8riuxowg48ivcals ( updated_by ) ref
auth_user ( id )
fk_ooe2idiyp9otb6kdxho9x173y ( created_by ) ref
auth_user ( id )
fk_gchguwn0c57dfxt4avqxg8w3i ( event ) ref
ical_event ( id )

Table crm_event_reminder_batch_set
* Pk crm_event_reminder bigint
* Pk batch_set bigint
Indexes
Table crm_event_reminder_batch_set
Pk crm_event_reminder_batch crm_event_reminder,
_set_pkey batch_set
Foreign Keys
fk_cnr30w11icl22q3tpb0u6ni36 ( batch_set ) ref
base_batch ( id )
fk_mkrtyob78h6wco9s55gn3hkeh (
crm_event_reminder ) ref crm_event_reminder ( id )

Table crm_lead
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
contact_date date
department varchar(255)
description text
enterprise_name varchar(255)
estimated_budget numeric(19,2)
fax varchar(255)
first_name varchar(255)
fixed_phone varchar(255)
Idx full_name varchar(255)
is_do_not_call bool
is_do_not_send_email bool
is_recycled bool
job_title varchar(255)
lost_reason_str text
mobile_phone varchar(255)
* Idx name varchar(255)
office_name varchar(255)
picture oid(10)
primary_address varchar(255)
primary_city varchar(255)
primary_postal_code varchar(255)
primary_state varchar(255)
referred_by varchar(255)
source_description text
status_description text
* status_select integer
title_select varchar(255)
web_site varchar(255)
created_by bigint
updated_by bigint
Idx email_address bigint
Idx industry_sector bigint
Idx lost_reason bigint
Idx partner bigint
Idx primary_country bigint
Idx source bigint
Table crm_lead
Idx team bigint
Idx user_id bigint
Indexes
Pk crm_lead_pkey id
Unq uk_x66n4gebci1pehyvt7jnfr import_id
q8
crm_lead_email_address_id email_address
x
crm_lead_full_name_idx full_name
crm_lead_industry_sector_i industry_sector
dx
crm_lead_lost_reason_idx lost_reason
crm_lead_name_idx name
crm_lead_partner_idx partner
crm_lead_primary_country_i primary_country
dx
crm_lead_source_idx source
crm_lead_team_idx team
crm_lead_user_id_idx user_id
Foreign Keys
fk_ffo8ree43nehhpa48tq4sb39g ( created_by ) ref
auth_user ( id )
fk_kjb7jthnjh8bp8vi1pc72fygf ( user_id ) ref
auth_user ( id )
fk_r8le0a666nnhaipvymd2um2bn ( updated_by ) ref
auth_user ( id )
fk_df9iww2l42bsfdrbhr3c6bo77 ( primary_country )
ref base_country ( id )
fk_qgp68u0sdoofeue4ah81ftk35 ( industry_sector )
ref base_industry_sector ( id )
fk_fl8s08vhcj4ex0jgufsy5tuxs ( partner ) ref
base_partner ( id )
fk_r2swgm05ctd9xardxm922m7yi ( source ) ref
base_source ( id )
fk_fsl74a8kh1351qbylw4tssm9 ( lost_reason ) ref
crm_lost_reason ( id )
fk_j24em9s57etnqmcryagx9m21s ( email_address )
ref message_email_address ( id )
fk_kgvmyxrfwg89p7hyo7j2xh1jd ( team ) ref
team_team ( id )

Table crm_lost_reason
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
free_text bool
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk crm_lost_reason_pkey id
Table crm_lost_reason
Unq uk_bvgoxj59od16g64a30k2 import_id
yfvx5
crm_lost_reason_name_idx name
Foreign Keys
fk_10llx902p7igr1m0d5vdbs600 ( created_by ) ref
auth_user ( id )
fk_ops3rqqytxh2qbobdvuddjulm ( updated_by ) ref
auth_user ( id )

Table crm_opportunity
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount numeric(19,2)
attrs jsonb
best_case varchar(255)
customer_description text
description text
expected_close_date date
lost_reason_str text
memo text
* Idx name varchar(255)
next_step varchar(255)
order_by_state integer
probability numeric(19,2)
sales_stage_select integer
worst_case varchar(255)
created_by bigint
updated_by bigint
Idx bank_details bigint
Idx company bigint
Idx currency bigint
Idx lead bigint
Idx lost_reason bigint
Idx opportunity_type bigint
Idx partner bigint
Idx source bigint
Idx team bigint
Idx trading_name bigint
Idx user_id bigint
Indexes
Pk crm_opportunity_pkey id
Unq uk_khhw55e9k47rv70ymr32 import_id
y3te9
crm_opportunity_bank_detai bank_details
ls_idx
crm_opportunity_company_i company
dx
crm_opportunity_currency_i currency
dx
Table crm_opportunity
crm_opportunity_lead_idx lead
crm_opportunity_lost_reaso lost_reason
n_idx
crm_opportunity_name_idx name
crm_opportunity_opportunity opportunity_type
_type_idx
crm_opportunity_partner_id partner
x
crm_opportunity_source_idx source
crm_opportunity_team_idx team
crm_opportunity_trading_na trading_name
me_idx
crm_opportunity_user_id_id user_id
x
Foreign Keys
fk_2lcl19mcbrdworyxw7piwsc7l ( created_by ) ref
auth_user ( id )
fk_4rcdk32rtf46qccqe1ftv9501 ( user_id ) ref
auth_user ( id )
fk_flioyuys7frdur9v4ol49cll0 ( updated_by ) ref
auth_user ( id )
fk_hsxhci7gtq4a6w77ffi6kf20k ( bank_details ) ref
base_bank_details ( id )
fk_n2k2h2s9yu0lvm5jofav35g4h ( company ) ref
base_company ( id )
fk_km7lcsrjmk1uqqyca08vcibvd ( currency ) ref
base_currency ( id )
fk_pn20s2pqf8kj8e773uhwmsiti ( partner ) ref
base_partner ( id )
fk_4trfuh16kjf962smqkvgi7njd ( source ) ref
base_source ( id )
fk_tf4fy82b5kpj6aqm71iq5gjdq ( trading_name ) ref
base_trading_name ( id )
fk_lbh5c82i6gop3ls12ojcq2cfp ( lead ) ref crm_lead
( id )
fk_6q148crglya7ngdb66jabr3bs ( lost_reason ) ref
crm_lost_reason ( id )
fk_oy4u2g79ai3s7l7nb8btpjix9 ( opportunity_type )
ref crm_opportunity_type ( id )
fk_cprftq64gak2gs6bsp1gbeyvg ( team ) ref
team_team ( id )

Table crm_opportunity_type
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx code varchar(255)
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk crm_opportunity_type_pkey id
Table crm_opportunity_type
Unq uk_q5ivjm6ds7fybep8ve0e9 import_id
3c77
crm_opportunity_type_code code
_idx
crm_opportunity_type_name name
_idx
Foreign Keys
fk_5ow4r3wwj2j9qrwftfwd79v5o ( updated_by ) ref
auth_user ( id )
fk_i6wyhklnbcqyfkmf7bxu39il5 ( created_by ) ref
auth_user ( id )

Table crm_participant
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
is_coming bool
created_by bigint
updated_by bigint
Idx partner bigint
Indexes
Pk crm_participant_pkey id
Unq uk_qx4f7he6wfusfdqjsu3c82 import_id
w8b
crm_participant_partner_idx partner
Foreign Keys
fk_7jbe7wpi4dyfk6cmynqkjir27 ( updated_by ) ref
auth_user ( id )
fk_daoamav0bec8mvaamytjjrae0 ( created_by ) ref
auth_user ( id )
fk_f8u5qwjl9b4he46x5amtpj8f9 ( partner ) ref
base_partner ( id )

Table crm_recurrence_configuration
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
end_date date
end_type integer
friday bool
monday bool
month_repeat_type integer
periodicity integer
Idx recurrence_name varchar(255)
Table crm_recurrence_configuration
recurrence_type integer
repetitions_number integer
saturday bool
start_date date
sunday bool
thursday bool
tuesday bool
wednesday bool
created_by bigint
updated_by bigint
Indexes
Pk crm_recurrence_configurati id
on_pkey
Unq uk_oo97mio1rwv26r75p92t import_id
mv0la
crm_recurrence_configurati recurrence_name
on_recurrence_name_idx
Foreign Keys
fk_4n0vbbb5r6d26u1gwcu2xakag ( created_by ) ref
auth_user ( id )
fk_g9f9u66g7kkdeinf3q3c36c6n ( updated_by ) ref
auth_user ( id )

Table crm_target
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
call_emitted_number integer
call_emitted_number_target integer
Idx code varchar(255)
from_date date
meeting_number integer
meeting_number_target integer
Idx name varchar(255)
opportunity_amount_won numeric(19,2)
opportunity_amount_won_ta numeric(19,2)
rget
opportunity_created_numbe integer
r
opportunity_created_numbe integer
r_target
opportunity_created_won integer
opportunity_created_won_ta integer
rget
period_type_select integer
to_date date
created_by bigint
updated_by bigint
Idx team bigint
Idx user_id bigint
Table crm_target
Indexes
Pk crm_target_pkey id
Unq uk_4bcm4ro5ne1txjiwjv975b import_id
bvo
crm_target_code_idx code
crm_target_name_idx name
crm_target_team_idx team
crm_target_user_id_idx user_id
Foreign Keys
fk_3j7le1df3uncf10wsku7f77p1 ( updated_by ) ref
auth_user ( id )
fk_9xehnumsw7399y3io6bcbelvj ( created_by ) ref
auth_user ( id )
fk_tf45nqo26hj8ayilpmst2bhgr ( user_id ) ref
auth_user ( id )
fk_t1qnddasev92x4w1isrvudb1n ( team ) ref
team_team ( id )

Table crm_target_configuration
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
call_emitted_number integer
Idx code varchar(255)
* from_date date
meeting_number integer
Idx name varchar(255)
opportunity_amount_won numeric(19,2)
opportunity_created_numbe integer
r
opportunity_created_won integer
period_type_select integer
* to_date date
created_by bigint
updated_by bigint
Idx team bigint
Idx user_id bigint
Indexes
Pk crm_target_configuration_pk id
ey
Unq uk_s3fufhycfkp3i3ps0b2v60 import_id
dyv
crm_target_configuration_co code
de_idx
crm_target_configuration_n name
ame_idx
crm_target_configuration_te team
am_idx
crm_target_configuration_us user_id
er_id_idx
Foreign Keys
Table crm_target_configuration
fk_2jf556orm9pd4m1mo82xk8xst ( user_id ) ref
auth_user ( id )
fk_bserevajnoc20lowexmgwner0 ( updated_by ) ref
auth_user ( id )
fk_s622i3q94u0x16ijslywmun0o ( created_by ) ref
auth_user ( id )
fk_3e3x7u4f1t1ryojb97oywcuwn ( team ) ref
team_team ( id )

Table crm_target_configuration_batch_set
* Pk crm_target_configuration bigint
* Pk batch_set bigint
Indexes
Pk crm_target_configuration_b crm_target_configurati
atch_set_pkey on, batch_set
Foreign Keys
fk_7koxsiapo3j7d7t4oqeh95oy2 ( batch_set ) ref
base_batch ( id )
fk_i37fahdqo6oycdsp427ppyq4f (
crm_target_configuration ) ref
crm_target_configuration ( id )

Table dms_file
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
content text
content_type varchar(255)
* Idx file_name varchar(255)
is_directory bool
related_id bigint
related_model varchar(255)
created_by bigint
updated_by bigint
Idx meta_file bigint
Idx parent bigint
Indexes
Pk dms_file_pkey id
Unq uk_1ayaev9cc4t3tmeh6knf0 import_id
cx88
dms_file_file_name_idx file_name
dms_file_meta_file_idx meta_file
dms_file_parent_idx parent
Foreign Keys
fk_163vpdfuqhyu55si7jv5ahw7t ( updated_by ) ref
auth_user ( id )
fk_isqqivc6brgle70ejev0ouxyp ( created_by ) ref
auth_user ( id )
fk_miang00shyvt5u1km5fc87xs8 ( parent ) ref
dms_file ( id )
Table dms_file
fk_ry2ht626gg2ehqu1n7vxm5ng4 ( meta_file ) ref
meta_file ( id )

Table dms_file_tag
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* code varchar(255)
Unq
* name varchar(255)
Unq
style varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk dms_file_tag_pkey id
Unq uk_2dch28akv7e6e9nonm5 name
m6d8ss
Unq uk_5x4hj6fp0fwlpo9hot76ov import_id
1kf
Unq uk_g8tnukmkpwov6qmouuf code
n65rvq
Foreign Keys
fk_ae54tdh2ib2lpfn2jdinaepe1 ( created_by ) ref
auth_user ( id )
fk_te0bf1qi155u4xqe897mqqddi ( updated_by ) ref
auth_user ( id )

Table dms_file_tags
* Pk dms_file bigint
* Pk tags bigint
Indexes
Pk dms_file_tags_pkey dms_file, tags
Foreign Keys
fk_5yyb3urpdasgs2flwi95y71u7 ( dms_file ) ref
dms_file ( id )
fk_cnr9juvqj0a6cavwjiwuhjggl ( tags ) ref
dms_file_tag ( id )

Table dms_permission
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
* value varchar(255)
created_by bigint
Table dms_permission
updated_by bigint
Idx file_id bigint
Idx group_id bigint
Idx permission_id bigint
Idx user_id bigint
Indexes
Pk dms_permission_pkey id
Unq uk_4wifv7lo4bsivevinlt5p3ob import_id
a
dms_permission_file_id_idx file_id
dms_permission_group_id_i group_id
dx
dms_permission_permission permission_id
_id_idx
dms_permission_user_id_id user_id
x
Foreign Keys
fk_sxu4qhl4br0pld7lgtrq0bfbl ( group_id ) ref
auth_group ( id )
fk_mw9fg3h347sq8d3sgt6gn35ud ( permission_id )
ref auth_permission ( id )
fk_127pwlmjs9cvtagrav5imuiwg ( user_id ) ref
auth_user ( id )
fk_942gipav0xvlbod1xtqn0ig63 ( created_by ) ref
auth_user ( id )
fk_qcbrnbww79pq81n5hejaw6i7x ( updated_by ) ref
auth_user ( id )
fk_a5kcaiqiqlkqkbnphm5soyq9w ( file_id ) ref
dms_file ( id )

Table exception_trace_back
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
batch_id bigint
category_select integer
cause text
* date_val timestamp
error text
* exception text
message text
Idx name varchar(255)
origin varchar(255)
ref varchar(255)
ref_id bigint
trace text
type_select integer
created_by bigint
updated_by bigint
Idx internal_user bigint
Table exception_trace_back
Indexes
Pk exception_trace_back_pkey id
Unq uk_jjaqq8qx84jool8ya2k29br import_id
d0
exception_trace_back_inter internal_user
nal_user_idx
exception_trace_back_nam name
e_idx
Foreign Keys
fk_6v7ffcoma67ork7bs3gqwugpj ( created_by ) ref
auth_user ( id )
fk_pd0x2xhg3ku7omarva376foww ( internal_user )
ref auth_user ( id )
fk_r3b5xeupxo2tu629w60qx6ajy ( updated_by ) ref
auth_user ( id )

Table fleet_booking
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
booking_date date
is_confirmed bool
Idx name varchar(255)
created_by bigint
updated_by bigint
Idx partner_category bigint
Indexes
Pk fleet_booking_pkey id
Unq uk_qllwmje1wxgoptbovrc8k import_id
aulr
fleet_booking_name_idx name
fleet_booking_partner_categ partner_category
ory_idx
Foreign Keys
fk_h010kk5w8p43wr3qvkuf1qxfx ( created_by ) ref
auth_user ( id )
fk_o0iqje2qqrix1s3nffdue3tgw ( updated_by ) ref
auth_user ( id )
fk_cdxf8krfvauthipx8sxsdxg82 ( partner_category )
ref base_partner_category ( id )

Table fleet_booking_contact_set
* Pk fleet_booking bigint
* Pk contact_set bigint
Indexes
Pk fleet_booking_contact_set_ fleet_booking,
pkey contact_set
Foreign Keys
fk_4h3au0l3whebs2uv1hrd1ywy6 ( contact_set ) ref
base_partner ( id )
Table fleet_booking_contact_set
fk_13rlwx28m6dry2tkvr2m9rpv ( fleet_booking ) ref
fleet_booking ( id )

Table fleet_booking_partner_set
* Pk fleet_booking bigint
* Pk partner_set bigint
Indexes
Pk fleet_booking_partner_set_p fleet_booking,
key partner_set
Foreign Keys
fk_2ob5eb77pfup16n0s83u5hwkc ( partner_set ) ref
base_partner ( id )
fk_4t03iiqti380wpr8pu63qukf5 ( fleet_booking ) ref
fleet_booking ( id )

Table fleet_recurring_cost
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
amount numeric(19,2)
attrs jsonb
date_rec_cost date
created_by bigint
updated_by bigint
Indexes
Pk fleet_recurring_cost_pkey id
Unq uk_ipmrgguysf33x9lge63ids import_id
wgc
Foreign Keys
fk_gddny4mwuv2apmmtoodv5ym3h ( created_by )
ref auth_user ( id )
fk_r06rlgx9gj3ux9vye7w7smtjs ( updated_by ) ref
auth_user ( id )

Table fleet_vehicle
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
acquisition_date date
attrs jsonb
car_value numeric(19,2)
chasis_no varchar(255)
co2emission numeric(19,2)
color varchar(255)
doors integer
Table fleet_vehicle
fuel_type_select integer
horse_power integer
horse_power_tax numeric(19,2)
is_archived bool
location varchar(255)
Idx name varchar(255)
plate_no varchar(255)
power_kw integer
seats integer
transmission_select integer
vehicle_odometer numeric(19,2)
vehicle_state text
created_by bigint
updated_by bigint
Idx company bigint
Idx driver_partner bigint
Idx image bigint
Idx vehicle_model bigint
Indexes
Pk fleet_vehicle_pkey id
Unq uk_3j2fjw802n3b5u5ucqacm import_id
juqu
fleet_vehicle_company_idx company
fleet_vehicle_driver_partner driver_partner
_idx
fleet_vehicle_image_idx image
fleet_vehicle_name_idx name
fleet_vehicle_vehicle_model vehicle_model
_idx
Foreign Keys
fk_2rqxjf2b2aho3bk4hwje8dlwb ( updated_by ) ref
auth_user ( id )
fk_gv291wtkr7atywxaws5f4b4w8 ( created_by ) ref
auth_user ( id )
fk_dhi4wgsjqf7qc4k9rse2lfbmy ( company ) ref
base_company ( id )
fk_s1qw7uvh4hhs3arbhc6bdjcqd ( driver_partner )
ref base_partner ( id )
fk_hn9cyxnv99hg362alcv6f52ux ( vehicle_model )
ref fleet_vehicle_model ( id )
fk_j16udcvgjk9ky1hq0ncff5v2j ( image ) ref
meta_file ( id )

Table fleet_vehicle_contract
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
activation_cost numeric(19,2)
active bool
attrs jsonb
cost_frequency_select integer
Table fleet_vehicle_contract
days_left integer
expiry_date date
invoice_date date
Idx name varchar(255)
notes text
recurring_cost numeric(19,2)
reference varchar(255)
start_date date
status_select integer
total_cost numeric(19,2)
type_select integer
created_by bigint
updated_by bigint
Idx insurer_partner bigint
Idx purchaser_partner bigint
Idx vehicle bigint
Indexes
Pk fleet_vehicle_contract_pkey id
Unq uk_jplhmjdmx1eb2x3uvfnhm import_id
plv5
fleet_vehicle_contract_insur insurer_partner
er_partner_idx
fleet_vehicle_contract_nam name
e_idx
fleet_vehicle_contract_purc purchaser_partner
haser_partner_idx
fleet_vehicle_contract_vehic vehicle
le_idx
Foreign Keys
fk_1m7g6t949avga5y0crh2bs51c ( updated_by ) ref
auth_user ( id )
fk_39dltx7ww7m14l5gt06bj7980 ( created_by ) ref
auth_user ( id )
fk_dfnjxfvtqtno93jjajcx3bvno ( insurer_partner ) ref
base_partner ( id )
fk_h04bvfqq4x3j4eh14o35kvp9 ( purchaser_partner
) ref base_partner ( id )
fk_ojpt51fwdi8evm3cscdlwfryq ( vehicle ) ref
fleet_vehicle ( id )

Table fleet_vehicle_contract_vehicle_service_list
* fleet_vehicle_contract bigint
* vehicle_service_list bigint
Unq
Indexes
Unq uk_lp7e24jd2x6xu1gjby99yk vehicle_service_list
443
Foreign Keys
fk_4dxyrrhb2f0pthldeybb1qvcx (
fleet_vehicle_contract ) ref fleet_vehicle_contract (
id )
fk_lp7e24jd2x6xu1gjby99yk443 (
vehicle_service_list ) ref fleet_vehicle_service ( id )

Table fleet_vehicle_cost
* Pk id bigint
Table fleet_vehicle_cost
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
date_val date
total_price numeric(19,2)
created_by bigint
updated_by bigint
Idx service_type bigint
Idx vehicle bigint
Indexes
Pk fleet_vehicle_cost_pkey id
Unq uk_4pon6micck4d1bbuqvn2 import_id
0r7ua
fleet_vehicle_cost_service_t service_type
ype_idx
fleet_vehicle_cost_vehicle_i vehicle
dx
Foreign Keys
fk_8lxb3wjufgb8yp6hvwbeelhrk ( updated_by ) ref
auth_user ( id )
fk_k68wadosdnmryjf5x1dr7p8rt ( created_by ) ref
auth_user ( id )
fk_ypqac2fw99pdetcfqvriq80d ( vehicle ) ref
fleet_vehicle ( id )
fk_9xfvglnt9vagixpk9dgoip61p ( service_type ) ref
fleet_vehicle_service_type ( id )

Table fleet_vehicle_fuel_log
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
date_val date
invoice_ref varchar(255)
liter numeric(19,2)
notes text
perice_per_liter numeric(19,2)
total_price numeric(19,2)
created_by bigint
updated_by bigint
Idx purchase_partner bigint
Idx vehicle bigint
Idx vendor_partner bigint
Indexes
Pk fleet_vehicle_fuel_log_pkey id
Unq uk_cnvgi2v33yv4jbm1lfygns import_id
2j2
Table fleet_vehicle_fuel_log
fleet_vehicle_fuel_log_purch purchase_partner
ase_partner_idx
fleet_vehicle_fuel_log_vehic vehicle
le_idx
fleet_vehicle_fuel_log_vend vendor_partner
or_partner_idx
Foreign Keys
fk_b1o2q6s3ne8aw1rmfnat2071m ( created_by ) ref
auth_user ( id )
fk_oe2sp0wligecp98r5wi0fepkm ( updated_by ) ref
auth_user ( id )
fk_ej0uc11ph51b6dc9f4q6n1me ( purchase_partner
) ref base_partner ( id )
fk_v73bt1yppu1pxpwaw7nw0uco ( vendor_partner )
ref base_partner ( id )
fk_ro15pvobwym7tlf5vh3r8vtao ( vehicle ) ref
fleet_vehicle ( id )

Table fleet_vehicle_make
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx image bigint
Indexes
Pk fleet_vehicle_make_pkey id
Unq uk_s6boiloakmch7n6dnyqud import_id
1hvi
fleet_vehicle_make_image_i image
dx
fleet_vehicle_make_name_i name
dx
Foreign Keys
fk_91npmyyvy4sn2xj2x8pu6iw15 ( updated_by ) ref
auth_user ( id )
fk_bmetlfocc8hmk0tr9n80lbo01 ( created_by ) ref
auth_user ( id )
fk_1p2548g9yc6mseffxi7c36lui ( image ) ref
meta_file ( id )

Table fleet_vehicle_model
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
Table fleet_vehicle_model
attrs jsonb
* model varchar(255)
* Idx name varchar(255)
created_by bigint
updated_by bigint
Idx vehicle_make bigint
Indexes
Pk fleet_vehicle_model_pkey id
Unq uk_6vqawd01600690ho8y1 import_id
19a1bg
fleet_vehicle_model_name_i name
dx
fleet_vehicle_model_vehicle vehicle_make
_make_idx
Foreign Keys
fk_ewohsg4qya818hbqk3x57kl8c ( created_by ) ref
auth_user ( id )
fk_qhksq5020bkrkd393h0gdm7d9 ( updated_by )
ref auth_user ( id )
fk_9kmyk7d57o16d982jeuwnplx8 ( vehicle_make )
ref fleet_vehicle_make ( id )

Table fleet_vehicle_model_vehicle_vendors_set
* Pk fleet_vehicle_model bigint
* Pk vehicle_vendors_set bigint
Indexes
Pk fleet_vehicle_model_vehicle fleet_vehicle_model,
_vendors_set_pkey vehicle_vendors_set
Foreign Keys
fk_aflwge87h2jlmrhf0e5ljsqph (
vehicle_vendors_set ) ref base_partner ( id )
fk_ka1k8v47jdnj6l0o28w2tkv2v (
fleet_vehicle_model ) ref fleet_vehicle_model ( id )

Table fleet_vehicle_odometer
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
date_val date
Idx name varchar(255)
value numeric(19,2)
created_by bigint
updated_by bigint
Idx unit bigint
Idx vehicle bigint
Indexes
Pk fleet_vehicle_odometer_pke id
y
Unq uk_cn0me24owsl9nlatqkbc0 import_id
9fm9
Table fleet_vehicle_odometer
fleet_vehicle_odometer_na name
me_idx
fleet_vehicle_odometer_unit unit
_idx
fleet_vehicle_odometer_veh vehicle
icle_idx
Foreign Keys
fk_ir8wl5wt87j6gfq3ux40ct8ts ( created_by ) ref
auth_user ( id )
fk_s2434elyvu1urax4oqy1462e7 ( updated_by ) ref
auth_user ( id )
fk_8dxxjeb9kqspn7n3lbmv6c3vs ( unit ) ref
base_unit ( id )
fk_rtpln0oo5m9485kxdkatyh1iw ( vehicle ) ref
fleet_vehicle ( id )

Table fleet_vehicle_service
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
cost numeric(19,2)
created_by bigint
updated_by bigint
Idx service_type bigint
Indexes
Pk fleet_vehicle_service_pkey id
Unq uk_gvsgu3gk55uhclxthg16c import_id
uafu
fleet_vehicle_service_servic service_type
e_type_idx
Foreign Keys
fk_22g1cb5ff0ktcwnd08q8whj8x ( created_by ) ref
auth_user ( id )
fk_ad2wx291y4y05b71t85l4iag0 ( updated_by ) ref
auth_user ( id )
fk_gu4yg05eg03k74evy0nn2dqp4 ( service_type )
ref fleet_vehicle_service_type ( id )

Table fleet_vehicle_service_log
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
date_val date
invoice_ref varchar(255)
notes text
Table fleet_vehicle_service_log
created_by bigint
updated_by bigint
Idx purchase_partner bigint
Idx vehicle bigint
Idx vendor_partner bigint
Indexes
Pk fleet_vehicle_service_log_p id
key
Unq uk_7x230085qeafu1ap56hp import_id
r2fp7
fleet_vehicle_service_log_p purchase_partner
urchase_partner_idx
fleet_vehicle_service_log_v vehicle
ehicle_idx
fleet_vehicle_service_log_v vendor_partner
endor_partner_idx
Foreign Keys
fk_5ibkcyviuu6tf6oopwhc5c1w3 ( created_by ) ref
auth_user ( id )
fk_8929amdlw40ftwyfjjt1m06x6 ( updated_by ) ref
auth_user ( id )
fk_ft3gay80yuma058qfqh3r1em8 (
purchase_partner ) ref base_partner ( id )
fk_tallvdsl6gxuu8fkftwkbgc4f ( vendor_partner ) ref
base_partner ( id )
fk_gmuvhgh4q40ikxn928dfv08fy ( vehicle ) ref
fleet_vehicle ( id )

Table fleet_vehicle_service_log_vehicle_service_list
* fleet_vehicle_service_log bigint
* vehicle_service_list bigint
Unq
Indexes
Unq uk_km7xvll6m1u7lvebbl65s vehicle_service_list
y7if
Foreign Keys
fk_km7xvll6m1u7lvebbl65sy7if ( vehicle_service_list
) ref fleet_vehicle_service ( id )
fk_iix4f4d318buhtx7yhmcq7kog (
fleet_vehicle_service_log ) ref
fleet_vehicle_service_log ( id )

Table fleet_vehicle_service_type
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Table fleet_vehicle_service_type
Pk fleet_vehicle_service_type_ id
pkey
Unq uk_btaqg2hlt5ib2ssu9fki7v6 import_id
nn
fleet_vehicle_service_type_ name
name_idx
Foreign Keys
fk_9s51yvgsnwqbt322ybtygsqes ( updated_by ) ref
auth_user ( id )
fk_suuo7q8mcyo3s5fue5nh3kd3f ( created_by ) ref
auth_user ( id )

Table fleet_vehicle_tag
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
* Idx name varchar(255)
created_by bigint
updated_by bigint
Indexes
Pk fleet_vehicle_tag_pkey id
Unq uk_i1pn67nrbm7v0gfqxfwdp import_id
ytel
fleet_vehicle_tag_name_idx name
Foreign Keys
fk_lw2q8crb1n4f0t956q0hy23eg ( updated_by ) ref
auth_user ( id )
fk_r58j9bvqu1fq0pvir6pyxd41h ( created_by ) ref
auth_user ( id )

Table fleet_vehicle_vehicle_tag_set
* Pk fleet_vehicle bigint
* Pk vehicle_tag_set bigint
Indexes
Pk fleet_vehicle_vehicle_tag_s fleet_vehicle,
et_pkey vehicle_tag_set
Foreign Keys
fk_bn3v4gk34w2n7a7k0kae07au4 ( fleet_vehicle )
ref fleet_vehicle ( id )
fk_75c5q6e2jughjl9xwbw5pnc97 ( vehicle_tag_set )
ref fleet_vehicle_tag ( id )

Table helpdesk_sla
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
Table helpdesk_sla
updated_on timestamp
attrs jsonb
days integer
description text
hours integer
is_working_days bool
* Idx name varchar(255)
priority_select integer
reach_stage_select integer
created_by bigint
updated_by bigint
Idx team bigint
Idx ticket_type bigint
Indexes
Pk helpdesk_sla_pkey id
Unq uk_9ga4joqmy4ll0qd2nifiqx6 import_id
yo
helpdesk_sla_name_idx name
helpdesk_sla_team_idx team
helpdesk_sla_ticket_type_id ticket_type
x
Foreign Keys
fk_gvahby05pvx287icli961dsy1 ( updated_by ) ref
auth_user ( id )
fk_ilf7djnhyyo22ko69lp01f79m ( created_by ) ref
auth_user ( id )
fk_kakymctf1jxucs7y45boauwmm ( ticket_type ) ref
helpdesk_ticket_type ( id )
fk_1k36gjbylifnlwjkif9ci1usn ( team ) ref team_team
( id )
Constraints
helpdesk_sla_days_check days >= 0
helpdesk_sla_hours_check hours >= 0

Table helpdesk_ticket
* Pk id bigint
archived bool
Unq import_id varchar(255)
import_origin varchar(255)
version integer
created_on timestamp
updated_on timestamp
attrs jsonb
deadline_datet timestamp
description text
duration bigint
end_datet timestamp
is_sla_completed bool
mail_subject varchar(255)
priority_select integer
progress_select integer
real_total_duration numeric(19,2)
start_datet timestamp
status_select integer
Table helpdesk_ticket
* subject varchar(255)
ticket_seq varchar(255)
timer_state bool
created_by bigint
updated_by bigint
Idx assigned_to_user bigint
Idx contact_partner bigint
Idx customer bigint
Idx lead bigint
Idx project bigint
Idx responsible_user bigint
Idx sla_policy bigint
Idx ticket_type bigint
Indexes
Pk helpdesk_ticket_pkey id
Unq uk_bx9h7d91fueoamo16sg7 import_id
alm6f
helpdesk_ticket_assigned_t assigned_to_user
o_user_idx
helpdesk_ticket_contact_par contact_partner
tner_idx
helpdesk_ticket_customer_i customer
dx
helpdesk_ticket_lead_idx lead
helpdesk_ticket_project_idx project
helpdesk_ticket_responsible responsible_user
_user_idx
helpdesk_ticket_sla_policy_i sla_policy
dx
helpdesk_ticket_ticket_type ticket_type
_idx
Foreign Keys
fk_3agq4rhwlp8j91jyhwvavan5 ( updated_by ) ref
auth_user ( id )
fk_5ppkkas82rq9sb5cendqyoka4 ( created_by ) ref
auth_user ( id )
fk_qlsj92o8tfsol3obitsuixed9 ( responsible_user ) ref
auth_user ( id )
fk_qm0pp28bba9h0x3dmkyx9askk (
assigned_to_user ) ref auth_user ( id )
fk_ay85vou5b6lfkafjx35gawfn2 ( customer ) ref
base_partner ( id )
fk_r0uxro15lyf1vxvi0ibfhtp66 ( contact_partner ) ref
base_partner ( id )
fk_r4ipykt7jtkvr5jtcsbk93g4e ( lead ) ref crm_lead (
id )
fk_1ff3v2cvv0iogfty438jf5pb4 ( sla_policy ) ref
helpdesk_sla ( id )
fk_5qt659hi43lup4bx27khux675 ( ticket_type ) ref
helpdesk_ticket_type ( id )
fk_ggl2066rs8d9cr78qjviosa2l ( project ) ref
project_project ( id )

Table helpdesk_ticket_timer_list
* helpdesk_ticket bigint
* timer_list bigint
Unq
Table helpdesk_ticket_timer_list
Indexes
Unq uk_6xv29sdnfina2ae0edl36 timer_list
8i1h
Foreign Keys
fk_6xv29sdnfina2ae0edl368i1h ( timer_list ) ref
base_timer ( id )
fk_mdrbffhkvaphu3rudvpdecsj9 ( helpdesk_ticket )
ref helpdesk_ticket ( id )

You might also like