-- Name: COLUMN stock_move_line.result_package_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.result_package_id IS 'Destination Package';


--
-- Name: COLUMN stock_move_line.owner_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.owner_id IS 'From Owner';


--
-- Name: COLUMN stock_move_line.location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.location_id IS 'From';


--
-- Name: COLUMN stock_move_line.location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.location_dest_id IS 'To';


--
-- Name: COLUMN stock_move_line.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.create_uid IS 'Created by';


--
-- Name: COLUMN stock_move_line.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_move_line.lot_name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.lot_name IS 'Lot/Serial Number Name';


--
-- Name: COLUMN stock_move_line.state; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.state IS 'Status';


--
-- Name: COLUMN stock_move_line.reference; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.reference IS 'Reference';


--
-- Name: COLUMN stock_move_line.description_picking; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.description_picking IS 'Description picking';


--
-- Name: COLUMN stock_move_line.quantity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.quantity IS 'Quantity';


--
-- Name: COLUMN stock_move_line.quantity_product_uom; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.quantity_product_uom IS 'Quantity in Product UoM';


--
-- Name: COLUMN stock_move_line.picked; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.picked IS 'Picked';


--
-- Name: COLUMN stock_move_line.date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.date IS 'Date';


--
-- Name: COLUMN stock_move_line.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.create_date IS 'Created on';


--
-- Name: COLUMN stock_move_line.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_move_line.workorder_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.workorder_id IS 'Work Order';


--
-- Name: COLUMN stock_move_line.production_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_move_line.production_id IS 'Production Order';


--
-- Name: stock_move_line_consume_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_move_line_consume_rel (
    consume_line_id integer NOT NULL,
    produce_line_id integer NOT NULL
);


ALTER TABLE public.stock_move_line_consume_rel OWNER TO odoo;

--
-- Name: TABLE stock_move_line_consume_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_move_line_consume_rel IS 'RELATION BETWEEN stock_move_line AND stock_move_line';


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

CREATE SEQUENCE public.stock_move_line_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_move_line_id_seq OWNER TO odoo;

--
-- Name: stock_move_line_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_move_line_id_seq OWNED BY public.stock_move_line.id;


--
-- Name: stock_move_move_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_move_move_rel (
    move_orig_id integer NOT NULL,
    move_dest_id integer NOT NULL
);


ALTER TABLE public.stock_move_move_rel OWNER TO odoo;

--
-- Name: TABLE stock_move_move_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_move_move_rel IS 'RELATION BETWEEN stock_move AND stock_move';


--
-- Name: stock_orderpoint_snooze; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_orderpoint_snooze (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    predefined_date character varying,
    snoozed_until date,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_orderpoint_snooze OWNER TO odoo;

--
-- Name: TABLE stock_orderpoint_snooze; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_orderpoint_snooze IS 'Snooze Orderpoint';


--
-- Name: COLUMN stock_orderpoint_snooze.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_orderpoint_snooze.create_uid IS 'Created by';


--
-- Name: COLUMN stock_orderpoint_snooze.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_orderpoint_snooze.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_orderpoint_snooze.predefined_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_orderpoint_snooze.predefined_date IS 'Snooze for';


--
-- Name: COLUMN stock_orderpoint_snooze.snoozed_until; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_orderpoint_snooze.snoozed_until IS 'Snooze Date';


--
-- Name: COLUMN stock_orderpoint_snooze.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_orderpoint_snooze.create_date IS 'Created on';


--
-- Name: COLUMN stock_orderpoint_snooze.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_orderpoint_snooze.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_orderpoint_snooze_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_orderpoint_snooze_id_seq OWNER TO odoo;

--
-- Name: stock_orderpoint_snooze_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_orderpoint_snooze_id_seq OWNED BY public.stock_orderpoint_snooze.id;


--
-- Name: stock_orderpoint_snooze_stock_warehouse_orderpoint_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_orderpoint_snooze_stock_warehouse_orderpoint_rel (
    stock_orderpoint_snooze_id integer NOT NULL,
    stock_warehouse_orderpoint_id integer NOT NULL
);


ALTER TABLE public.stock_orderpoint_snooze_stock_warehouse_orderpoint_rel OWNER TO odoo;

--
-- Name: TABLE stock_orderpoint_snooze_stock_warehouse_orderpoint_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_orderpoint_snooze_stock_warehouse_orderpoint_rel IS 'RELATION BETWEEN stock_orderpoint_snooze AND stock_warehouse_orderpoint';


--
-- Name: stock_package_destination; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_package_destination (
    id integer NOT NULL,
    picking_id integer NOT NULL,
    location_dest_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_package_destination OWNER TO odoo;

--
-- Name: TABLE stock_package_destination; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_package_destination IS 'Stock Package Destination';


--
-- Name: COLUMN stock_package_destination.picking_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_destination.picking_id IS 'Picking';


--
-- Name: COLUMN stock_package_destination.location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_destination.location_dest_id IS 'Destination location';


--
-- Name: COLUMN stock_package_destination.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_destination.create_uid IS 'Created by';


--
-- Name: COLUMN stock_package_destination.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_destination.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_package_destination.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_destination.create_date IS 'Created on';


--
-- Name: COLUMN stock_package_destination.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_destination.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_package_destination_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_package_destination_id_seq OWNER TO odoo;

--
-- Name: stock_package_destination_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_package_destination_id_seq OWNED BY public.stock_package_destination.id;


--
-- Name: stock_package_level; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_package_level (
    id integer NOT NULL,
    package_id integer NOT NULL,
    picking_id integer,
    location_dest_id integer,
    company_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_package_level OWNER TO odoo;

--
-- Name: TABLE stock_package_level; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_package_level IS 'Stock Package Level';


--
-- Name: COLUMN stock_package_level.package_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_level.package_id IS 'Package';


--
-- Name: COLUMN stock_package_level.picking_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_level.picking_id IS 'Picking';


--
-- Name: COLUMN stock_package_level.location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_level.location_dest_id IS 'To';


--
-- Name: COLUMN stock_package_level.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_level.company_id IS 'Company';


--
-- Name: COLUMN stock_package_level.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_level.create_uid IS 'Created by';


--
-- Name: COLUMN stock_package_level.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_level.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_package_level.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_level.create_date IS 'Created on';


--
-- Name: COLUMN stock_package_level.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_level.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_package_level_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_package_level_id_seq OWNER TO odoo;

--
-- Name: stock_package_level_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_package_level_id_seq OWNED BY public.stock_package_level.id;


--
-- Name: stock_package_type; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_package_type (
    id integer NOT NULL,
    sequence integer,
    company_id integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    barcode character varying,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    height double precision,
    width double precision,
    packaging_length double precision,
    base_weight double precision,
    max_weight double precision,
    CONSTRAINT stock_package_type_positive_height CHECK ((height >= (0.0)::double precision)),
    CONSTRAINT stock_package_type_positive_length CHECK ((packaging_length >= (0.0)::double precision)),
    CONSTRAINT stock_package_type_positive_max_weight CHECK ((max_weight >= (0.0)::double precision)),
    CONSTRAINT stock_package_type_positive_width CHECK ((width >= (0.0)::double precision))
);


ALTER TABLE public.stock_package_type OWNER TO odoo;

--
-- Name: TABLE stock_package_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_package_type IS 'Stock package type';


--
-- Name: COLUMN stock_package_type.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.sequence IS 'Sequence';


--
-- Name: COLUMN stock_package_type.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.company_id IS 'Company';


--
-- Name: COLUMN stock_package_type.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.create_uid IS 'Created by';


--
-- Name: COLUMN stock_package_type.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_package_type.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.name IS 'Package Type';


--
-- Name: COLUMN stock_package_type.barcode; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.barcode IS 'Barcode';


--
-- Name: COLUMN stock_package_type.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.create_date IS 'Created on';


--
-- Name: COLUMN stock_package_type.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_package_type.height; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.height IS 'Height';


--
-- Name: COLUMN stock_package_type.width; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.width IS 'Width';


--
-- Name: COLUMN stock_package_type.packaging_length; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.packaging_length IS 'Length';


--
-- Name: COLUMN stock_package_type.base_weight; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.base_weight IS 'Weight';


--
-- Name: COLUMN stock_package_type.max_weight; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_package_type.max_weight IS 'Max Weight';


--
-- Name: CONSTRAINT stock_package_type_positive_height ON stock_package_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_package_type_positive_height ON public.stock_package_type IS 'CHECK(height>=0.0)';


--
-- Name: CONSTRAINT stock_package_type_positive_length ON stock_package_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_package_type_positive_length ON public.stock_package_type IS 'CHECK(packaging_length>=0.0)';


--
-- Name: CONSTRAINT stock_package_type_positive_max_weight ON stock_package_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_package_type_positive_max_weight ON public.stock_package_type IS 'CHECK(max_weight>=0.0)';


--
-- Name: CONSTRAINT stock_package_type_positive_width ON stock_package_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_package_type_positive_width ON public.stock_package_type IS 'CHECK(width>=0.0)';


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

CREATE SEQUENCE public.stock_package_type_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_package_type_id_seq OWNER TO odoo;

--
-- Name: stock_package_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_package_type_id_seq OWNED BY public.stock_package_type.id;


--
-- Name: stock_package_type_stock_putaway_rule_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_package_type_stock_putaway_rule_rel (
    stock_putaway_rule_id integer NOT NULL,
    stock_package_type_id integer NOT NULL
);


ALTER TABLE public.stock_package_type_stock_putaway_rule_rel OWNER TO odoo;

--
-- Name: TABLE stock_package_type_stock_putaway_rule_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_package_type_stock_putaway_rule_rel IS 'RELATION BETWEEN stock_putaway_rule AND stock_package_type';


--
-- Name: stock_picking; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_picking (
    id integer NOT NULL,
    backorder_id integer,
    return_id integer,
    group_id integer,
    location_id integer NOT NULL,
    location_dest_id integer NOT NULL,
    picking_type_id integer NOT NULL,
    partner_id integer,
    company_id integer,
    user_id integer,
    owner_id integer,
    create_uid integer,
    write_uid integer,
    name character varying,
    origin character varying,
    move_type character varying NOT NULL,
    state character varying,
    priority character varying,
    picking_properties jsonb,
    note text,
    has_deadline_issue boolean,
    printed boolean,
    is_locked boolean,
    scheduled_date timestamp without time zone,
    date_deadline timestamp without time zone,
    date timestamp without time zone,
    date_done timestamp without time zone,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    project_id integer,
    sale_id integer
);


ALTER TABLE public.stock_picking OWNER TO odoo;

--
-- Name: TABLE stock_picking; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_picking IS 'Transfer';


--
-- Name: COLUMN stock_picking.backorder_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.backorder_id IS 'Back Order of';


--
-- Name: COLUMN stock_picking.return_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.return_id IS 'Return of';


--
-- Name: COLUMN stock_picking.group_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.group_id IS 'Procurement Group';


--
-- Name: COLUMN stock_picking.location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.location_id IS 'Source Location';


--
-- Name: COLUMN stock_picking.location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.location_dest_id IS 'Destination Location';


--
-- Name: COLUMN stock_picking.picking_type_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.picking_type_id IS 'Operation Type';


--
-- Name: COLUMN stock_picking.partner_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.partner_id IS 'Contact';


--
-- Name: COLUMN stock_picking.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.company_id IS 'Company';


--
-- Name: COLUMN stock_picking.user_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.user_id IS 'Responsible';


--
-- Name: COLUMN stock_picking.owner_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.owner_id IS 'Assign Owner';


--
-- Name: COLUMN stock_picking.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.create_uid IS 'Created by';


--
-- Name: COLUMN stock_picking.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_picking.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.name IS 'Reference';


--
-- Name: COLUMN stock_picking.origin; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.origin IS 'Source Document';


--
-- Name: COLUMN stock_picking.move_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.move_type IS 'Shipping Policy';


--
-- Name: COLUMN stock_picking.state; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.state IS 'Status';


--
-- Name: COLUMN stock_picking.priority; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.priority IS 'Priority';


--
-- Name: COLUMN stock_picking.picking_properties; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.picking_properties IS 'Properties';


--
-- Name: COLUMN stock_picking.note; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.note IS 'Notes';


--
-- Name: COLUMN stock_picking.has_deadline_issue; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.has_deadline_issue IS 'Is late';


--
-- Name: COLUMN stock_picking.printed; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.printed IS 'Printed';


--
-- Name: COLUMN stock_picking.is_locked; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.is_locked IS 'Is Locked';


--
-- Name: COLUMN stock_picking.scheduled_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.scheduled_date IS 'Scheduled Date';


--
-- Name: COLUMN stock_picking.date_deadline; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.date_deadline IS 'Deadline';


--
-- Name: COLUMN stock_picking.date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.date IS 'Creation Date';


--
-- Name: COLUMN stock_picking.date_done; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.date_done IS 'Date of Transfer';


--
-- Name: COLUMN stock_picking.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.create_date IS 'Created on';


--
-- Name: COLUMN stock_picking.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_picking.project_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking.project_id IS 'Project';


--
-- Name: stock_picking_backorder_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_picking_backorder_rel (
    stock_backorder_confirmation_id integer NOT NULL,
    stock_picking_id integer NOT NULL
);


ALTER TABLE public.stock_picking_backorder_rel OWNER TO odoo;

--
-- Name: TABLE stock_picking_backorder_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_picking_backorder_rel IS 'RELATION BETWEEN stock_backorder_confirmation AND stock_picking';


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

CREATE SEQUENCE public.stock_picking_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_picking_id_seq OWNER TO odoo;

--
-- Name: stock_picking_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_picking_id_seq OWNED BY public.stock_picking.id;


--
-- Name: stock_picking_sms_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_picking_sms_rel (
    confirm_stock_sms_id integer NOT NULL,
    stock_picking_id integer NOT NULL
);


ALTER TABLE public.stock_picking_sms_rel OWNER TO odoo;

--
-- Name: TABLE stock_picking_sms_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_picking_sms_rel IS 'RELATION BETWEEN confirm_stock_sms AND stock_picking';


--
-- Name: stock_picking_type; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_picking_type (
    id integer NOT NULL,
    color integer,
    sequence integer,
    sequence_id integer,
    default_location_src_id integer NOT NULL,
    default_location_dest_id integer NOT NULL,
    return_picking_type_id integer,
    warehouse_id integer,
    reservation_days_before integer,
    reservation_days_before_priority integer,
    company_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    sequence_code character varying NOT NULL,
    code character varying NOT NULL,
    reservation_method character varying NOT NULL,
    product_label_format character varying,
    lot_label_format character varying,
    package_label_to_print character varying,
    barcode character varying,
    create_backorder character varying NOT NULL,
    move_type character varying NOT NULL,
    name jsonb NOT NULL,
    picking_properties_definition jsonb,
    show_entire_packs boolean,
    active boolean,
    use_create_lots boolean,
    use_existing_lots boolean,
    print_label boolean,
    show_operations boolean,
    auto_show_reception_report boolean,
    auto_print_delivery_slip boolean,
    auto_print_return_slip boolean,
    auto_print_product_labels boolean,
    auto_print_lot_labels boolean,
    auto_print_reception_report boolean,
    auto_print_reception_report_labels boolean,
    auto_print_packages boolean,
    auto_print_package_label boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    analytic_costs boolean,
    default_product_location_src_id integer,
    default_product_location_dest_id integer,
    default_remove_location_dest_id integer,
    default_recycle_location_dest_id integer,
    repair_properties_definition jsonb,
    is_repairable boolean,
    mrp_product_label_to_print character varying,
    done_mrp_lot_label_to_print character varying,
    generated_mrp_lot_label_to_print character varying,
    use_create_components_lots boolean,
    auto_print_done_production_order boolean,
    auto_print_done_mrp_product_labels boolean,
    auto_print_done_mrp_lot boolean,
    auto_print_mrp_reception_report boolean,
    auto_print_mrp_reception_report_labels boolean,
    auto_print_generated_mrp_lot boolean
);


ALTER TABLE public.stock_picking_type OWNER TO odoo;

--
-- Name: TABLE stock_picking_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_picking_type IS 'Picking Type';


--
-- Name: COLUMN stock_picking_type.color; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.color IS 'Color';


--
-- Name: COLUMN stock_picking_type.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.sequence IS 'Sequence';


--
-- Name: COLUMN stock_picking_type.sequence_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.sequence_id IS 'Reference Sequence';


--
-- Name: COLUMN stock_picking_type.default_location_src_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.default_location_src_id IS 'Source Location';


--
-- Name: COLUMN stock_picking_type.default_location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.default_location_dest_id IS 'Destination Location';


--
-- Name: COLUMN stock_picking_type.return_picking_type_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.return_picking_type_id IS 'Operation Type for Returns';


--
-- Name: COLUMN stock_picking_type.warehouse_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.warehouse_id IS 'Warehouse';


--
-- Name: COLUMN stock_picking_type.reservation_days_before; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.reservation_days_before IS 'Days';


--
-- Name: COLUMN stock_picking_type.reservation_days_before_priority; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.reservation_days_before_priority IS 'Days when starred';


--
-- Name: COLUMN stock_picking_type.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.company_id IS 'Company';


--
-- Name: COLUMN stock_picking_type.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.create_uid IS 'Created by';


--
-- Name: COLUMN stock_picking_type.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_picking_type.sequence_code; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.sequence_code IS 'Sequence Prefix';


--
-- Name: COLUMN stock_picking_type.code; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.code IS 'Type of Operation';


--
-- Name: COLUMN stock_picking_type.reservation_method; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.reservation_method IS 'Reservation Method';


--
-- Name: COLUMN stock_picking_type.product_label_format; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.product_label_format IS 'Product Label Format to auto-print';


--
-- Name: COLUMN stock_picking_type.lot_label_format; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.lot_label_format IS 'Lot Label Format to auto-print';


--
-- Name: COLUMN stock_picking_type.package_label_to_print; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.package_label_to_print IS 'Package Label to Print';


--
-- Name: COLUMN stock_picking_type.barcode; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.barcode IS 'Barcode';


--
-- Name: COLUMN stock_picking_type.create_backorder; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.create_backorder IS 'Create Backorder';


--
-- Name: COLUMN stock_picking_type.move_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.move_type IS 'Shipping Policy';


--
-- Name: COLUMN stock_picking_type.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.name IS 'Operation Type';


--
-- Name: COLUMN stock_picking_type.picking_properties_definition; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.picking_properties_definition IS 'Picking Properties';


--
-- Name: COLUMN stock_picking_type.show_entire_packs; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.show_entire_packs IS 'Move Entire Packages';


--
-- Name: COLUMN stock_picking_type.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.active IS 'Active';


--
-- Name: COLUMN stock_picking_type.use_create_lots; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.use_create_lots IS 'Create New Lots/Serial Numbers';


--
-- Name: COLUMN stock_picking_type.use_existing_lots; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.use_existing_lots IS 'Use Existing Lots/Serial Numbers';


--
-- Name: COLUMN stock_picking_type.print_label; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.print_label IS 'Generate Shipping Labels';


--
-- Name: COLUMN stock_picking_type.show_operations; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.show_operations IS 'Show Detailed Operations';


--
-- Name: COLUMN stock_picking_type.auto_show_reception_report; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_show_reception_report IS 'Show Reception Report at Validation';


--
-- Name: COLUMN stock_picking_type.auto_print_delivery_slip; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_delivery_slip IS 'Auto Print Delivery Slip';


--
-- Name: COLUMN stock_picking_type.auto_print_return_slip; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_return_slip IS 'Auto Print Return Slip';


--
-- Name: COLUMN stock_picking_type.auto_print_product_labels; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_product_labels IS 'Auto Print Product Labels';


--
-- Name: COLUMN stock_picking_type.auto_print_lot_labels; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_lot_labels IS 'Auto Print Lot/SN Labels';


--
-- Name: COLUMN stock_picking_type.auto_print_reception_report; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_reception_report IS 'Auto Print Reception Report';


--
-- Name: COLUMN stock_picking_type.auto_print_reception_report_labels; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_reception_report_labels IS 'Auto Print Reception Report Labels';


--
-- Name: COLUMN stock_picking_type.auto_print_packages; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_packages IS 'Auto Print Packages';


--
-- Name: COLUMN stock_picking_type.auto_print_package_label; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_package_label IS 'Auto Print Package Label';


--
-- Name: COLUMN stock_picking_type.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.create_date IS 'Created on';


--
-- Name: COLUMN stock_picking_type.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_picking_type.analytic_costs; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.analytic_costs IS 'Analytic Costs';


--
-- Name: COLUMN stock_picking_type.default_product_location_src_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.default_product_location_src_id IS 'Product Source Location';


--
-- Name: COLUMN stock_picking_type.default_product_location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.default_product_location_dest_id IS 'Product Destination Location';


--
-- Name: COLUMN stock_picking_type.default_remove_location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.default_remove_location_dest_id IS 'Remove Destination Location';


--
-- Name: COLUMN stock_picking_type.default_recycle_location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.default_recycle_location_dest_id IS 'Recycle Destination Location';


--
-- Name: COLUMN stock_picking_type.repair_properties_definition; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.repair_properties_definition IS 'Repair Properties';


--
-- Name: COLUMN stock_picking_type.is_repairable; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.is_repairable IS 'Create Repair Orders from Returns';


--
-- Name: COLUMN stock_picking_type.mrp_product_label_to_print; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.mrp_product_label_to_print IS 'Product Label to Print';


--
-- Name: COLUMN stock_picking_type.done_mrp_lot_label_to_print; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.done_mrp_lot_label_to_print IS 'Lot/SN Label to Print';


--
-- Name: COLUMN stock_picking_type.generated_mrp_lot_label_to_print; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.generated_mrp_lot_label_to_print IS 'Generated Lot/SN Label to Print';


--
-- Name: COLUMN stock_picking_type.use_create_components_lots; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.use_create_components_lots IS 'Create New Lots/Serial Numbers for Components';


--
-- Name: COLUMN stock_picking_type.auto_print_done_production_order; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_done_production_order IS 'Auto Print Done Production Order';


--
-- Name: COLUMN stock_picking_type.auto_print_done_mrp_product_labels; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_done_mrp_product_labels IS 'Auto Print Produced Product Labels';


--
-- Name: COLUMN stock_picking_type.auto_print_done_mrp_lot; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_done_mrp_lot IS 'Auto Print Produced Lot Label';


--
-- Name: COLUMN stock_picking_type.auto_print_mrp_reception_report; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_mrp_reception_report IS 'Auto Print Allocation Report';


--
-- Name: COLUMN stock_picking_type.auto_print_mrp_reception_report_labels; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_mrp_reception_report_labels IS 'Auto Print Allocation Report Labels';


--
-- Name: COLUMN stock_picking_type.auto_print_generated_mrp_lot; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_picking_type.auto_print_generated_mrp_lot IS 'Auto Print Generated Lot/SN Label';


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

CREATE SEQUENCE public.stock_picking_type_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_picking_type_id_seq OWNER TO odoo;

--
-- Name: stock_picking_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_picking_type_id_seq OWNED BY public.stock_picking_type.id;


--
-- Name: stock_putaway_rule; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_putaway_rule (
    id integer NOT NULL,
    product_id integer,
    category_id integer,
    location_in_id integer NOT NULL,
    location_out_id integer NOT NULL,
    sequence integer,
    company_id integer NOT NULL,
    storage_category_id integer,
    create_uid integer,
    write_uid integer,
    sublocation character varying,
    active boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_putaway_rule OWNER TO odoo;

--
-- Name: TABLE stock_putaway_rule; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_putaway_rule IS 'Putaway Rule';


--
-- Name: COLUMN stock_putaway_rule.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.product_id IS 'Product';


--
-- Name: COLUMN stock_putaway_rule.category_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.category_id IS 'Product Category';


--
-- Name: COLUMN stock_putaway_rule.location_in_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.location_in_id IS 'When product arrives in';


--
-- Name: COLUMN stock_putaway_rule.location_out_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.location_out_id IS 'Store to sublocation';


--
-- Name: COLUMN stock_putaway_rule.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.sequence IS 'Priority';


--
-- Name: COLUMN stock_putaway_rule.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.company_id IS 'Company';


--
-- Name: COLUMN stock_putaway_rule.storage_category_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.storage_category_id IS 'Storage Category';


--
-- Name: COLUMN stock_putaway_rule.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.create_uid IS 'Created by';


--
-- Name: COLUMN stock_putaway_rule.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_putaway_rule.sublocation; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.sublocation IS 'Sublocation';


--
-- Name: COLUMN stock_putaway_rule.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.active IS 'Active';


--
-- Name: COLUMN stock_putaway_rule.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.create_date IS 'Created on';


--
-- Name: COLUMN stock_putaway_rule.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_putaway_rule.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_putaway_rule_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_putaway_rule_id_seq OWNER TO odoo;

--
-- Name: stock_putaway_rule_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_putaway_rule_id_seq OWNED BY public.stock_putaway_rule.id;


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

CREATE SEQUENCE public.stock_quant_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_quant_id_seq OWNER TO odoo;

--
-- Name: stock_quant_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_quant_id_seq OWNED BY public.stock_quant.id;


--
-- Name: stock_quant_package; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_quant_package (
    id integer NOT NULL,
    package_type_id integer,
    location_id integer,
    company_id integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    package_use character varying NOT NULL,
    pack_date date,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    shipping_weight double precision
);


ALTER TABLE public.stock_quant_package OWNER TO odoo;

--
-- Name: TABLE stock_quant_package; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_quant_package IS 'Packages';


--
-- Name: COLUMN stock_quant_package.package_type_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.package_type_id IS 'Package Type';


--
-- Name: COLUMN stock_quant_package.location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.location_id IS 'Location';


--
-- Name: COLUMN stock_quant_package.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.company_id IS 'Company';


--
-- Name: COLUMN stock_quant_package.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.create_uid IS 'Created by';


--
-- Name: COLUMN stock_quant_package.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_quant_package.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.name IS 'Package Reference';


--
-- Name: COLUMN stock_quant_package.package_use; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.package_use IS 'Package Use';


--
-- Name: COLUMN stock_quant_package.pack_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.pack_date IS 'Pack Date';


--
-- Name: COLUMN stock_quant_package.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.create_date IS 'Created on';


--
-- Name: COLUMN stock_quant_package.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_quant_package.shipping_weight; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_package.shipping_weight IS 'Shipping Weight';


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

CREATE SEQUENCE public.stock_quant_package_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_quant_package_id_seq OWNER TO odoo;

--
-- Name: stock_quant_package_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_quant_package_id_seq OWNED BY public.stock_quant_package.id;


--
-- Name: stock_quant_relocate; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_quant_relocate (
    id integer NOT NULL,
    dest_location_id integer,
    dest_package_id integer,
    create_uid integer,
    write_uid integer,
    message text,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_quant_relocate OWNER TO odoo;

--
-- Name: TABLE stock_quant_relocate; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_quant_relocate IS 'Stock Quantity Relocation';


--
-- Name: COLUMN stock_quant_relocate.dest_location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_relocate.dest_location_id IS 'Dest Location';


--
-- Name: COLUMN stock_quant_relocate.dest_package_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_relocate.dest_package_id IS 'Dest Package';


--
-- Name: COLUMN stock_quant_relocate.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_relocate.create_uid IS 'Created by';


--
-- Name: COLUMN stock_quant_relocate.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_relocate.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_quant_relocate.message; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_relocate.message IS 'Reason for relocation';


--
-- Name: COLUMN stock_quant_relocate.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_relocate.create_date IS 'Created on';


--
-- Name: COLUMN stock_quant_relocate.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quant_relocate.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_quant_relocate_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_quant_relocate_id_seq OWNER TO odoo;

--
-- Name: stock_quant_relocate_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_quant_relocate_id_seq OWNED BY public.stock_quant_relocate.id;


--
-- Name: stock_quant_stock_quant_relocate_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_quant_stock_quant_relocate_rel (
    stock_quant_relocate_id integer NOT NULL,
    stock_quant_id integer NOT NULL
);


ALTER TABLE public.stock_quant_stock_quant_relocate_rel OWNER TO odoo;

--
-- Name: TABLE stock_quant_stock_quant_relocate_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_quant_stock_quant_relocate_rel IS 'RELATION BETWEEN stock_quant_relocate AND stock_quant';


--
-- Name: stock_quant_stock_request_count_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_quant_stock_request_count_rel (
    stock_request_count_id integer NOT NULL,
    stock_quant_id integer NOT NULL
);


ALTER TABLE public.stock_quant_stock_request_count_rel OWNER TO odoo;

--
-- Name: TABLE stock_quant_stock_request_count_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_quant_stock_request_count_rel IS 'RELATION BETWEEN stock_request_count AND stock_quant';


--
-- Name: stock_quant_stock_track_confirmation_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_quant_stock_track_confirmation_rel (
    stock_track_confirmation_id integer NOT NULL,
    stock_quant_id integer NOT NULL
);


ALTER TABLE public.stock_quant_stock_track_confirmation_rel OWNER TO odoo;

--
-- Name: TABLE stock_quant_stock_track_confirmation_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_quant_stock_track_confirmation_rel IS 'RELATION BETWEEN stock_track_confirmation AND stock_quant';


--
-- Name: stock_quantity_history; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_quantity_history (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    inventory_datetime timestamp without time zone,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_quantity_history OWNER TO odoo;

--
-- Name: TABLE stock_quantity_history; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_quantity_history IS 'Stock Quantity History';


--
-- Name: COLUMN stock_quantity_history.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quantity_history.create_uid IS 'Created by';


--
-- Name: COLUMN stock_quantity_history.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quantity_history.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_quantity_history.inventory_datetime; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quantity_history.inventory_datetime IS 'Inventory at Date';


--
-- Name: COLUMN stock_quantity_history.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quantity_history.create_date IS 'Created on';


--
-- Name: COLUMN stock_quantity_history.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_quantity_history.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_quantity_history_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_quantity_history_id_seq OWNER TO odoo;

--
-- Name: stock_quantity_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_quantity_history_id_seq OWNED BY public.stock_quantity_history.id;


--
-- Name: stock_replenishment_info; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_replenishment_info (
    id integer NOT NULL,
    orderpoint_id integer,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_replenishment_info OWNER TO odoo;

--
-- Name: TABLE stock_replenishment_info; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_replenishment_info IS 'Stock supplier replenishment information';


--
-- Name: COLUMN stock_replenishment_info.orderpoint_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_info.orderpoint_id IS 'Orderpoint';


--
-- Name: COLUMN stock_replenishment_info.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_info.create_uid IS 'Created by';


--
-- Name: COLUMN stock_replenishment_info.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_info.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_replenishment_info.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_info.create_date IS 'Created on';


--
-- Name: COLUMN stock_replenishment_info.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_info.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_replenishment_info_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_replenishment_info_id_seq OWNER TO odoo;

--
-- Name: stock_replenishment_info_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_replenishment_info_id_seq OWNED BY public.stock_replenishment_info.id;


--
-- Name: stock_replenishment_option; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_replenishment_option (
    id integer NOT NULL,
    route_id integer,
    product_id integer,
    replenishment_info_id integer,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_replenishment_option OWNER TO odoo;

--
-- Name: TABLE stock_replenishment_option; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_replenishment_option IS 'Stock warehouse replenishment option';


--
-- Name: COLUMN stock_replenishment_option.route_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_option.route_id IS 'Route';


--
-- Name: COLUMN stock_replenishment_option.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_option.product_id IS 'Product';


--
-- Name: COLUMN stock_replenishment_option.replenishment_info_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_option.replenishment_info_id IS 'Replenishment Info';


--
-- Name: COLUMN stock_replenishment_option.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_option.create_uid IS 'Created by';


--
-- Name: COLUMN stock_replenishment_option.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_option.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_replenishment_option.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_option.create_date IS 'Created on';


--
-- Name: COLUMN stock_replenishment_option.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_replenishment_option.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_replenishment_option_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_replenishment_option_id_seq OWNER TO odoo;

--
-- Name: stock_replenishment_option_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_replenishment_option_id_seq OWNED BY public.stock_replenishment_option.id;


--
-- Name: stock_request_count; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_request_count (
    id integer NOT NULL,
    user_id integer,
    create_uid integer,
    write_uid integer,
    set_count character varying,
    inventory_date date NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    accounting_date date
);


ALTER TABLE public.stock_request_count OWNER TO odoo;

--
-- Name: TABLE stock_request_count; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_request_count IS 'Stock Request an Inventory Count';


--
-- Name: COLUMN stock_request_count.user_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_request_count.user_id IS 'User';


--
-- Name: COLUMN stock_request_count.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_request_count.create_uid IS 'Created by';


--
-- Name: COLUMN stock_request_count.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_request_count.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_request_count.set_count; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_request_count.set_count IS 'Count';


--
-- Name: COLUMN stock_request_count.inventory_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_request_count.inventory_date IS 'Inventory Date';


--
-- Name: COLUMN stock_request_count.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_request_count.create_date IS 'Created on';


--
-- Name: COLUMN stock_request_count.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_request_count.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_request_count.accounting_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_request_count.accounting_date IS 'Accounting Date';


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

CREATE SEQUENCE public.stock_request_count_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_request_count_id_seq OWNER TO odoo;

--
-- Name: stock_request_count_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_request_count_id_seq OWNED BY public.stock_request_count.id;


--
-- Name: stock_return_picking; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_return_picking (
    id integer NOT NULL,
    picking_id integer,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_return_picking OWNER TO odoo;

--
-- Name: TABLE stock_return_picking; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_return_picking IS 'Return Picking';


--
-- Name: COLUMN stock_return_picking.picking_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking.picking_id IS 'Picking';


--
-- Name: COLUMN stock_return_picking.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking.create_uid IS 'Created by';


--
-- Name: COLUMN stock_return_picking.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_return_picking.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking.create_date IS 'Created on';


--
-- Name: COLUMN stock_return_picking.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_return_picking_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_return_picking_id_seq OWNER TO odoo;

--
-- Name: stock_return_picking_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_return_picking_id_seq OWNED BY public.stock_return_picking.id;


--
-- Name: stock_return_picking_line; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_return_picking_line (
    id integer NOT NULL,
    product_id integer NOT NULL,
    wizard_id integer,
    move_id integer,
    create_uid integer,
    write_uid integer,
    quantity numeric NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    to_refund boolean
);


ALTER TABLE public.stock_return_picking_line OWNER TO odoo;

--
-- Name: TABLE stock_return_picking_line; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_return_picking_line IS 'Return Picking Line';


--
-- Name: COLUMN stock_return_picking_line.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.product_id IS 'Product';


--
-- Name: COLUMN stock_return_picking_line.wizard_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.wizard_id IS 'Wizard';


--
-- Name: COLUMN stock_return_picking_line.move_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.move_id IS 'Move';


--
-- Name: COLUMN stock_return_picking_line.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.create_uid IS 'Created by';


--
-- Name: COLUMN stock_return_picking_line.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_return_picking_line.quantity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.quantity IS 'Quantity';


--
-- Name: COLUMN stock_return_picking_line.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.create_date IS 'Created on';


--
-- Name: COLUMN stock_return_picking_line.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_return_picking_line.to_refund; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_return_picking_line.to_refund IS 'Update quantities on SO/PO';


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

CREATE SEQUENCE public.stock_return_picking_line_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_return_picking_line_id_seq OWNER TO odoo;

--
-- Name: stock_return_picking_line_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_return_picking_line_id_seq OWNED BY public.stock_return_picking_line.id;


--
-- Name: stock_route; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_route (
    id integer NOT NULL,
    sequence integer,
    supplied_wh_id integer,
    supplier_wh_id integer,
    company_id integer,
    create_uid integer,
    write_uid integer,
    name jsonb NOT NULL,
    active boolean,
    product_selectable boolean,
    product_categ_selectable boolean,
    warehouse_selectable boolean,
    packaging_selectable boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    sale_selectable boolean
);


ALTER TABLE public.stock_route OWNER TO odoo;

--
-- Name: TABLE stock_route; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_route IS 'Inventory Routes';


--
-- Name: COLUMN stock_route.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.sequence IS 'Sequence';


--
-- Name: COLUMN stock_route.supplied_wh_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.supplied_wh_id IS 'Supplied Warehouse';


--
-- Name: COLUMN stock_route.supplier_wh_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.supplier_wh_id IS 'Supplying Warehouse';


--
-- Name: COLUMN stock_route.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.company_id IS 'Company';


--
-- Name: COLUMN stock_route.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.create_uid IS 'Created by';


--
-- Name: COLUMN stock_route.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_route.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.name IS 'Route';


--
-- Name: COLUMN stock_route.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.active IS 'Active';


--
-- Name: COLUMN stock_route.product_selectable; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.product_selectable IS 'Applicable on Product';


--
-- Name: COLUMN stock_route.product_categ_selectable; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.product_categ_selectable IS 'Applicable on Product Category';


--
-- Name: COLUMN stock_route.warehouse_selectable; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.warehouse_selectable IS 'Applicable on Warehouse';


--
-- Name: COLUMN stock_route.packaging_selectable; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.packaging_selectable IS 'Applicable on Packaging';


--
-- Name: COLUMN stock_route.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.create_date IS 'Created on';


--
-- Name: COLUMN stock_route.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_route.sale_selectable; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_route.sale_selectable IS 'Selectable on Sales Order Line';


--
-- Name: stock_route_categ; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_route_categ (
    route_id integer NOT NULL,
    categ_id integer NOT NULL
);


ALTER TABLE public.stock_route_categ OWNER TO odoo;

--
-- Name: TABLE stock_route_categ; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_route_categ IS 'RELATION BETWEEN stock_route AND product_category';


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

CREATE SEQUENCE public.stock_route_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_route_id_seq OWNER TO odoo;

--
-- Name: stock_route_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_route_id_seq OWNED BY public.stock_route.id;


--
-- Name: stock_route_move; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_route_move (
    move_id integer NOT NULL,
    route_id integer NOT NULL
);


ALTER TABLE public.stock_route_move OWNER TO odoo;

--
-- Name: TABLE stock_route_move; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_route_move IS 'RELATION BETWEEN stock_move AND stock_route';


--
-- Name: stock_route_packaging; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_route_packaging (
    route_id integer NOT NULL,
    packaging_id integer NOT NULL
);


ALTER TABLE public.stock_route_packaging OWNER TO odoo;

--
-- Name: TABLE stock_route_packaging; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_route_packaging IS 'RELATION BETWEEN stock_route AND product_packaging';


--
-- Name: stock_route_product; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_route_product (
    route_id integer NOT NULL,
    product_id integer NOT NULL
);


ALTER TABLE public.stock_route_product OWNER TO odoo;

--
-- Name: TABLE stock_route_product; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_route_product IS 'RELATION BETWEEN stock_route AND product_template';


--
-- Name: stock_route_stock_rules_report_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_route_stock_rules_report_rel (
    stock_rules_report_id integer NOT NULL,
    stock_route_id integer NOT NULL
);


ALTER TABLE public.stock_route_stock_rules_report_rel OWNER TO odoo;

--
-- Name: TABLE stock_route_stock_rules_report_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_route_stock_rules_report_rel IS 'RELATION BETWEEN stock_rules_report AND stock_route';


--
-- Name: stock_route_warehouse; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_route_warehouse (
    route_id integer NOT NULL,
    warehouse_id integer NOT NULL
);


ALTER TABLE public.stock_route_warehouse OWNER TO odoo;

--
-- Name: TABLE stock_route_warehouse; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_route_warehouse IS 'RELATION BETWEEN stock_route AND stock_warehouse';


--
-- Name: stock_rule; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_rule (
    id integer NOT NULL,
    group_id integer,
    sequence integer,
    company_id integer,
    location_dest_id integer NOT NULL,
    location_src_id integer,
    route_id integer NOT NULL,
    route_sequence integer,
    picking_type_id integer NOT NULL,
    delay integer,
    partner_address_id integer,
    warehouse_id integer,
    propagate_warehouse_id integer,
    create_uid integer,
    write_uid integer,
    group_propagation_option character varying,
    action character varying NOT NULL,
    procure_method character varying NOT NULL,
    auto character varying NOT NULL,
    push_domain character varying,
    name jsonb NOT NULL,
    active boolean,
    location_dest_from_rule boolean,
    propagate_cancel boolean,
    propagate_carrier boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_rule OWNER TO odoo;

--
-- Name: TABLE stock_rule; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_rule IS 'Stock Rule';


--
-- Name: COLUMN stock_rule.group_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.group_id IS 'Fixed Procurement Group';


--
-- Name: COLUMN stock_rule.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.sequence IS 'Sequence';


--
-- Name: COLUMN stock_rule.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.company_id IS 'Company';


--
-- Name: COLUMN stock_rule.location_dest_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.location_dest_id IS 'Destination Location';


--
-- Name: COLUMN stock_rule.location_src_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.location_src_id IS 'Source Location';


--
-- Name: COLUMN stock_rule.route_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.route_id IS 'Route';


--
-- Name: COLUMN stock_rule.route_sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.route_sequence IS 'Route Sequence';


--
-- Name: COLUMN stock_rule.picking_type_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.picking_type_id IS 'Operation Type';


--
-- Name: COLUMN stock_rule.delay; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.delay IS 'Lead Time';


--
-- Name: COLUMN stock_rule.partner_address_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.partner_address_id IS 'Partner Address';


--
-- Name: COLUMN stock_rule.warehouse_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.warehouse_id IS 'Warehouse';


--
-- Name: COLUMN stock_rule.propagate_warehouse_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.propagate_warehouse_id IS 'Warehouse to Propagate';


--
-- Name: COLUMN stock_rule.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.create_uid IS 'Created by';


--
-- Name: COLUMN stock_rule.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_rule.group_propagation_option; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.group_propagation_option IS 'Propagation of Procurement Group';


--
-- Name: COLUMN stock_rule.action; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.action IS 'Action';


--
-- Name: COLUMN stock_rule.procure_method; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.procure_method IS 'Supply Method';


--
-- Name: COLUMN stock_rule.auto; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.auto IS 'Automatic Move';


--
-- Name: COLUMN stock_rule.push_domain; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.push_domain IS 'Push Applicability';


--
-- Name: COLUMN stock_rule.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.name IS 'Name';


--
-- Name: COLUMN stock_rule.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.active IS 'Active';


--
-- Name: COLUMN stock_rule.location_dest_from_rule; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.location_dest_from_rule IS 'Destination location origin from rule';


--
-- Name: COLUMN stock_rule.propagate_cancel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.propagate_cancel IS 'Cancel Next Move';


--
-- Name: COLUMN stock_rule.propagate_carrier; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.propagate_carrier IS 'Propagation of carrier';


--
-- Name: COLUMN stock_rule.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.create_date IS 'Created on';


--
-- Name: COLUMN stock_rule.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rule.write_date IS 'Last Updated on';


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

CREATE SEQUENCE public.stock_rule_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_rule_id_seq OWNER TO odoo;

--
-- Name: stock_rule_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_rule_id_seq OWNED BY public.stock_rule.id;


--
-- Name: stock_rules_report; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_rules_report (
    id integer NOT NULL,
    product_id integer NOT NULL,
    product_tmpl_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    product_has_variants boolean NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_rules_report OWNER TO odoo;

--
-- Name: TABLE stock_rules_report; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_rules_report IS 'Stock Rules report';


--
-- Name: COLUMN stock_rules_report.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rules_report.product_id IS 'Product';


--
-- Name: COLUMN stock_rules_report.product_tmpl_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rules_report.product_tmpl_id IS 'Product Template';


--
-- Name: COLUMN stock_rules_report.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rules_report.create_uid IS 'Created by';


--
-- Name: COLUMN stock_rules_report.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rules_report.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_rules_report.product_has_variants; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rules_report.product_has_variants IS 'Has variants';


--
-- Name: COLUMN stock_rules_report.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rules_report.create_date IS 'Created on';


--
-- Name: COLUMN stock_rules_report.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_rules_report.write_date IS 'Last Updated on';


--
-- Name: stock_rules_report_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_rules_report_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_rules_report_id_seq OWNER TO odoo;

--
-- Name: stock_rules_report_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_rules_report_id_seq OWNED BY public.stock_rules_report.id;


--
-- Name: stock_rules_report_stock_warehouse_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_rules_report_stock_warehouse_rel (
    stock_rules_report_id integer NOT NULL,
    stock_warehouse_id integer NOT NULL
);


ALTER TABLE public.stock_rules_report_stock_warehouse_rel OWNER TO odoo;

--
-- Name: TABLE stock_rules_report_stock_warehouse_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_rules_report_stock_warehouse_rel IS 'RELATION BETWEEN stock_rules_report AND stock_warehouse';


--
-- Name: stock_scrap; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_scrap (
    id integer NOT NULL,
    company_id integer NOT NULL,
    product_id integer NOT NULL,
    product_uom_id integer NOT NULL,
    lot_id integer,
    package_id integer,
    owner_id integer,
    picking_id integer,
    location_id integer NOT NULL,
    scrap_location_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    origin character varying,
    state character varying,
    scrap_qty numeric NOT NULL,
    should_replenish boolean,
    date_done timestamp without time zone,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    production_id integer,
    workorder_id integer,
    bom_id integer
);


ALTER TABLE public.stock_scrap OWNER TO odoo;

--
-- Name: TABLE stock_scrap; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_scrap IS 'Scrap';


--
-- Name: COLUMN stock_scrap.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.company_id IS 'Company';


--
-- Name: COLUMN stock_scrap.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.product_id IS 'Product';


--
-- Name: COLUMN stock_scrap.product_uom_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.product_uom_id IS 'Unit of Measure';


--
-- Name: COLUMN stock_scrap.lot_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.lot_id IS 'Lot/Serial';


--
-- Name: COLUMN stock_scrap.package_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.package_id IS 'Package';


--
-- Name: COLUMN stock_scrap.owner_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.owner_id IS 'Owner';


--
-- Name: COLUMN stock_scrap.picking_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.picking_id IS 'Picking';


--
-- Name: COLUMN stock_scrap.location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.location_id IS 'Source Location';


--
-- Name: COLUMN stock_scrap.scrap_location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.scrap_location_id IS 'Scrap Location';


--
-- Name: COLUMN stock_scrap.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.create_uid IS 'Created by';


--
-- Name: COLUMN stock_scrap.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_scrap.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.name IS 'Reference';


--
-- Name: COLUMN stock_scrap.origin; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.origin IS 'Source Document';


--
-- Name: COLUMN stock_scrap.state; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.state IS 'Status';


--
-- Name: COLUMN stock_scrap.scrap_qty; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.scrap_qty IS 'Quantity';


--
-- Name: COLUMN stock_scrap.should_replenish; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.should_replenish IS 'Replenish Quantities';


--
-- Name: COLUMN stock_scrap.date_done; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.date_done IS 'Date';


--
-- Name: COLUMN stock_scrap.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.create_date IS 'Created on';


--
-- Name: COLUMN stock_scrap.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_scrap.production_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.production_id IS 'Manufacturing Order';


--
-- Name: COLUMN stock_scrap.workorder_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.workorder_id IS 'Work Order';


--
-- Name: COLUMN stock_scrap.bom_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap.bom_id IS 'Kit';


--
-- Name: stock_scrap_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_scrap_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_scrap_id_seq OWNER TO odoo;

--
-- Name: stock_scrap_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_scrap_id_seq OWNED BY public.stock_scrap.id;


--
-- Name: stock_scrap_reason_tag; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_scrap_reason_tag (
    id integer NOT NULL,
    sequence integer,
    create_uid integer,
    write_uid integer,
    color character varying,
    name jsonb NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_scrap_reason_tag OWNER TO odoo;

--
-- Name: TABLE stock_scrap_reason_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_scrap_reason_tag IS 'Scrap Reason Tag';


--
-- Name: COLUMN stock_scrap_reason_tag.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap_reason_tag.sequence IS 'Sequence';


--
-- Name: COLUMN stock_scrap_reason_tag.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap_reason_tag.create_uid IS 'Created by';


--
-- Name: COLUMN stock_scrap_reason_tag.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap_reason_tag.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_scrap_reason_tag.color; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap_reason_tag.color IS 'Color';


--
-- Name: COLUMN stock_scrap_reason_tag.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap_reason_tag.name IS 'Name';


--
-- Name: COLUMN stock_scrap_reason_tag.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap_reason_tag.create_date IS 'Created on';


--
-- Name: COLUMN stock_scrap_reason_tag.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_scrap_reason_tag.write_date IS 'Last Updated on';


--
-- Name: stock_scrap_reason_tag_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_scrap_reason_tag_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_scrap_reason_tag_id_seq OWNER TO odoo;

--
-- Name: stock_scrap_reason_tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_scrap_reason_tag_id_seq OWNED BY public.stock_scrap_reason_tag.id;


--
-- Name: stock_scrap_stock_scrap_reason_tag_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_scrap_stock_scrap_reason_tag_rel (
    stock_scrap_id integer NOT NULL,
    stock_scrap_reason_tag_id integer NOT NULL
);


ALTER TABLE public.stock_scrap_stock_scrap_reason_tag_rel OWNER TO odoo;

--
-- Name: TABLE stock_scrap_stock_scrap_reason_tag_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_scrap_stock_scrap_reason_tag_rel IS 'RELATION BETWEEN stock_scrap AND stock_scrap_reason_tag';


--
-- Name: stock_storage_category; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_storage_category (
    id integer NOT NULL,
    company_id integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    allow_new_product character varying NOT NULL,
    max_weight numeric,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    CONSTRAINT stock_storage_category_positive_max_weight CHECK ((max_weight >= (0)::numeric))
);


ALTER TABLE public.stock_storage_category OWNER TO odoo;

--
-- Name: TABLE stock_storage_category; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_storage_category IS 'Storage Category';


--
-- Name: COLUMN stock_storage_category.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category.company_id IS 'Company';


--
-- Name: COLUMN stock_storage_category.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category.create_uid IS 'Created by';


--
-- Name: COLUMN stock_storage_category.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_storage_category.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category.name IS 'Storage Category';


--
-- Name: COLUMN stock_storage_category.allow_new_product; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category.allow_new_product IS 'Allow New Product';


--
-- Name: COLUMN stock_storage_category.max_weight; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category.max_weight IS 'Max Weight';


--
-- Name: COLUMN stock_storage_category.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category.create_date IS 'Created on';


--
-- Name: COLUMN stock_storage_category.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category.write_date IS 'Last Updated on';


--
-- Name: CONSTRAINT stock_storage_category_positive_max_weight ON stock_storage_category; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_storage_category_positive_max_weight ON public.stock_storage_category IS 'CHECK(max_weight >= 0)';


--
-- Name: stock_storage_category_capacity; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_storage_category_capacity (
    id integer NOT NULL,
    storage_category_id integer NOT NULL,
    product_id integer,
    package_type_id integer,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    quantity double precision NOT NULL,
    CONSTRAINT stock_storage_category_capacity_positive_quantity CHECK ((quantity > (0)::double precision))
);


ALTER TABLE public.stock_storage_category_capacity OWNER TO odoo;

--
-- Name: TABLE stock_storage_category_capacity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_storage_category_capacity IS 'Storage Category Capacity';


--
-- Name: COLUMN stock_storage_category_capacity.storage_category_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category_capacity.storage_category_id IS 'Storage Category';


--
-- Name: COLUMN stock_storage_category_capacity.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category_capacity.product_id IS 'Product';


--
-- Name: COLUMN stock_storage_category_capacity.package_type_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category_capacity.package_type_id IS 'Package Type';


--
-- Name: COLUMN stock_storage_category_capacity.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category_capacity.create_uid IS 'Created by';


--
-- Name: COLUMN stock_storage_category_capacity.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category_capacity.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_storage_category_capacity.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category_capacity.create_date IS 'Created on';


--
-- Name: COLUMN stock_storage_category_capacity.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category_capacity.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_storage_category_capacity.quantity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_storage_category_capacity.quantity IS 'Quantity';


--
-- Name: CONSTRAINT stock_storage_category_capacity_positive_quantity ON stock_storage_category_capacity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_storage_category_capacity_positive_quantity ON public.stock_storage_category_capacity IS 'CHECK(quantity > 0)';


--
-- Name: stock_storage_category_capacity_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_storage_category_capacity_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_storage_category_capacity_id_seq OWNER TO odoo;

--
-- Name: stock_storage_category_capacity_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_storage_category_capacity_id_seq OWNED BY public.stock_storage_category_capacity.id;


--
-- Name: stock_storage_category_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_storage_category_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_storage_category_id_seq OWNER TO odoo;

--
-- Name: stock_storage_category_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_storage_category_id_seq OWNED BY public.stock_storage_category.id;


--
-- Name: stock_traceability_report; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_traceability_report (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_traceability_report OWNER TO odoo;

--
-- Name: TABLE stock_traceability_report; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_traceability_report IS 'Traceability Report';


--
-- Name: COLUMN stock_traceability_report.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_traceability_report.create_uid IS 'Created by';


--
-- Name: COLUMN stock_traceability_report.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_traceability_report.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_traceability_report.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_traceability_report.create_date IS 'Created on';


--
-- Name: COLUMN stock_traceability_report.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_traceability_report.write_date IS 'Last Updated on';


--
-- Name: stock_traceability_report_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_traceability_report_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_traceability_report_id_seq OWNER TO odoo;

--
-- Name: stock_traceability_report_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_traceability_report_id_seq OWNED BY public.stock_traceability_report.id;


--
-- Name: stock_track_confirmation; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_track_confirmation (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_track_confirmation OWNER TO odoo;

--
-- Name: TABLE stock_track_confirmation; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_track_confirmation IS 'Stock Track Confirmation';


--
-- Name: COLUMN stock_track_confirmation.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_confirmation.create_uid IS 'Created by';


--
-- Name: COLUMN stock_track_confirmation.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_confirmation.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_track_confirmation.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_confirmation.create_date IS 'Created on';


--
-- Name: COLUMN stock_track_confirmation.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_confirmation.write_date IS 'Last Updated on';


--
-- Name: stock_track_confirmation_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_track_confirmation_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_track_confirmation_id_seq OWNER TO odoo;

--
-- Name: stock_track_confirmation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_track_confirmation_id_seq OWNED BY public.stock_track_confirmation.id;


--
-- Name: stock_track_line; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_track_line (
    id integer NOT NULL,
    product_id integer,
    wizard_id integer,
    create_uid integer,
    write_uid integer,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_track_line OWNER TO odoo;

--
-- Name: TABLE stock_track_line; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_track_line IS 'Stock Track Line';


--
-- Name: COLUMN stock_track_line.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_line.product_id IS 'Product';


--
-- Name: COLUMN stock_track_line.wizard_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_line.wizard_id IS 'Wizard';


--
-- Name: COLUMN stock_track_line.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_line.create_uid IS 'Created by';


--
-- Name: COLUMN stock_track_line.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_line.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_track_line.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_line.create_date IS 'Created on';


--
-- Name: COLUMN stock_track_line.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_track_line.write_date IS 'Last Updated on';


--
-- Name: stock_track_line_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_track_line_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_track_line_id_seq OWNER TO odoo;

--
-- Name: stock_track_line_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_track_line_id_seq OWNED BY public.stock_track_line.id;


--
-- Name: stock_valuation_layer; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_valuation_layer (
    id integer NOT NULL,
    company_id integer NOT NULL,
    product_id integer NOT NULL,
    categ_id integer,
    stock_valuation_layer_id integer,
    stock_move_id integer,
    account_move_id integer,
    account_move_line_id integer,
    lot_id integer,
    create_uid integer,
    write_uid integer,
    description character varying,
    quantity numeric,
    unit_cost numeric,
    value numeric,
    remaining_qty numeric,
    remaining_value numeric,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    price_diff_value double precision
);


ALTER TABLE public.stock_valuation_layer OWNER TO odoo;

--
-- Name: TABLE stock_valuation_layer; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_valuation_layer IS 'Stock Valuation Layer';


--
-- Name: COLUMN stock_valuation_layer.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.company_id IS 'Company';


--
-- Name: COLUMN stock_valuation_layer.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.product_id IS 'Product';


--
-- Name: COLUMN stock_valuation_layer.categ_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.categ_id IS 'Product Category';


--
-- Name: COLUMN stock_valuation_layer.stock_valuation_layer_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.stock_valuation_layer_id IS 'Linked To';


--
-- Name: COLUMN stock_valuation_layer.stock_move_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.stock_move_id IS 'Stock Move';


--
-- Name: COLUMN stock_valuation_layer.account_move_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.account_move_id IS 'Journal Entry';


--
-- Name: COLUMN stock_valuation_layer.account_move_line_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.account_move_line_id IS 'Invoice Line';


--
-- Name: COLUMN stock_valuation_layer.lot_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.lot_id IS 'Lot/Serial Number';


--
-- Name: COLUMN stock_valuation_layer.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.create_uid IS 'Created by';


--
-- Name: COLUMN stock_valuation_layer.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_valuation_layer.description; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.description IS 'Description';


--
-- Name: COLUMN stock_valuation_layer.quantity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.quantity IS 'Quantity';


--
-- Name: COLUMN stock_valuation_layer.unit_cost; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.unit_cost IS 'Unit Value';


--
-- Name: COLUMN stock_valuation_layer.value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.value IS 'Total Value';


--
-- Name: COLUMN stock_valuation_layer.remaining_qty; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.remaining_qty IS 'Remaining Qty';


--
-- Name: COLUMN stock_valuation_layer.remaining_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.remaining_value IS 'Remaining Value';


--
-- Name: COLUMN stock_valuation_layer.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.create_date IS 'Created on';


--
-- Name: COLUMN stock_valuation_layer.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_valuation_layer.price_diff_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer.price_diff_value IS 'Invoice value correction with invoice currency';


--
-- Name: stock_valuation_layer_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_valuation_layer_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_valuation_layer_id_seq OWNER TO odoo;

--
-- Name: stock_valuation_layer_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_valuation_layer_id_seq OWNED BY public.stock_valuation_layer.id;


--
-- Name: stock_valuation_layer_revaluation; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_valuation_layer_revaluation (
    id integer NOT NULL,
    company_id integer NOT NULL,
    product_id integer NOT NULL,
    lot_id integer,
    account_journal_id integer,
    account_id integer,
    create_uid integer,
    write_uid integer,
    reason character varying,
    date date,
    added_value numeric NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.stock_valuation_layer_revaluation OWNER TO odoo;

--
-- Name: TABLE stock_valuation_layer_revaluation; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_valuation_layer_revaluation IS 'Wizard model to reavaluate a stock inventory for a product';


--
-- Name: COLUMN stock_valuation_layer_revaluation.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.company_id IS 'Company';


--
-- Name: COLUMN stock_valuation_layer_revaluation.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.product_id IS 'Related product';


--
-- Name: COLUMN stock_valuation_layer_revaluation.lot_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.lot_id IS 'Related lot/serial number';


--
-- Name: COLUMN stock_valuation_layer_revaluation.account_journal_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.account_journal_id IS 'Journal';


--
-- Name: COLUMN stock_valuation_layer_revaluation.account_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.account_id IS 'Counterpart Account';


--
-- Name: COLUMN stock_valuation_layer_revaluation.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.create_uid IS 'Created by';


--
-- Name: COLUMN stock_valuation_layer_revaluation.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_valuation_layer_revaluation.reason; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.reason IS 'Reason';


--
-- Name: COLUMN stock_valuation_layer_revaluation.date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.date IS 'Accounting Date';


--
-- Name: COLUMN stock_valuation_layer_revaluation.added_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.added_value IS 'Added value';


--
-- Name: COLUMN stock_valuation_layer_revaluation.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.create_date IS 'Created on';


--
-- Name: COLUMN stock_valuation_layer_revaluation.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_valuation_layer_revaluation.write_date IS 'Last Updated on';


--
-- Name: stock_valuation_layer_revaluation_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_valuation_layer_revaluation_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_valuation_layer_revaluation_id_seq OWNER TO odoo;

--
-- Name: stock_valuation_layer_revaluation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_valuation_layer_revaluation_id_seq OWNED BY public.stock_valuation_layer_revaluation.id;


--
-- Name: stock_valuation_layer_stock_valuation_layer_revaluation_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_valuation_layer_stock_valuation_layer_revaluation_rel (
    stock_valuation_layer_revaluation_id integer NOT NULL,
    stock_valuation_layer_id integer NOT NULL
);


ALTER TABLE public.stock_valuation_layer_stock_valuation_layer_revaluation_rel OWNER TO odoo;

--
-- Name: TABLE stock_valuation_layer_stock_valuation_layer_revaluation_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_valuation_layer_stock_valuation_layer_revaluation_rel IS 'RELATION BETWEEN stock_valuation_layer_revaluation AND stock_valuation_layer';


--
-- Name: stock_warehouse_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_warehouse_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_warehouse_id_seq OWNER TO odoo;

--
-- Name: stock_warehouse_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_warehouse_id_seq OWNED BY public.stock_warehouse.id;


--
-- Name: stock_warehouse_orderpoint; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_warehouse_orderpoint (
    id integer NOT NULL,
    warehouse_id integer NOT NULL,
    location_id integer NOT NULL,
    product_id integer NOT NULL,
    product_category_id integer,
    group_id integer,
    company_id integer NOT NULL,
    route_id integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    trigger character varying NOT NULL,
    snoozed_until date,
    product_min_qty numeric NOT NULL,
    product_max_qty numeric NOT NULL,
    qty_multiple numeric NOT NULL,
    qty_to_order_manual numeric,
    active boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    bom_id integer,
    manufacturing_visibility_days double precision,
    supplier_id integer,
    vendor_id integer,
    product_supplier_id integer,
    purchase_visibility_days double precision,
    CONSTRAINT stock_warehouse_orderpoint_qty_multiple_check CHECK ((qty_multiple >= (0)::numeric))
);


ALTER TABLE public.stock_warehouse_orderpoint OWNER TO odoo;

--
-- Name: TABLE stock_warehouse_orderpoint; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_warehouse_orderpoint IS 'Minimum Inventory Rule';


--
-- Name: COLUMN stock_warehouse_orderpoint.warehouse_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.warehouse_id IS 'Warehouse';


--
-- Name: COLUMN stock_warehouse_orderpoint.location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.location_id IS 'Location';


--
-- Name: COLUMN stock_warehouse_orderpoint.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.product_id IS 'Product';


--
-- Name: COLUMN stock_warehouse_orderpoint.product_category_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.product_category_id IS 'Product Category';


--
-- Name: COLUMN stock_warehouse_orderpoint.group_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.group_id IS 'Procurement Group';


--
-- Name: COLUMN stock_warehouse_orderpoint.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.company_id IS 'Company';


--
-- Name: COLUMN stock_warehouse_orderpoint.route_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.route_id IS 'Route';


--
-- Name: COLUMN stock_warehouse_orderpoint.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.create_uid IS 'Created by';


--
-- Name: COLUMN stock_warehouse_orderpoint.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_warehouse_orderpoint.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.name IS 'Name';


--
-- Name: COLUMN stock_warehouse_orderpoint.trigger; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.trigger IS 'Trigger';


--
-- Name: COLUMN stock_warehouse_orderpoint.snoozed_until; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.snoozed_until IS 'Snoozed';


--
-- Name: COLUMN stock_warehouse_orderpoint.product_min_qty; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.product_min_qty IS 'Min Quantity';


--
-- Name: COLUMN stock_warehouse_orderpoint.product_max_qty; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.product_max_qty IS 'Max Quantity';


--
-- Name: COLUMN stock_warehouse_orderpoint.qty_multiple; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.qty_multiple IS 'Multiple Quantity';


--
-- Name: COLUMN stock_warehouse_orderpoint.qty_to_order_manual; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.qty_to_order_manual IS 'To Order Manual';


--
-- Name: COLUMN stock_warehouse_orderpoint.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.active IS 'Active';


--
-- Name: COLUMN stock_warehouse_orderpoint.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.create_date IS 'Created on';


--
-- Name: COLUMN stock_warehouse_orderpoint.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_warehouse_orderpoint.bom_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.bom_id IS 'Bill of Materials';


--
-- Name: COLUMN stock_warehouse_orderpoint.manufacturing_visibility_days; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.manufacturing_visibility_days IS 'Manufacturing Visibility Days';


--
-- Name: COLUMN stock_warehouse_orderpoint.supplier_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.supplier_id IS 'Supplier';


--
-- Name: COLUMN stock_warehouse_orderpoint.vendor_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.vendor_id IS 'Vendor';


--
-- Name: COLUMN stock_warehouse_orderpoint.product_supplier_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.product_supplier_id IS 'Product Supplier';


--
-- Name: COLUMN stock_warehouse_orderpoint.purchase_visibility_days; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warehouse_orderpoint.purchase_visibility_days IS 'Purchase Visibility Days';


--
-- Name: CONSTRAINT stock_warehouse_orderpoint_qty_multiple_check ON stock_warehouse_orderpoint; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT stock_warehouse_orderpoint_qty_multiple_check ON public.stock_warehouse_orderpoint IS 'CHECK( qty_multiple >= 0 )';


--
-- Name: stock_warehouse_orderpoint_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_warehouse_orderpoint_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_warehouse_orderpoint_id_seq OWNER TO odoo;

--
-- Name: stock_warehouse_orderpoint_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_warehouse_orderpoint_id_seq OWNED BY public.stock_warehouse_orderpoint.id;


--
-- Name: stock_warn_insufficient_qty_repair; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_warn_insufficient_qty_repair (
    id integer NOT NULL,
    product_id integer NOT NULL,
    location_id integer NOT NULL,
    repair_id integer,
    create_uid integer,
    write_uid integer,
    product_uom_name character varying NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    quantity double precision NOT NULL
);


ALTER TABLE public.stock_warn_insufficient_qty_repair OWNER TO odoo;

--
-- Name: TABLE stock_warn_insufficient_qty_repair; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_warn_insufficient_qty_repair IS 'Warn Insufficient Repair Quantity';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.product_id IS 'Product';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.location_id IS 'Location';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.repair_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.repair_id IS 'Repair';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.create_uid IS 'Created by';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.product_uom_name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.product_uom_name IS 'Unit of Measure';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.create_date IS 'Created on';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_warn_insufficient_qty_repair.quantity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_repair.quantity IS 'Quantity';


--
-- Name: stock_warn_insufficient_qty_repair_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_warn_insufficient_qty_repair_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_warn_insufficient_qty_repair_id_seq OWNER TO odoo;

--
-- Name: stock_warn_insufficient_qty_repair_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_warn_insufficient_qty_repair_id_seq OWNED BY public.stock_warn_insufficient_qty_repair.id;


--
-- Name: stock_warn_insufficient_qty_scrap; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_warn_insufficient_qty_scrap (
    id integer NOT NULL,
    product_id integer NOT NULL,
    location_id integer NOT NULL,
    scrap_id integer,
    create_uid integer,
    write_uid integer,
    product_uom_name character varying NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    quantity double precision NOT NULL
);


ALTER TABLE public.stock_warn_insufficient_qty_scrap OWNER TO odoo;

--
-- Name: TABLE stock_warn_insufficient_qty_scrap; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_warn_insufficient_qty_scrap IS 'Warn Insufficient Scrap Quantity';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.product_id IS 'Product';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.location_id IS 'Location';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.scrap_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.scrap_id IS 'Scrap';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.create_uid IS 'Created by';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.product_uom_name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.product_uom_name IS 'Unit of Measure';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.create_date IS 'Created on';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_warn_insufficient_qty_scrap.quantity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_scrap.quantity IS 'Quantity';


--
-- Name: stock_warn_insufficient_qty_scrap_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_warn_insufficient_qty_scrap_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_warn_insufficient_qty_scrap_id_seq OWNER TO odoo;

--
-- Name: stock_warn_insufficient_qty_scrap_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_warn_insufficient_qty_scrap_id_seq OWNED BY public.stock_warn_insufficient_qty_scrap.id;


--
-- Name: stock_warn_insufficient_qty_unbuild; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_warn_insufficient_qty_unbuild (
    id integer NOT NULL,
    product_id integer NOT NULL,
    location_id integer NOT NULL,
    unbuild_id integer,
    create_uid integer,
    write_uid integer,
    product_uom_name character varying NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    quantity double precision NOT NULL
);


ALTER TABLE public.stock_warn_insufficient_qty_unbuild OWNER TO odoo;

--
-- Name: TABLE stock_warn_insufficient_qty_unbuild; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_warn_insufficient_qty_unbuild IS 'Warn Insufficient Unbuild Quantity';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.product_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.product_id IS 'Product';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.location_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.location_id IS 'Location';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.unbuild_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.unbuild_id IS 'Unbuild';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.create_uid IS 'Created by';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.write_uid IS 'Last Updated by';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.product_uom_name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.product_uom_name IS 'Unit of Measure';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.create_date IS 'Created on';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.write_date IS 'Last Updated on';


--
-- Name: COLUMN stock_warn_insufficient_qty_unbuild.quantity; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.stock_warn_insufficient_qty_unbuild.quantity IS 'Quantity';


--
-- Name: stock_warn_insufficient_qty_unbuild_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.stock_warn_insufficient_qty_unbuild_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.stock_warn_insufficient_qty_unbuild_id_seq OWNER TO odoo;

--
-- Name: stock_warn_insufficient_qty_unbuild_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.stock_warn_insufficient_qty_unbuild_id_seq OWNED BY public.stock_warn_insufficient_qty_unbuild.id;


--
-- Name: stock_wh_resupply_table; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.stock_wh_resupply_table (
    supplied_wh_id integer NOT NULL,
    supplier_wh_id integer NOT NULL
);


ALTER TABLE public.stock_wh_resupply_table OWNER TO odoo;

--
-- Name: TABLE stock_wh_resupply_table; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.stock_wh_resupply_table IS 'RELATION BETWEEN stock_warehouse AND stock_warehouse';


--
-- Name: task_dependencies_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.task_dependencies_rel (
    task_id integer NOT NULL,
    depends_on_id integer NOT NULL
);


ALTER TABLE public.task_dependencies_rel OWNER TO odoo;

--
-- Name: TABLE task_dependencies_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.task_dependencies_rel IS 'RELATION BETWEEN project_task AND project_task';


--
-- Name: team_favorite_user_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.team_favorite_user_rel (
    team_id integer NOT NULL,
    user_id integer NOT NULL
);


ALTER TABLE public.team_favorite_user_rel OWNER TO odoo;

--
-- Name: TABLE team_favorite_user_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.team_favorite_user_rel IS 'RELATION BETWEEN crm_team AND res_users';


--
-- Name: template_attribute_value_mrp_production_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.template_attribute_value_mrp_production_rel (
    production_id integer NOT NULL,
    template_attribute_value_id integer NOT NULL
);


ALTER TABLE public.template_attribute_value_mrp_production_rel OWNER TO odoo;

--
-- Name: TABLE template_attribute_value_mrp_production_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.template_attribute_value_mrp_production_rel IS 'RELATION BETWEEN mrp_production AND product_template_attribute_value';


--
-- Name: template_attribute_value_stock_move_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.template_attribute_value_stock_move_rel (
    move_id integer NOT NULL,
    template_attribute_value_id integer NOT NULL
);


ALTER TABLE public.template_attribute_value_stock_move_rel OWNER TO odoo;

--
-- Name: TABLE template_attribute_value_stock_move_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.template_attribute_value_stock_move_rel IS 'RELATION BETWEEN stock_move AND product_template_attribute_value';


--
-- Name: theme_ir_asset; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.theme_ir_asset (
    id integer NOT NULL,
    sequence integer NOT NULL,
    create_uid integer,
    write_uid integer,
    key character varying,
    name character varying NOT NULL,
    bundle character varying NOT NULL,
    directive character varying,
    path character varying NOT NULL,
    target character varying,
    active boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.theme_ir_asset OWNER TO odoo;

--
-- Name: TABLE theme_ir_asset; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.theme_ir_asset IS 'Theme Asset';


--
-- Name: COLUMN theme_ir_asset.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.sequence IS 'Sequence';


--
-- Name: COLUMN theme_ir_asset.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.create_uid IS 'Created by';


--
-- Name: COLUMN theme_ir_asset.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.write_uid IS 'Last Updated by';


--
-- Name: COLUMN theme_ir_asset.key; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.key IS 'Key';


--
-- Name: COLUMN theme_ir_asset.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.name IS 'Name';


--
-- Name: COLUMN theme_ir_asset.bundle; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.bundle IS 'Bundle';


--
-- Name: COLUMN theme_ir_asset.directive; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.directive IS 'Directive';


--
-- Name: COLUMN theme_ir_asset.path; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.path IS 'Path';


--
-- Name: COLUMN theme_ir_asset.target; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.target IS 'Target';


--
-- Name: COLUMN theme_ir_asset.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.active IS 'Active';


--
-- Name: COLUMN theme_ir_asset.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.create_date IS 'Created on';


--
-- Name: COLUMN theme_ir_asset.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_asset.write_date IS 'Last Updated on';


--
-- Name: theme_ir_asset_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.theme_ir_asset_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.theme_ir_asset_id_seq OWNER TO odoo;

--
-- Name: theme_ir_asset_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.theme_ir_asset_id_seq OWNED BY public.theme_ir_asset.id;


--
-- Name: theme_ir_attachment; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.theme_ir_attachment (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    key character varying NOT NULL,
    url character varying,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.theme_ir_attachment OWNER TO odoo;

--
-- Name: TABLE theme_ir_attachment; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.theme_ir_attachment IS 'Theme Attachments';


--
-- Name: COLUMN theme_ir_attachment.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_attachment.create_uid IS 'Created by';


--
-- Name: COLUMN theme_ir_attachment.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_attachment.write_uid IS 'Last Updated by';


--
-- Name: COLUMN theme_ir_attachment.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_attachment.name IS 'Name';


--
-- Name: COLUMN theme_ir_attachment.key; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_attachment.key IS 'Key';


--
-- Name: COLUMN theme_ir_attachment.url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_attachment.url IS 'Url';


--
-- Name: COLUMN theme_ir_attachment.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_attachment.create_date IS 'Created on';


--
-- Name: COLUMN theme_ir_attachment.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_attachment.write_date IS 'Last Updated on';


--
-- Name: theme_ir_attachment_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.theme_ir_attachment_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.theme_ir_attachment_id_seq OWNER TO odoo;

--
-- Name: theme_ir_attachment_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.theme_ir_attachment_id_seq OWNED BY public.theme_ir_attachment.id;


--
-- Name: theme_ir_ui_view; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.theme_ir_ui_view (
    id integer NOT NULL,
    priority integer NOT NULL,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    key character varying,
    type character varying,
    mode character varying,
    arch_fs character varying,
    inherit_id character varying,
    arch jsonb,
    active boolean,
    customize_show boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.theme_ir_ui_view OWNER TO odoo;

--
-- Name: TABLE theme_ir_ui_view; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.theme_ir_ui_view IS 'Theme UI View';


--
-- Name: COLUMN theme_ir_ui_view.priority; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.priority IS 'Priority';


--
-- Name: COLUMN theme_ir_ui_view.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.create_uid IS 'Created by';


--
-- Name: COLUMN theme_ir_ui_view.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.write_uid IS 'Last Updated by';


--
-- Name: COLUMN theme_ir_ui_view.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.name IS 'Name';


--
-- Name: COLUMN theme_ir_ui_view.key; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.key IS 'Key';


--
-- Name: COLUMN theme_ir_ui_view.type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.type IS 'Type';


--
-- Name: COLUMN theme_ir_ui_view.mode; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.mode IS 'Mode';


--
-- Name: COLUMN theme_ir_ui_view.arch_fs; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.arch_fs IS 'Arch Fs';


--
-- Name: COLUMN theme_ir_ui_view.inherit_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.inherit_id IS 'Inherit';


--
-- Name: COLUMN theme_ir_ui_view.arch; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.arch IS 'Arch';


--
-- Name: COLUMN theme_ir_ui_view.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.active IS 'Active';


--
-- Name: COLUMN theme_ir_ui_view.customize_show; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.customize_show IS 'Customize Show';


--
-- Name: COLUMN theme_ir_ui_view.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.create_date IS 'Created on';


--
-- Name: COLUMN theme_ir_ui_view.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_ir_ui_view.write_date IS 'Last Updated on';


--
-- Name: theme_ir_ui_view_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.theme_ir_ui_view_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.theme_ir_ui_view_id_seq OWNER TO odoo;

--
-- Name: theme_ir_ui_view_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.theme_ir_ui_view_id_seq OWNED BY public.theme_ir_ui_view.id;


--
-- Name: theme_website_menu; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.theme_website_menu (
    id integer NOT NULL,
    page_id integer,
    sequence integer,
    parent_id integer,
    create_uid integer,
    write_uid integer,
    url character varying,
    mega_menu_classes character varying,
    name jsonb NOT NULL,
    mega_menu_content text,
    new_window boolean,
    use_main_menu_as_parent boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.theme_website_menu OWNER TO odoo;

--
-- Name: TABLE theme_website_menu; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.theme_website_menu IS 'Website Theme Menu';


--
-- Name: COLUMN theme_website_menu.page_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.page_id IS 'Page';


--
-- Name: COLUMN theme_website_menu.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.sequence IS 'Sequence';


--
-- Name: COLUMN theme_website_menu.parent_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.parent_id IS 'Parent';


--
-- Name: COLUMN theme_website_menu.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.create_uid IS 'Created by';


--
-- Name: COLUMN theme_website_menu.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.write_uid IS 'Last Updated by';


--
-- Name: COLUMN theme_website_menu.url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.url IS 'Url';


--
-- Name: COLUMN theme_website_menu.mega_menu_classes; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.mega_menu_classes IS 'Mega Menu Classes';


--
-- Name: COLUMN theme_website_menu.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.name IS 'Name';


--
-- Name: COLUMN theme_website_menu.mega_menu_content; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.mega_menu_content IS 'Mega Menu Content';


--
-- Name: COLUMN theme_website_menu.new_window; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.new_window IS 'New Window';


--
-- Name: COLUMN theme_website_menu.use_main_menu_as_parent; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.use_main_menu_as_parent IS 'Use Main Menu As Parent';


--
-- Name: COLUMN theme_website_menu.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.create_date IS 'Created on';


--
-- Name: COLUMN theme_website_menu.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_menu.write_date IS 'Last Updated on';


--
-- Name: theme_website_menu_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.theme_website_menu_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.theme_website_menu_id_seq OWNER TO odoo;

--
-- Name: theme_website_menu_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.theme_website_menu_id_seq OWNED BY public.theme_website_menu.id;


--
-- Name: theme_website_page; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.theme_website_page (
    id integer NOT NULL,
    view_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    url character varying,
    header_color character varying,
    website_indexed boolean,
    is_published boolean,
    is_new_page_template boolean,
    header_overlay boolean,
    header_visible boolean,
    footer_visible boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.theme_website_page OWNER TO odoo;

--
-- Name: TABLE theme_website_page; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.theme_website_page IS 'Website Theme Page';


--
-- Name: COLUMN theme_website_page.view_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.view_id IS 'View';


--
-- Name: COLUMN theme_website_page.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.create_uid IS 'Created by';


--
-- Name: COLUMN theme_website_page.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.write_uid IS 'Last Updated by';


--
-- Name: COLUMN theme_website_page.url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.url IS 'Url';


--
-- Name: COLUMN theme_website_page.header_color; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.header_color IS 'Header Color';


--
-- Name: COLUMN theme_website_page.website_indexed; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.website_indexed IS 'Page Indexed';


--
-- Name: COLUMN theme_website_page.is_published; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.is_published IS 'Is Published';


--
-- Name: COLUMN theme_website_page.is_new_page_template; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.is_new_page_template IS 'New Page Template';


--
-- Name: COLUMN theme_website_page.header_overlay; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.header_overlay IS 'Header Overlay';


--
-- Name: COLUMN theme_website_page.header_visible; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.header_visible IS 'Header Visible';


--
-- Name: COLUMN theme_website_page.footer_visible; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.footer_visible IS 'Footer Visible';


--
-- Name: COLUMN theme_website_page.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.create_date IS 'Created on';


--
-- Name: COLUMN theme_website_page.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.theme_website_page.write_date IS 'Last Updated on';


--
-- Name: theme_website_page_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.theme_website_page_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.theme_website_page_id_seq OWNER TO odoo;

--
-- Name: theme_website_page_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.theme_website_page_id_seq OWNED BY public.theme_website_page.id;


--
-- Name: uom_category; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.uom_category (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    name jsonb NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.uom_category OWNER TO odoo;

--
-- Name: TABLE uom_category; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.uom_category IS 'Product UoM Categories';


--
-- Name: COLUMN uom_category.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_category.create_uid IS 'Created by';


--
-- Name: COLUMN uom_category.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_category.write_uid IS 'Last Updated by';


--
-- Name: COLUMN uom_category.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_category.name IS 'Unit of Measure Category';


--
-- Name: COLUMN uom_category.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_category.create_date IS 'Created on';


--
-- Name: COLUMN uom_category.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_category.write_date IS 'Last Updated on';


--
-- Name: uom_category_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.uom_category_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.uom_category_id_seq OWNER TO odoo;

--
-- Name: uom_category_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.uom_category_id_seq OWNED BY public.uom_category.id;


--
-- Name: uom_uom; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.uom_uom (
    id integer NOT NULL,
    category_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    uom_type character varying NOT NULL,
    name jsonb NOT NULL,
    factor numeric NOT NULL,
    rounding numeric NOT NULL,
    active boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    l10n_es_edi_facturae_uom_code character varying NOT NULL,
    CONSTRAINT uom_uom_factor_gt_zero CHECK ((factor <> (0)::numeric)),
    CONSTRAINT uom_uom_factor_reference_is_one CHECK (((((uom_type)::text = 'reference'::text) AND (factor = 1.0)) OR ((uom_type)::text <> 'reference'::text))),
    CONSTRAINT uom_uom_rounding_gt_zero CHECK ((rounding > (0)::numeric))
);


ALTER TABLE public.uom_uom OWNER TO odoo;

--
-- Name: TABLE uom_uom; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.uom_uom IS 'Product Unit of Measure';


--
-- Name: COLUMN uom_uom.category_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.category_id IS 'Category';


--
-- Name: COLUMN uom_uom.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.create_uid IS 'Created by';


--
-- Name: COLUMN uom_uom.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.write_uid IS 'Last Updated by';


--
-- Name: COLUMN uom_uom.uom_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.uom_type IS 'Type';


--
-- Name: COLUMN uom_uom.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.name IS 'Unit of Measure';


--
-- Name: COLUMN uom_uom.factor; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.factor IS 'Ratio';


--
-- Name: COLUMN uom_uom.rounding; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.rounding IS 'Rounding Precision';


--
-- Name: COLUMN uom_uom.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.active IS 'Active';


--
-- Name: COLUMN uom_uom.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.create_date IS 'Created on';


--
-- Name: COLUMN uom_uom.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.write_date IS 'Last Updated on';


--
-- Name: COLUMN uom_uom.l10n_es_edi_facturae_uom_code; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.uom_uom.l10n_es_edi_facturae_uom_code IS 'Spanish EDI Units';


--
-- Name: CONSTRAINT uom_uom_factor_gt_zero ON uom_uom; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT uom_uom_factor_gt_zero ON public.uom_uom IS 'CHECK (factor!=0)';


--
-- Name: CONSTRAINT uom_uom_factor_reference_is_one ON uom_uom; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT uom_uom_factor_reference_is_one ON public.uom_uom IS 'CHECK((uom_type = ''reference'' AND factor = 1.0) OR (uom_type != ''reference''))';


--
-- Name: CONSTRAINT uom_uom_rounding_gt_zero ON uom_uom; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON CONSTRAINT uom_uom_rounding_gt_zero ON public.uom_uom IS 'CHECK (rounding>0)';


--
-- Name: uom_uom_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.uom_uom_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.uom_uom_id_seq OWNER TO odoo;

--
-- Name: uom_uom_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.uom_uom_id_seq OWNED BY public.uom_uom.id;


--
-- Name: update_product_attribute_value; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.update_product_attribute_value (
    id integer NOT NULL,
    attribute_value_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    mode character varying,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.update_product_attribute_value OWNER TO odoo;

--
-- Name: TABLE update_product_attribute_value; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.update_product_attribute_value IS 'Update product attribute value';


--
-- Name: COLUMN update_product_attribute_value.attribute_value_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.update_product_attribute_value.attribute_value_id IS 'Attribute Value';


--
-- Name: COLUMN update_product_attribute_value.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.update_product_attribute_value.create_uid IS 'Created by';


--
-- Name: COLUMN update_product_attribute_value.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.update_product_attribute_value.write_uid IS 'Last Updated by';


--
-- Name: COLUMN update_product_attribute_value.mode; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.update_product_attribute_value.mode IS 'Mode';


--
-- Name: COLUMN update_product_attribute_value.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.update_product_attribute_value.create_date IS 'Created on';


--
-- Name: COLUMN update_product_attribute_value.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.update_product_attribute_value.write_date IS 'Last Updated on';


--
-- Name: update_product_attribute_value_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.update_product_attribute_value_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.update_product_attribute_value_id_seq OWNER TO odoo;

--
-- Name: update_product_attribute_value_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.update_product_attribute_value_id_seq OWNED BY public.update_product_attribute_value.id;


--
-- Name: utm_campaign; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.utm_campaign (
    id integer NOT NULL,
    user_id integer NOT NULL,
    stage_id integer NOT NULL,
    color integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    title jsonb NOT NULL,
    active boolean,
    is_auto_campaign boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    company_id integer
);


ALTER TABLE public.utm_campaign OWNER TO odoo;

--
-- Name: TABLE utm_campaign; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.utm_campaign IS 'UTM Campaign';


--
-- Name: COLUMN utm_campaign.user_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.user_id IS 'Responsible';


--
-- Name: COLUMN utm_campaign.stage_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.stage_id IS 'Stage';


--
-- Name: COLUMN utm_campaign.color; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.color IS 'Color Index';


--
-- Name: COLUMN utm_campaign.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.create_uid IS 'Created by';


--
-- Name: COLUMN utm_campaign.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.write_uid IS 'Last Updated by';


--
-- Name: COLUMN utm_campaign.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.name IS 'Campaign Identifier';


--
-- Name: COLUMN utm_campaign.title; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.title IS 'Campaign Name';


--
-- Name: COLUMN utm_campaign.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.active IS 'Active';


--
-- Name: COLUMN utm_campaign.is_auto_campaign; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.is_auto_campaign IS 'Automatically Generated Campaign';


--
-- Name: COLUMN utm_campaign.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.create_date IS 'Created on';


--
-- Name: COLUMN utm_campaign.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.write_date IS 'Last Updated on';


--
-- Name: COLUMN utm_campaign.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_campaign.company_id IS 'Company';


--
-- Name: utm_campaign_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.utm_campaign_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.utm_campaign_id_seq OWNER TO odoo;

--
-- Name: utm_campaign_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.utm_campaign_id_seq OWNED BY public.utm_campaign.id;


--
-- Name: utm_medium; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.utm_medium (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    active boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.utm_medium OWNER TO odoo;

--
-- Name: TABLE utm_medium; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.utm_medium IS 'UTM Medium';


--
-- Name: COLUMN utm_medium.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_medium.create_uid IS 'Created by';


--
-- Name: COLUMN utm_medium.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_medium.write_uid IS 'Last Updated by';


--
-- Name: COLUMN utm_medium.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_medium.name IS 'Medium Name';


--
-- Name: COLUMN utm_medium.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_medium.active IS 'Active';


--
-- Name: COLUMN utm_medium.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_medium.create_date IS 'Created on';


--
-- Name: COLUMN utm_medium.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_medium.write_date IS 'Last Updated on';


--
-- Name: utm_medium_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.utm_medium_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.utm_medium_id_seq OWNER TO odoo;

--
-- Name: utm_medium_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.utm_medium_id_seq OWNED BY public.utm_medium.id;


--
-- Name: utm_source; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.utm_source (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.utm_source OWNER TO odoo;

--
-- Name: TABLE utm_source; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.utm_source IS 'UTM Source';


--
-- Name: COLUMN utm_source.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_source.create_uid IS 'Created by';


--
-- Name: COLUMN utm_source.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_source.write_uid IS 'Last Updated by';


--
-- Name: COLUMN utm_source.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_source.name IS 'Source Name';


--
-- Name: COLUMN utm_source.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_source.create_date IS 'Created on';


--
-- Name: COLUMN utm_source.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_source.write_date IS 'Last Updated on';


--
-- Name: utm_source_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.utm_source_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.utm_source_id_seq OWNER TO odoo;

--
-- Name: utm_source_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.utm_source_id_seq OWNED BY public.utm_source.id;


--
-- Name: utm_stage; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.utm_stage (
    id integer NOT NULL,
    sequence integer,
    create_uid integer,
    write_uid integer,
    name jsonb NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.utm_stage OWNER TO odoo;

--
-- Name: TABLE utm_stage; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.utm_stage IS 'Campaign Stage';


--
-- Name: COLUMN utm_stage.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_stage.sequence IS 'Sequence';


--
-- Name: COLUMN utm_stage.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_stage.create_uid IS 'Created by';


--
-- Name: COLUMN utm_stage.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_stage.write_uid IS 'Last Updated by';


--
-- Name: COLUMN utm_stage.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_stage.name IS 'Name';


--
-- Name: COLUMN utm_stage.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_stage.create_date IS 'Created on';


--
-- Name: COLUMN utm_stage.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_stage.write_date IS 'Last Updated on';


--
-- Name: utm_stage_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.utm_stage_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.utm_stage_id_seq OWNER TO odoo;

--
-- Name: utm_stage_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.utm_stage_id_seq OWNED BY public.utm_stage.id;


--
-- Name: utm_tag; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.utm_tag (
    id integer NOT NULL,
    color integer,
    create_uid integer,
    write_uid integer,
    name jsonb NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.utm_tag OWNER TO odoo;

--
-- Name: TABLE utm_tag; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.utm_tag IS 'UTM Tag';


--
-- Name: COLUMN utm_tag.color; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_tag.color IS 'Color Index';


--
-- Name: COLUMN utm_tag.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_tag.create_uid IS 'Created by';


--
-- Name: COLUMN utm_tag.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_tag.write_uid IS 'Last Updated by';


--
-- Name: COLUMN utm_tag.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_tag.name IS 'Name';


--
-- Name: COLUMN utm_tag.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_tag.create_date IS 'Created on';


--
-- Name: COLUMN utm_tag.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.utm_tag.write_date IS 'Last Updated on';


--
-- Name: utm_tag_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.utm_tag_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.utm_tag_id_seq OWNER TO odoo;

--
-- Name: utm_tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.utm_tag_id_seq OWNED BY public.utm_tag.id;


--
-- Name: utm_tag_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.utm_tag_rel (
    tag_id integer NOT NULL,
    campaign_id integer NOT NULL
);


ALTER TABLE public.utm_tag_rel OWNER TO odoo;

--
-- Name: TABLE utm_tag_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.utm_tag_rel IS 'RELATION BETWEEN utm_campaign AND utm_tag';


--
-- Name: validate_account_move; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.validate_account_move (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    force_post boolean,
    ignore_abnormal_date boolean,
    ignore_abnormal_amount boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.validate_account_move OWNER TO odoo;

--
-- Name: TABLE validate_account_move; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.validate_account_move IS 'Validate Account Move';


--
-- Name: COLUMN validate_account_move.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.validate_account_move.create_uid IS 'Created by';


--
-- Name: COLUMN validate_account_move.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.validate_account_move.write_uid IS 'Last Updated by';


--
-- Name: COLUMN validate_account_move.force_post; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.validate_account_move.force_post IS 'Force';


--
-- Name: COLUMN validate_account_move.ignore_abnormal_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.validate_account_move.ignore_abnormal_date IS 'Ignore Abnormal Date';


--
-- Name: COLUMN validate_account_move.ignore_abnormal_amount; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.validate_account_move.ignore_abnormal_amount IS 'Ignore Abnormal Amount';


--
-- Name: COLUMN validate_account_move.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.validate_account_move.create_date IS 'Created on';


--
-- Name: COLUMN validate_account_move.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.validate_account_move.write_date IS 'Last Updated on';


--
-- Name: validate_account_move_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.validate_account_move_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.validate_account_move_id_seq OWNER TO odoo;

--
-- Name: validate_account_move_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.validate_account_move_id_seq OWNED BY public.validate_account_move.id;


--
-- Name: vendor_delay_report; Type: VIEW; Schema: public; Owner: odoo
--

CREATE VIEW public.vendor_delay_report AS
SELECT
    NULL::integer AS id,
    NULL::timestamp without time zone AS date,
    NULL::integer AS purchase_line_id,
    NULL::integer AS product_id,
    NULL::integer AS category_id,
    NULL::integer AS partner_id,
    NULL::double precision AS qty_total,
    NULL::numeric AS qty_on_time;


ALTER VIEW public.vendor_delay_report OWNER TO odoo;

--
-- Name: web_editor_converter_test; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.web_editor_converter_test (
    id integer NOT NULL,
    "integer" integer,
    many2one integer,
    create_uid integer,
    write_uid integer,
    "char" character varying,
    selection_str character varying,
    date date,
    html text,
    text text,
    "numeric" numeric,
    datetime timestamp without time zone,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    "float" double precision,
    "binary" bytea
);


ALTER TABLE public.web_editor_converter_test OWNER TO odoo;

--
-- Name: TABLE web_editor_converter_test; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.web_editor_converter_test IS 'Web Editor Converter Test';


--
-- Name: COLUMN web_editor_converter_test."integer"; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test."integer" IS 'Integer';


--
-- Name: COLUMN web_editor_converter_test.many2one; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.many2one IS 'Many2One';


--
-- Name: COLUMN web_editor_converter_test.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.create_uid IS 'Created by';


--
-- Name: COLUMN web_editor_converter_test.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.write_uid IS 'Last Updated by';


--
-- Name: COLUMN web_editor_converter_test."char"; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test."char" IS 'Char';


--
-- Name: COLUMN web_editor_converter_test.selection_str; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.selection_str IS 'Lorsqu''un pancake prend l''avion à destination de Toronto et qu''il fait une escale technique à St Claude, on dit:';


--
-- Name: COLUMN web_editor_converter_test.date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.date IS 'Date';


--
-- Name: COLUMN web_editor_converter_test.html; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.html IS 'Html';


--
-- Name: COLUMN web_editor_converter_test.text; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.text IS 'Text';


--
-- Name: COLUMN web_editor_converter_test."numeric"; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test."numeric" IS 'Numeric';


--
-- Name: COLUMN web_editor_converter_test.datetime; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.datetime IS 'Datetime';


--
-- Name: COLUMN web_editor_converter_test.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.create_date IS 'Created on';


--
-- Name: COLUMN web_editor_converter_test.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test.write_date IS 'Last Updated on';


--
-- Name: COLUMN web_editor_converter_test."float"; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test."float" IS 'Float';


--
-- Name: COLUMN web_editor_converter_test."binary"; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test."binary" IS 'Binary';


--
-- Name: web_editor_converter_test_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.web_editor_converter_test_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.web_editor_converter_test_id_seq OWNER TO odoo;

--
-- Name: web_editor_converter_test_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.web_editor_converter_test_id_seq OWNED BY public.web_editor_converter_test.id;


--
-- Name: web_editor_converter_test_sub; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.web_editor_converter_test_sub (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    name character varying,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.web_editor_converter_test_sub OWNER TO odoo;

--
-- Name: TABLE web_editor_converter_test_sub; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.web_editor_converter_test_sub IS 'Web Editor Converter Subtest';


--
-- Name: COLUMN web_editor_converter_test_sub.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test_sub.create_uid IS 'Created by';


--
-- Name: COLUMN web_editor_converter_test_sub.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test_sub.write_uid IS 'Last Updated by';


--
-- Name: COLUMN web_editor_converter_test_sub.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test_sub.name IS 'Name';


--
-- Name: COLUMN web_editor_converter_test_sub.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test_sub.create_date IS 'Created on';


--
-- Name: COLUMN web_editor_converter_test_sub.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_editor_converter_test_sub.write_date IS 'Last Updated on';


--
-- Name: web_editor_converter_test_sub_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.web_editor_converter_test_sub_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.web_editor_converter_test_sub_id_seq OWNER TO odoo;

--
-- Name: web_editor_converter_test_sub_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.web_editor_converter_test_sub_id_seq OWNED BY public.web_editor_converter_test_sub.id;


--
-- Name: web_tour_tour; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.web_tour_tour (
    id integer NOT NULL,
    sequence integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    url character varying,
    rainbow_man_message jsonb,
    custom boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.web_tour_tour OWNER TO odoo;

--
-- Name: TABLE web_tour_tour; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.web_tour_tour IS 'Tours';


--
-- Name: COLUMN web_tour_tour.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.sequence IS 'Sequence';


--
-- Name: COLUMN web_tour_tour.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.create_uid IS 'Created by';


--
-- Name: COLUMN web_tour_tour.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.write_uid IS 'Last Updated by';


--
-- Name: COLUMN web_tour_tour.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.name IS 'Name';


--
-- Name: COLUMN web_tour_tour.url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.url IS 'Starting URL';


--
-- Name: COLUMN web_tour_tour.rainbow_man_message; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.rainbow_man_message IS 'Rainbow Man Message';


--
-- Name: COLUMN web_tour_tour.custom; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.custom IS 'Custom';


--
-- Name: COLUMN web_tour_tour.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.create_date IS 'Created on';


--
-- Name: COLUMN web_tour_tour.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour.write_date IS 'Last Updated on';


--
-- Name: web_tour_tour_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.web_tour_tour_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.web_tour_tour_id_seq OWNER TO odoo;

--
-- Name: web_tour_tour_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.web_tour_tour_id_seq OWNED BY public.web_tour_tour.id;


--
-- Name: web_tour_tour_step; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.web_tour_tour_step (
    id integer NOT NULL,
    tour_id integer NOT NULL,
    sequence integer,
    create_uid integer,
    write_uid integer,
    trigger character varying NOT NULL,
    content character varying,
    run character varying,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.web_tour_tour_step OWNER TO odoo;

--
-- Name: TABLE web_tour_tour_step; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.web_tour_tour_step IS 'Tour''s step';


--
-- Name: COLUMN web_tour_tour_step.tour_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.tour_id IS 'Tour';


--
-- Name: COLUMN web_tour_tour_step.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.sequence IS 'Sequence';


--
-- Name: COLUMN web_tour_tour_step.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.create_uid IS 'Created by';


--
-- Name: COLUMN web_tour_tour_step.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.write_uid IS 'Last Updated by';


--
-- Name: COLUMN web_tour_tour_step.trigger; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.trigger IS 'Trigger';


--
-- Name: COLUMN web_tour_tour_step.content; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.content IS 'Content';


--
-- Name: COLUMN web_tour_tour_step.run; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.run IS 'Run';


--
-- Name: COLUMN web_tour_tour_step.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.create_date IS 'Created on';


--
-- Name: COLUMN web_tour_tour_step.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.web_tour_tour_step.write_date IS 'Last Updated on';


--
-- Name: web_tour_tour_step_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.web_tour_tour_step_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.web_tour_tour_step_id_seq OWNER TO odoo;

--
-- Name: web_tour_tour_step_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.web_tour_tour_step_id_seq OWNED BY public.web_tour_tour_step.id;


--
-- Name: website; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website (
    id integer NOT NULL,
    sequence integer,
    company_id integer NOT NULL,
    default_lang_id integer NOT NULL,
    user_id integer NOT NULL,
    theme_id integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    domain character varying,
    social_twitter character varying,
    social_facebook character varying,
    social_github character varying,
    social_linkedin character varying,
    social_youtube character varying,
    social_instagram character varying,
    social_tiktok character varying,
    google_analytics_key character varying,
    google_search_console character varying,
    google_maps_api_key character varying,
    plausible_shared_key character varying,
    plausible_site character varying,
    cdn_url character varying,
    homepage_url character varying,
    auth_signup_uninvited character varying,
    custom_blocked_third_party_domains text,
    cdn_filters text,
    custom_code_head text,
    custom_code_footer text,
    robots_txt text,
    auto_redirect_lang boolean,
    cookies_bar boolean,
    configurator_done boolean,
    block_third_party_domains boolean,
    has_social_default_image boolean,
    cdn_activated boolean,
    specific_user_account boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone,
    crm_default_team_id integer,
    crm_default_user_id integer
);


ALTER TABLE public.website OWNER TO odoo;

--
-- Name: TABLE website; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website IS 'Website';


--
-- Name: COLUMN website.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.sequence IS 'Sequence';


--
-- Name: COLUMN website.company_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.company_id IS 'Company';


--
-- Name: COLUMN website.default_lang_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.default_lang_id IS 'Default Language';


--
-- Name: COLUMN website.user_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.user_id IS 'Public User';


--
-- Name: COLUMN website.theme_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.theme_id IS 'Theme';


--
-- Name: COLUMN website.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.create_uid IS 'Created by';


--
-- Name: COLUMN website.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.name IS 'Website Name';


--
-- Name: COLUMN website.domain; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.domain IS 'Website Domain';


--
-- Name: COLUMN website.social_twitter; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.social_twitter IS 'X Account';


--
-- Name: COLUMN website.social_facebook; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.social_facebook IS 'Facebook Account';


--
-- Name: COLUMN website.social_github; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.social_github IS 'GitHub Account';


--
-- Name: COLUMN website.social_linkedin; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.social_linkedin IS 'LinkedIn Account';


--
-- Name: COLUMN website.social_youtube; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.social_youtube IS 'Youtube Account';


--
-- Name: COLUMN website.social_instagram; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.social_instagram IS 'Instagram Account';


--
-- Name: COLUMN website.social_tiktok; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.social_tiktok IS 'TikTok Account';


--
-- Name: COLUMN website.google_analytics_key; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.google_analytics_key IS 'Google Analytics Key';


--
-- Name: COLUMN website.google_search_console; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.google_search_console IS 'Google Search Console';


--
-- Name: COLUMN website.google_maps_api_key; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.google_maps_api_key IS 'Google Maps API Key';


--
-- Name: COLUMN website.plausible_shared_key; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.plausible_shared_key IS 'Plausible Shared Key';


--
-- Name: COLUMN website.plausible_site; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.plausible_site IS 'Plausible Site';


--
-- Name: COLUMN website.cdn_url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.cdn_url IS 'CDN Base URL';


--
-- Name: COLUMN website.homepage_url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.homepage_url IS 'Homepage Url';


--
-- Name: COLUMN website.auth_signup_uninvited; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.auth_signup_uninvited IS 'Customer Account';


--
-- Name: COLUMN website.custom_blocked_third_party_domains; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.custom_blocked_third_party_domains IS 'User list of blocked 3rd-party domains';


--
-- Name: COLUMN website.cdn_filters; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.cdn_filters IS 'CDN Filters';


--
-- Name: COLUMN website.custom_code_head; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.custom_code_head IS 'Custom <head> code';


--
-- Name: COLUMN website.custom_code_footer; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.custom_code_footer IS 'Custom end of <body> code';


--
-- Name: COLUMN website.robots_txt; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.robots_txt IS 'Robots.txt';


--
-- Name: COLUMN website.auto_redirect_lang; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.auto_redirect_lang IS 'Autoredirect Language';


--
-- Name: COLUMN website.cookies_bar; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.cookies_bar IS 'Cookies Bar';


--
-- Name: COLUMN website.configurator_done; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.configurator_done IS 'Configurator Done';


--
-- Name: COLUMN website.block_third_party_domains; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.block_third_party_domains IS 'Block 3rd-party domains';


--
-- Name: COLUMN website.has_social_default_image; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.has_social_default_image IS 'Has Social Default Image';


--
-- Name: COLUMN website.cdn_activated; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.cdn_activated IS 'Content Delivery Network (CDN)';


--
-- Name: COLUMN website.specific_user_account; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.specific_user_account IS 'Specific User Account';


--
-- Name: COLUMN website.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.create_date IS 'Created on';


--
-- Name: COLUMN website.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.write_date IS 'Last Updated on';


--
-- Name: COLUMN website.crm_default_team_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.crm_default_team_id IS 'Default Sales Teams';


--
-- Name: COLUMN website.crm_default_user_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website.crm_default_user_id IS 'Default Salesperson';


--
-- Name: website_configurator_feature; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_configurator_feature (
    id integer NOT NULL,
    sequence integer,
    page_view_id integer,
    module_id integer,
    menu_sequence integer,
    create_uid integer,
    write_uid integer,
    icon character varying,
    iap_page_code character varying,
    website_config_preselection character varying,
    feature_url character varying,
    name jsonb,
    description jsonb,
    menu_company boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_configurator_feature OWNER TO odoo;

--
-- Name: TABLE website_configurator_feature; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_configurator_feature IS 'Website Configurator Feature';


--
-- Name: COLUMN website_configurator_feature.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.sequence IS 'Sequence';


--
-- Name: COLUMN website_configurator_feature.page_view_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.page_view_id IS 'Page View';


--
-- Name: COLUMN website_configurator_feature.module_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.module_id IS 'Module';


--
-- Name: COLUMN website_configurator_feature.menu_sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.menu_sequence IS 'Menu Sequence';


--
-- Name: COLUMN website_configurator_feature.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.create_uid IS 'Created by';


--
-- Name: COLUMN website_configurator_feature.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_configurator_feature.icon; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.icon IS 'Icon';


--
-- Name: COLUMN website_configurator_feature.iap_page_code; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.iap_page_code IS 'Iap Page Code';


--
-- Name: COLUMN website_configurator_feature.website_config_preselection; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.website_config_preselection IS 'Website Config Preselection';


--
-- Name: COLUMN website_configurator_feature.feature_url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.feature_url IS 'Feature Url';


--
-- Name: COLUMN website_configurator_feature.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.name IS 'Name';


--
-- Name: COLUMN website_configurator_feature.description; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.description IS 'Description';


--
-- Name: COLUMN website_configurator_feature.menu_company; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.menu_company IS 'Menu Company';


--
-- Name: COLUMN website_configurator_feature.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.create_date IS 'Created on';


--
-- Name: COLUMN website_configurator_feature.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_configurator_feature.write_date IS 'Last Updated on';


--
-- Name: website_configurator_feature_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_configurator_feature_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_configurator_feature_id_seq OWNER TO odoo;

--
-- Name: website_configurator_feature_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_configurator_feature_id_seq OWNED BY public.website_configurator_feature.id;


--
-- Name: website_controller_page; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_controller_page (
    id integer NOT NULL,
    website_id integer,
    view_id integer NOT NULL,
    record_view_id integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    name_slugified character varying,
    record_domain character varying,
    default_layout character varying,
    is_published boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_controller_page OWNER TO odoo;

--
-- Name: TABLE website_controller_page; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_controller_page IS 'Model Page';


--
-- Name: COLUMN website_controller_page.website_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.website_id IS 'Website';


--
-- Name: COLUMN website_controller_page.view_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.view_id IS 'Listing view';


--
-- Name: COLUMN website_controller_page.record_view_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.record_view_id IS 'Record view';


--
-- Name: COLUMN website_controller_page.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.create_uid IS 'Created by';


--
-- Name: COLUMN website_controller_page.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_controller_page.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.name IS 'The name is used to generate the URL and is shown in the browser title bar';


--
-- Name: COLUMN website_controller_page.name_slugified; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.name_slugified IS 'URL';


--
-- Name: COLUMN website_controller_page.record_domain; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.record_domain IS 'Domain';


--
-- Name: COLUMN website_controller_page.default_layout; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.default_layout IS 'Default Layout';


--
-- Name: COLUMN website_controller_page.is_published; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.is_published IS 'Is Published';


--
-- Name: COLUMN website_controller_page.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.create_date IS 'Created on';


--
-- Name: COLUMN website_controller_page.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_controller_page.write_date IS 'Last Updated on';


--
-- Name: website_controller_page_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_controller_page_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_controller_page_id_seq OWNER TO odoo;

--
-- Name: website_controller_page_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_controller_page_id_seq OWNED BY public.website_controller_page.id;


--
-- Name: website_custom_blocked_third_party_domains; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_custom_blocked_third_party_domains (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    content text,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_custom_blocked_third_party_domains OWNER TO odoo;

--
-- Name: TABLE website_custom_blocked_third_party_domains; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_custom_blocked_third_party_domains IS 'User list of blocked 3rd-party domains';


--
-- Name: COLUMN website_custom_blocked_third_party_domains.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_custom_blocked_third_party_domains.create_uid IS 'Created by';


--
-- Name: COLUMN website_custom_blocked_third_party_domains.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_custom_blocked_third_party_domains.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_custom_blocked_third_party_domains.content; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_custom_blocked_third_party_domains.content IS 'Content';


--
-- Name: COLUMN website_custom_blocked_third_party_domains.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_custom_blocked_third_party_domains.create_date IS 'Created on';


--
-- Name: COLUMN website_custom_blocked_third_party_domains.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_custom_blocked_third_party_domains.write_date IS 'Last Updated on';


--
-- Name: website_custom_blocked_third_party_domains_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_custom_blocked_third_party_domains_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_custom_blocked_third_party_domains_id_seq OWNER TO odoo;

--
-- Name: website_custom_blocked_third_party_domains_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_custom_blocked_third_party_domains_id_seq OWNED BY public.website_custom_blocked_third_party_domains.id;


--
-- Name: website_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_id_seq OWNER TO odoo;

--
-- Name: website_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_id_seq OWNED BY public.website.id;


--
-- Name: website_lang_rel; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_lang_rel (
    website_id integer NOT NULL,
    lang_id integer NOT NULL
);


ALTER TABLE public.website_lang_rel OWNER TO odoo;

--
-- Name: TABLE website_lang_rel; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_lang_rel IS 'RELATION BETWEEN website AND res_lang';


--
-- Name: website_menu; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_menu (
    id integer NOT NULL,
    page_id integer,
    controller_page_id integer,
    sequence integer,
    website_id integer,
    parent_id integer,
    create_uid integer,
    write_uid integer,
    theme_template_id integer,
    url character varying,
    parent_path character varying,
    mega_menu_classes character varying,
    name jsonb NOT NULL,
    mega_menu_content jsonb,
    new_window boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_menu OWNER TO odoo;

--
-- Name: TABLE website_menu; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_menu IS 'Website Menu';


--
-- Name: COLUMN website_menu.page_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.page_id IS 'Related Page';


--
-- Name: COLUMN website_menu.controller_page_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.controller_page_id IS 'Related Model Page';


--
-- Name: COLUMN website_menu.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.sequence IS 'Sequence';


--
-- Name: COLUMN website_menu.website_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.website_id IS 'Website';


--
-- Name: COLUMN website_menu.parent_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.parent_id IS 'Parent Menu';


--
-- Name: COLUMN website_menu.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.create_uid IS 'Created by';


--
-- Name: COLUMN website_menu.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_menu.theme_template_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.theme_template_id IS 'Theme Template';


--
-- Name: COLUMN website_menu.url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.url IS 'Url';


--
-- Name: COLUMN website_menu.parent_path; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.parent_path IS 'Parent Path';


--
-- Name: COLUMN website_menu.mega_menu_classes; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.mega_menu_classes IS 'Mega Menu Classes';


--
-- Name: COLUMN website_menu.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.name IS 'Menu';


--
-- Name: COLUMN website_menu.mega_menu_content; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.mega_menu_content IS 'Mega Menu Content';


--
-- Name: COLUMN website_menu.new_window; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.new_window IS 'New Window';


--
-- Name: COLUMN website_menu.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.create_date IS 'Created on';


--
-- Name: COLUMN website_menu.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_menu.write_date IS 'Last Updated on';


--
-- Name: website_menu_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_menu_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_menu_id_seq OWNER TO odoo;

--
-- Name: website_menu_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_menu_id_seq OWNED BY public.website_menu.id;


--
-- Name: website_page; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_page (
    id integer NOT NULL,
    website_id integer,
    view_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    theme_template_id integer,
    url character varying NOT NULL,
    header_color character varying,
    header_text_color character varying,
    is_published boolean,
    website_indexed boolean,
    is_new_page_template boolean,
    header_overlay boolean,
    header_visible boolean,
    footer_visible boolean,
    date_publish timestamp without time zone,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_page OWNER TO odoo;

--
-- Name: TABLE website_page; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_page IS 'Page';


--
-- Name: COLUMN website_page.website_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.website_id IS 'Website';


--
-- Name: COLUMN website_page.view_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.view_id IS 'View';


--
-- Name: COLUMN website_page.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.create_uid IS 'Created by';


--
-- Name: COLUMN website_page.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_page.theme_template_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.theme_template_id IS 'Theme Template';


--
-- Name: COLUMN website_page.url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.url IS 'Page URL';


--
-- Name: COLUMN website_page.header_color; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.header_color IS 'Header Color';


--
-- Name: COLUMN website_page.header_text_color; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.header_text_color IS 'Header Text Color';


--
-- Name: COLUMN website_page.is_published; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.is_published IS 'Is Published';


--
-- Name: COLUMN website_page.website_indexed; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.website_indexed IS 'Is Indexed';


--
-- Name: COLUMN website_page.is_new_page_template; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.is_new_page_template IS 'New Page Template';


--
-- Name: COLUMN website_page.header_overlay; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.header_overlay IS 'Header Overlay';


--
-- Name: COLUMN website_page.header_visible; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.header_visible IS 'Header Visible';


--
-- Name: COLUMN website_page.footer_visible; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.footer_visible IS 'Footer Visible';


--
-- Name: COLUMN website_page.date_publish; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.date_publish IS 'Publishing Date';


--
-- Name: COLUMN website_page.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.create_date IS 'Created on';


--
-- Name: COLUMN website_page.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page.write_date IS 'Last Updated on';


--
-- Name: website_page_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_page_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_page_id_seq OWNER TO odoo;

--
-- Name: website_page_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_page_id_seq OWNED BY public.website_page.id;


--
-- Name: website_page_properties; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_page_properties (
    id integer NOT NULL,
    target_model_id integer,
    website_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    old_url character varying,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_page_properties OWNER TO odoo;

--
-- Name: TABLE website_page_properties; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_page_properties IS 'Page Properties';


--
-- Name: COLUMN website_page_properties.target_model_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties.target_model_id IS 'Target Model';


--
-- Name: COLUMN website_page_properties.website_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties.website_id IS 'Website';


--
-- Name: COLUMN website_page_properties.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties.create_uid IS 'Created by';


--
-- Name: COLUMN website_page_properties.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_page_properties.old_url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties.old_url IS 'Old Url';


--
-- Name: COLUMN website_page_properties.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties.create_date IS 'Created on';


--
-- Name: COLUMN website_page_properties.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties.write_date IS 'Last Updated on';


--
-- Name: website_page_properties_base; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_page_properties_base (
    id integer NOT NULL,
    website_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    target_model_id character varying NOT NULL,
    url character varying NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_page_properties_base OWNER TO odoo;

--
-- Name: TABLE website_page_properties_base; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_page_properties_base IS 'Page Properties Base';


--
-- Name: COLUMN website_page_properties_base.website_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties_base.website_id IS 'Website';


--
-- Name: COLUMN website_page_properties_base.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties_base.create_uid IS 'Created by';


--
-- Name: COLUMN website_page_properties_base.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties_base.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_page_properties_base.target_model_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties_base.target_model_id IS 'Target Model';


--
-- Name: COLUMN website_page_properties_base.url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties_base.url IS 'Url';


--
-- Name: COLUMN website_page_properties_base.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties_base.create_date IS 'Created on';


--
-- Name: COLUMN website_page_properties_base.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_page_properties_base.write_date IS 'Last Updated on';


--
-- Name: website_page_properties_base_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_page_properties_base_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_page_properties_base_id_seq OWNER TO odoo;

--
-- Name: website_page_properties_base_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_page_properties_base_id_seq OWNED BY public.website_page_properties_base.id;


--
-- Name: website_page_properties_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_page_properties_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_page_properties_id_seq OWNER TO odoo;

--
-- Name: website_page_properties_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_page_properties_id_seq OWNED BY public.website_page_properties.id;


--
-- Name: website_rewrite; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_rewrite (
    id integer NOT NULL,
    website_id integer,
    route_id integer,
    sequence integer,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    url_from character varying,
    url_to character varying,
    redirect_type character varying,
    active boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_rewrite OWNER TO odoo;

--
-- Name: TABLE website_rewrite; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_rewrite IS 'Website rewrite';


--
-- Name: COLUMN website_rewrite.website_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.website_id IS 'Website';


--
-- Name: COLUMN website_rewrite.route_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.route_id IS 'Route';


--
-- Name: COLUMN website_rewrite.sequence; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.sequence IS 'Sequence';


--
-- Name: COLUMN website_rewrite.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.create_uid IS 'Created by';


--
-- Name: COLUMN website_rewrite.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_rewrite.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.name IS 'Name';


--
-- Name: COLUMN website_rewrite.url_from; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.url_from IS 'URL from';


--
-- Name: COLUMN website_rewrite.url_to; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.url_to IS 'URL to';


--
-- Name: COLUMN website_rewrite.redirect_type; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.redirect_type IS 'Action';


--
-- Name: COLUMN website_rewrite.active; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.active IS 'Active';


--
-- Name: COLUMN website_rewrite.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.create_date IS 'Created on';


--
-- Name: COLUMN website_rewrite.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_rewrite.write_date IS 'Last Updated on';


--
-- Name: website_rewrite_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_rewrite_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_rewrite_id_seq OWNER TO odoo;

--
-- Name: website_rewrite_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_rewrite_id_seq OWNED BY public.website_rewrite.id;


--
-- Name: website_robots; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_robots (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    content text,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_robots OWNER TO odoo;

--
-- Name: TABLE website_robots; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_robots IS 'Robots.txt Editor';


--
-- Name: COLUMN website_robots.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_robots.create_uid IS 'Created by';


--
-- Name: COLUMN website_robots.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_robots.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_robots.content; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_robots.content IS 'Content';


--
-- Name: COLUMN website_robots.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_robots.create_date IS 'Created on';


--
-- Name: COLUMN website_robots.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_robots.write_date IS 'Last Updated on';


--
-- Name: website_robots_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_robots_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_robots_id_seq OWNER TO odoo;

--
-- Name: website_robots_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_robots_id_seq OWNED BY public.website_robots.id;


--
-- Name: website_route; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_route (
    id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    path character varying,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_route OWNER TO odoo;

--
-- Name: TABLE website_route; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_route IS 'All Website Route';


--
-- Name: COLUMN website_route.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_route.create_uid IS 'Created by';


--
-- Name: COLUMN website_route.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_route.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_route.path; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_route.path IS 'Route';


--
-- Name: COLUMN website_route.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_route.create_date IS 'Created on';


--
-- Name: COLUMN website_route.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_route.write_date IS 'Last Updated on';


--
-- Name: website_route_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_route_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_route_id_seq OWNER TO odoo;

--
-- Name: website_route_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_route_id_seq OWNED BY public.website_route.id;


--
-- Name: website_snippet_filter; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_snippet_filter (
    id integer NOT NULL,
    website_id integer,
    action_server_id integer,
    filter_id integer,
    "limit" integer NOT NULL,
    create_uid integer,
    write_uid integer,
    field_names character varying NOT NULL,
    name jsonb NOT NULL,
    is_published boolean,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_snippet_filter OWNER TO odoo;

--
-- Name: TABLE website_snippet_filter; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_snippet_filter IS 'Website Snippet Filter';


--
-- Name: COLUMN website_snippet_filter.website_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.website_id IS 'Website';


--
-- Name: COLUMN website_snippet_filter.action_server_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.action_server_id IS 'Server Action';


--
-- Name: COLUMN website_snippet_filter.filter_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.filter_id IS 'Filter';


--
-- Name: COLUMN website_snippet_filter."limit"; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter."limit" IS 'Limit';


--
-- Name: COLUMN website_snippet_filter.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.create_uid IS 'Created by';


--
-- Name: COLUMN website_snippet_filter.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_snippet_filter.field_names; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.field_names IS 'Field Names';


--
-- Name: COLUMN website_snippet_filter.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.name IS 'Name';


--
-- Name: COLUMN website_snippet_filter.is_published; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.is_published IS 'Is Published';


--
-- Name: COLUMN website_snippet_filter.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.create_date IS 'Created on';


--
-- Name: COLUMN website_snippet_filter.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_snippet_filter.write_date IS 'Last Updated on';


--
-- Name: website_snippet_filter_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_snippet_filter_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_snippet_filter_id_seq OWNER TO odoo;

--
-- Name: website_snippet_filter_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_snippet_filter_id_seq OWNED BY public.website_snippet_filter.id;


--
-- Name: website_track; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_track (
    id integer NOT NULL,
    visitor_id integer NOT NULL,
    page_id integer,
    url text,
    visit_datetime timestamp without time zone NOT NULL
);


ALTER TABLE public.website_track OWNER TO odoo;

--
-- Name: TABLE website_track; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_track IS 'Visited Pages';


--
-- Name: COLUMN website_track.visitor_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_track.visitor_id IS 'Visitor';


--
-- Name: COLUMN website_track.page_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_track.page_id IS 'Page';


--
-- Name: COLUMN website_track.url; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_track.url IS 'Url';


--
-- Name: COLUMN website_track.visit_datetime; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_track.visit_datetime IS 'Visit Date';


--
-- Name: website_track_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_track_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_track_id_seq OWNER TO odoo;

--
-- Name: website_track_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_track_id_seq OWNED BY public.website_track.id;


--
-- Name: website_visitor; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.website_visitor (
    id integer NOT NULL,
    website_id integer,
    partner_id integer,
    country_id integer,
    lang_id integer,
    visit_count integer,
    create_uid integer,
    write_uid integer,
    access_token character varying NOT NULL,
    timezone character varying,
    create_date timestamp without time zone,
    last_connection_datetime timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.website_visitor OWNER TO odoo;

--
-- Name: TABLE website_visitor; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.website_visitor IS 'Website Visitor';


--
-- Name: COLUMN website_visitor.website_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.website_id IS 'Website';


--
-- Name: COLUMN website_visitor.partner_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.partner_id IS 'Contact';


--
-- Name: COLUMN website_visitor.country_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.country_id IS 'Country';


--
-- Name: COLUMN website_visitor.lang_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.lang_id IS 'Language';


--
-- Name: COLUMN website_visitor.visit_count; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.visit_count IS '# Visits';


--
-- Name: COLUMN website_visitor.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.create_uid IS 'Created by';


--
-- Name: COLUMN website_visitor.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.write_uid IS 'Last Updated by';


--
-- Name: COLUMN website_visitor.access_token; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.access_token IS 'Access Token';


--
-- Name: COLUMN website_visitor.timezone; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.timezone IS 'Timezone';


--
-- Name: COLUMN website_visitor.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.create_date IS 'First Connection';


--
-- Name: COLUMN website_visitor.last_connection_datetime; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.last_connection_datetime IS 'Last Connection';


--
-- Name: COLUMN website_visitor.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.website_visitor.write_date IS 'Last Updated on';


--
-- Name: website_visitor_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.website_visitor_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.website_visitor_id_seq OWNER TO odoo;

--
-- Name: website_visitor_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.website_visitor_id_seq OWNED BY public.website_visitor.id;


--
-- Name: wizard_ir_model_menu_create; Type: TABLE; Schema: public; Owner: odoo
--

CREATE TABLE public.wizard_ir_model_menu_create (
    id integer NOT NULL,
    menu_id integer NOT NULL,
    create_uid integer,
    write_uid integer,
    name character varying NOT NULL,
    create_date timestamp without time zone,
    write_date timestamp without time zone
);


ALTER TABLE public.wizard_ir_model_menu_create OWNER TO odoo;

--
-- Name: TABLE wizard_ir_model_menu_create; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON TABLE public.wizard_ir_model_menu_create IS 'Create Menu Wizard';


--
-- Name: COLUMN wizard_ir_model_menu_create.menu_id; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.wizard_ir_model_menu_create.menu_id IS 'Parent Menu';


--
-- Name: COLUMN wizard_ir_model_menu_create.create_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.wizard_ir_model_menu_create.create_uid IS 'Created by';


--
-- Name: COLUMN wizard_ir_model_menu_create.write_uid; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.wizard_ir_model_menu_create.write_uid IS 'Last Updated by';


--
-- Name: COLUMN wizard_ir_model_menu_create.name; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.wizard_ir_model_menu_create.name IS 'Menu Name';


--
-- Name: COLUMN wizard_ir_model_menu_create.create_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.wizard_ir_model_menu_create.create_date IS 'Created on';


--
-- Name: COLUMN wizard_ir_model_menu_create.write_date; Type: COMMENT; Schema: public; Owner: odoo
--

COMMENT ON COLUMN public.wizard_ir_model_menu_create.write_date IS 'Last Updated on';


--
-- Name: wizard_ir_model_menu_create_id_seq; Type: SEQUENCE; Schema: public; Owner: odoo
--

CREATE SEQUENCE public.wizard_ir_model_menu_create_id_seq
    AS integer
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER SEQUENCE public.wizard_ir_model_menu_create_id_seq OWNER TO odoo;

--
-- Name: wizard_ir_model_menu_create_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: odoo
--

ALTER SEQUENCE public.wizard_ir_model_menu_create_id_seq OWNED BY public.wizard_ir_model_menu_create.id;


--
-- Name: account_account id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account ALTER COLUMN id SET DEFAULT nextval('public.account_account_id_seq'::regclass);


--
-- Name: account_account_tag id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_account_tag ALTER COLUMN id SET DEFAULT nextval('public.account_account_tag_id_seq'::regclass);


--
-- Name: account_accrued_orders_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_accrued_orders_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_accrued_orders_wizard_id_seq'::regclass);


--
-- Name: account_analytic_account id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_account ALTER COLUMN id SET DEFAULT nextval('public.account_analytic_account_id_seq'::regclass);


--
-- Name: account_analytic_applicability id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_applicability ALTER COLUMN id SET DEFAULT nextval('public.account_analytic_applicability_id_seq'::regclass);


--
-- Name: account_analytic_distribution_model id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_distribution_model ALTER COLUMN id SET DEFAULT nextval('public.account_analytic_distribution_model_id_seq'::regclass);


--
-- Name: account_analytic_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_line ALTER COLUMN id SET DEFAULT nextval('public.account_analytic_line_id_seq'::regclass);


--
-- Name: account_analytic_plan id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_analytic_plan ALTER COLUMN id SET DEFAULT nextval('public.account_analytic_plan_id_seq'::regclass);


--
-- Name: account_automatic_entry_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_automatic_entry_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_automatic_entry_wizard_id_seq'::regclass);


--
-- Name: account_autopost_bills_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_autopost_bills_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_autopost_bills_wizard_id_seq'::regclass);


--
-- Name: account_bank_statement id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_bank_statement ALTER COLUMN id SET DEFAULT nextval('public.account_bank_statement_id_seq'::regclass);


--
-- Name: account_bank_statement_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_bank_statement_line ALTER COLUMN id SET DEFAULT nextval('public.account_bank_statement_line_id_seq'::regclass);


--
-- Name: account_cash_rounding id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_cash_rounding ALTER COLUMN id SET DEFAULT nextval('public.account_cash_rounding_id_seq'::regclass);


--
-- Name: account_edi_proxy_client_user id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_edi_proxy_client_user ALTER COLUMN id SET DEFAULT nextval('public.account_edi_proxy_client_user_id_seq'::regclass);


--
-- Name: account_financial_year_op id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_financial_year_op ALTER COLUMN id SET DEFAULT nextval('public.account_financial_year_op_id_seq'::regclass);


--
-- Name: account_fiscal_position id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position ALTER COLUMN id SET DEFAULT nextval('public.account_fiscal_position_id_seq'::regclass);


--
-- Name: account_fiscal_position_account id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_account ALTER COLUMN id SET DEFAULT nextval('public.account_fiscal_position_account_id_seq'::regclass);


--
-- Name: account_fiscal_position_tax id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_fiscal_position_tax ALTER COLUMN id SET DEFAULT nextval('public.account_fiscal_position_tax_id_seq'::regclass);


--
-- Name: account_full_reconcile id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_full_reconcile ALTER COLUMN id SET DEFAULT nextval('public.account_full_reconcile_id_seq'::regclass);


--
-- Name: account_group id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_group ALTER COLUMN id SET DEFAULT nextval('public.account_group_id_seq'::regclass);


--
-- Name: account_incoterms id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_incoterms ALTER COLUMN id SET DEFAULT nextval('public.account_incoterms_id_seq'::regclass);


--
-- Name: account_journal id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal ALTER COLUMN id SET DEFAULT nextval('public.account_journal_id_seq'::regclass);


--
-- Name: account_journal_group id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_journal_group ALTER COLUMN id SET DEFAULT nextval('public.account_journal_group_id_seq'::regclass);


--
-- Name: account_lock_exception id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_lock_exception ALTER COLUMN id SET DEFAULT nextval('public.account_lock_exception_id_seq'::regclass);


--
-- Name: account_merge_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_merge_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_merge_wizard_id_seq'::regclass);


--
-- Name: account_merge_wizard_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_merge_wizard_line ALTER COLUMN id SET DEFAULT nextval('public.account_merge_wizard_line_id_seq'::regclass);


--
-- Name: account_move id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move ALTER COLUMN id SET DEFAULT nextval('public.account_move_id_seq'::regclass);


--
-- Name: account_move_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_line ALTER COLUMN id SET DEFAULT nextval('public.account_move_line_id_seq'::regclass);


--
-- Name: account_move_reversal id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_reversal ALTER COLUMN id SET DEFAULT nextval('public.account_move_reversal_id_seq'::regclass);


--
-- Name: account_move_send_batch_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_send_batch_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_move_send_batch_wizard_id_seq'::regclass);


--
-- Name: account_move_send_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_move_send_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_move_send_wizard_id_seq'::regclass);


--
-- Name: account_partial_reconcile id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_partial_reconcile ALTER COLUMN id SET DEFAULT nextval('public.account_partial_reconcile_id_seq'::regclass);


--
-- Name: account_payment id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment ALTER COLUMN id SET DEFAULT nextval('public.account_payment_id_seq'::regclass);


--
-- Name: account_payment_method id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_method ALTER COLUMN id SET DEFAULT nextval('public.account_payment_method_id_seq'::regclass);


--
-- Name: account_payment_method_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_method_line ALTER COLUMN id SET DEFAULT nextval('public.account_payment_method_line_id_seq'::regclass);


--
-- Name: account_payment_register id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_register ALTER COLUMN id SET DEFAULT nextval('public.account_payment_register_id_seq'::regclass);


--
-- Name: account_payment_term id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_term ALTER COLUMN id SET DEFAULT nextval('public.account_payment_term_id_seq'::regclass);


--
-- Name: account_payment_term_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_payment_term_line ALTER COLUMN id SET DEFAULT nextval('public.account_payment_term_line_id_seq'::regclass);


--
-- Name: account_peppol_clarification id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_clarification ALTER COLUMN id SET DEFAULT nextval('public.account_peppol_clarification_id_seq'::regclass);


--
-- Name: account_peppol_rejection_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_rejection_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_peppol_rejection_wizard_id_seq'::regclass);


--
-- Name: account_peppol_response id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_response ALTER COLUMN id SET DEFAULT nextval('public.account_peppol_response_id_seq'::regclass);


--
-- Name: account_peppol_service id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_service ALTER COLUMN id SET DEFAULT nextval('public.account_peppol_service_id_seq'::regclass);


--
-- Name: account_peppol_service_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_peppol_service_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_peppol_service_wizard_id_seq'::regclass);


--
-- Name: account_reconcile_model id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model ALTER COLUMN id SET DEFAULT nextval('public.account_reconcile_model_id_seq'::regclass);


--
-- Name: account_reconcile_model_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_line ALTER COLUMN id SET DEFAULT nextval('public.account_reconcile_model_line_id_seq'::regclass);


--
-- Name: account_reconcile_model_partner_mapping id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_reconcile_model_partner_mapping ALTER COLUMN id SET DEFAULT nextval('public.account_reconcile_model_partner_mapping_id_seq'::regclass);


--
-- Name: account_report id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report ALTER COLUMN id SET DEFAULT nextval('public.account_report_id_seq'::regclass);


--
-- Name: account_report_column id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_column ALTER COLUMN id SET DEFAULT nextval('public.account_report_column_id_seq'::regclass);


--
-- Name: account_report_expression id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_expression ALTER COLUMN id SET DEFAULT nextval('public.account_report_expression_id_seq'::regclass);


--
-- Name: account_report_external_value id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_external_value ALTER COLUMN id SET DEFAULT nextval('public.account_report_external_value_id_seq'::regclass);


--
-- Name: account_report_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_report_line ALTER COLUMN id SET DEFAULT nextval('public.account_report_line_id_seq'::regclass);


--
-- Name: account_resequence_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_resequence_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_resequence_wizard_id_seq'::regclass);


--
-- Name: account_secure_entries_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_secure_entries_wizard ALTER COLUMN id SET DEFAULT nextval('public.account_secure_entries_wizard_id_seq'::regclass);


--
-- Name: account_setup_bank_manual_config id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_setup_bank_manual_config ALTER COLUMN id SET DEFAULT nextval('public.account_setup_bank_manual_config_id_seq'::regclass);


--
-- Name: account_tax id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax ALTER COLUMN id SET DEFAULT nextval('public.account_tax_id_seq'::regclass);


--
-- Name: account_tax_group id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_group ALTER COLUMN id SET DEFAULT nextval('public.account_tax_group_id_seq'::regclass);


--
-- Name: account_tax_repartition_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.account_tax_repartition_line ALTER COLUMN id SET DEFAULT nextval('public.account_tax_repartition_line_id_seq'::regclass);


--
-- Name: auth_totp_device id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.auth_totp_device ALTER COLUMN id SET DEFAULT nextval('public.auth_totp_device_id_seq'::regclass);


--
-- Name: auth_totp_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.auth_totp_wizard ALTER COLUMN id SET DEFAULT nextval('public.auth_totp_wizard_id_seq'::regclass);


--
-- Name: barcode_nomenclature id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.barcode_nomenclature ALTER COLUMN id SET DEFAULT nextval('public.barcode_nomenclature_id_seq'::regclass);


--
-- Name: barcode_rule id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.barcode_rule ALTER COLUMN id SET DEFAULT nextval('public.barcode_rule_id_seq'::regclass);


--
-- Name: base_document_layout id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_document_layout ALTER COLUMN id SET DEFAULT nextval('public.base_document_layout_id_seq'::regclass);


--
-- Name: base_enable_profiling_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_enable_profiling_wizard ALTER COLUMN id SET DEFAULT nextval('public.base_enable_profiling_wizard_id_seq'::regclass);


--
-- Name: base_import_import id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_import ALTER COLUMN id SET DEFAULT nextval('public.base_import_import_id_seq'::regclass);


--
-- Name: base_import_mapping id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_mapping ALTER COLUMN id SET DEFAULT nextval('public.base_import_mapping_id_seq'::regclass);


--
-- Name: base_import_module id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_import_module ALTER COLUMN id SET DEFAULT nextval('public.base_import_module_id_seq'::regclass);


--
-- Name: base_language_export id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_export ALTER COLUMN id SET DEFAULT nextval('public.base_language_export_id_seq'::regclass);


--
-- Name: base_language_import id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_import ALTER COLUMN id SET DEFAULT nextval('public.base_language_import_id_seq'::regclass);


--
-- Name: base_language_install id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_language_install ALTER COLUMN id SET DEFAULT nextval('public.base_language_install_id_seq'::regclass);


--
-- Name: base_module_install_request id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_install_request ALTER COLUMN id SET DEFAULT nextval('public.base_module_install_request_id_seq'::regclass);


--
-- Name: base_module_install_review id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_install_review ALTER COLUMN id SET DEFAULT nextval('public.base_module_install_review_id_seq'::regclass);


--
-- Name: base_module_uninstall id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_uninstall ALTER COLUMN id SET DEFAULT nextval('public.base_module_uninstall_id_seq'::regclass);


--
-- Name: base_module_update id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_update ALTER COLUMN id SET DEFAULT nextval('public.base_module_update_id_seq'::regclass);


--
-- Name: base_module_upgrade id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_module_upgrade ALTER COLUMN id SET DEFAULT nextval('public.base_module_upgrade_id_seq'::regclass);


--
-- Name: base_partner_merge_automatic_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_partner_merge_automatic_wizard ALTER COLUMN id SET DEFAULT nextval('public.base_partner_merge_automatic_wizard_id_seq'::regclass);


--
-- Name: base_partner_merge_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.base_partner_merge_line ALTER COLUMN id SET DEFAULT nextval('public.base_partner_merge_line_id_seq'::regclass);


--
-- Name: bill_to_po_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.bill_to_po_wizard ALTER COLUMN id SET DEFAULT nextval('public.bill_to_po_wizard_id_seq'::regclass);


--
-- Name: bus_bus id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.bus_bus ALTER COLUMN id SET DEFAULT nextval('public.bus_bus_id_seq'::regclass);


--
-- Name: bus_presence id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.bus_presence ALTER COLUMN id SET DEFAULT nextval('public.bus_presence_id_seq'::regclass);


--
-- Name: calendar_alarm id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_alarm ALTER COLUMN id SET DEFAULT nextval('public.calendar_alarm_id_seq'::regclass);


--
-- Name: calendar_attendee id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_attendee ALTER COLUMN id SET DEFAULT nextval('public.calendar_attendee_id_seq'::regclass);


--
-- Name: calendar_event id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event ALTER COLUMN id SET DEFAULT nextval('public.calendar_event_id_seq'::regclass);


--
-- Name: calendar_event_type id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_event_type ALTER COLUMN id SET DEFAULT nextval('public.calendar_event_type_id_seq'::regclass);


--
-- Name: calendar_filters id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_filters ALTER COLUMN id SET DEFAULT nextval('public.calendar_filters_id_seq'::regclass);


--
-- Name: calendar_popover_delete_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_popover_delete_wizard ALTER COLUMN id SET DEFAULT nextval('public.calendar_popover_delete_wizard_id_seq'::regclass);


--
-- Name: calendar_provider_config id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_provider_config ALTER COLUMN id SET DEFAULT nextval('public.calendar_provider_config_id_seq'::regclass);


--
-- Name: calendar_recurrence id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.calendar_recurrence ALTER COLUMN id SET DEFAULT nextval('public.calendar_recurrence_id_seq'::regclass);


--
-- Name: certificate_certificate id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.certificate_certificate ALTER COLUMN id SET DEFAULT nextval('public.certificate_certificate_id_seq'::regclass);


--
-- Name: certificate_key id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.certificate_key ALTER COLUMN id SET DEFAULT nextval('public.certificate_key_id_seq'::regclass);


--
-- Name: change_password_own id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_own ALTER COLUMN id SET DEFAULT nextval('public.change_password_own_id_seq'::regclass);


--
-- Name: change_password_user id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_user ALTER COLUMN id SET DEFAULT nextval('public.change_password_user_id_seq'::regclass);


--
-- Name: change_password_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_password_wizard ALTER COLUMN id SET DEFAULT nextval('public.change_password_wizard_id_seq'::regclass);


--
-- Name: change_production_qty id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.change_production_qty ALTER COLUMN id SET DEFAULT nextval('public.change_production_qty_id_seq'::regclass);


--
-- Name: confirm_stock_sms id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.confirm_stock_sms ALTER COLUMN id SET DEFAULT nextval('public.confirm_stock_sms_id_seq'::regclass);


--
-- Name: crm_iap_lead_helpers id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_helpers ALTER COLUMN id SET DEFAULT nextval('public.crm_iap_lead_helpers_id_seq'::regclass);


--
-- Name: crm_iap_lead_industry id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_industry ALTER COLUMN id SET DEFAULT nextval('public.crm_iap_lead_industry_id_seq'::regclass);


--
-- Name: crm_iap_lead_mining_request id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_mining_request ALTER COLUMN id SET DEFAULT nextval('public.crm_iap_lead_mining_request_id_seq'::regclass);


--
-- Name: crm_iap_lead_role id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_role ALTER COLUMN id SET DEFAULT nextval('public.crm_iap_lead_role_id_seq'::regclass);


--
-- Name: crm_iap_lead_seniority id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_iap_lead_seniority ALTER COLUMN id SET DEFAULT nextval('public.crm_iap_lead_seniority_id_seq'::regclass);


--
-- Name: crm_lead id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead ALTER COLUMN id SET DEFAULT nextval('public.crm_lead_id_seq'::regclass);


--
-- Name: crm_lead2opportunity_partner id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead2opportunity_partner ALTER COLUMN id SET DEFAULT nextval('public.crm_lead2opportunity_partner_id_seq'::regclass);


--
-- Name: crm_lead2opportunity_partner_mass id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead2opportunity_partner_mass ALTER COLUMN id SET DEFAULT nextval('public.crm_lead2opportunity_partner_mass_id_seq'::regclass);


--
-- Name: crm_lead_lost id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_lost ALTER COLUMN id SET DEFAULT nextval('public.crm_lead_lost_id_seq'::regclass);


--
-- Name: crm_lead_pls_update id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_pls_update ALTER COLUMN id SET DEFAULT nextval('public.crm_lead_pls_update_id_seq'::regclass);


--
-- Name: crm_lead_scoring_frequency id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_scoring_frequency ALTER COLUMN id SET DEFAULT nextval('public.crm_lead_scoring_frequency_id_seq'::regclass);


--
-- Name: crm_lead_scoring_frequency_field id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lead_scoring_frequency_field ALTER COLUMN id SET DEFAULT nextval('public.crm_lead_scoring_frequency_field_id_seq'::regclass);


--
-- Name: crm_lost_reason id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_lost_reason ALTER COLUMN id SET DEFAULT nextval('public.crm_lost_reason_id_seq'::regclass);


--
-- Name: crm_merge_opportunity id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_merge_opportunity ALTER COLUMN id SET DEFAULT nextval('public.crm_merge_opportunity_id_seq'::regclass);


--
-- Name: crm_quotation_partner id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_quotation_partner ALTER COLUMN id SET DEFAULT nextval('public.crm_quotation_partner_id_seq'::regclass);


--
-- Name: crm_recurring_plan id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_recurring_plan ALTER COLUMN id SET DEFAULT nextval('public.crm_recurring_plan_id_seq'::regclass);


--
-- Name: crm_stage id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_stage ALTER COLUMN id SET DEFAULT nextval('public.crm_stage_id_seq'::regclass);


--
-- Name: crm_tag id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_tag ALTER COLUMN id SET DEFAULT nextval('public.crm_tag_id_seq'::regclass);


--
-- Name: crm_team id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_team ALTER COLUMN id SET DEFAULT nextval('public.crm_team_id_seq'::regclass);


--
-- Name: crm_team_member id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.crm_team_member ALTER COLUMN id SET DEFAULT nextval('public.crm_team_member_id_seq'::regclass);


--
-- Name: decimal_precision id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.decimal_precision ALTER COLUMN id SET DEFAULT nextval('public.decimal_precision_id_seq'::regclass);


--
-- Name: digest_digest id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_digest ALTER COLUMN id SET DEFAULT nextval('public.digest_digest_id_seq'::regclass);


--
-- Name: digest_tip id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.digest_tip ALTER COLUMN id SET DEFAULT nextval('public.digest_tip_id_seq'::regclass);


--
-- Name: discuss_channel id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel ALTER COLUMN id SET DEFAULT nextval('public.discuss_channel_id_seq'::regclass);


--
-- Name: discuss_channel_member id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel_member ALTER COLUMN id SET DEFAULT nextval('public.discuss_channel_member_id_seq'::regclass);


--
-- Name: discuss_channel_rtc_session id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_channel_rtc_session ALTER COLUMN id SET DEFAULT nextval('public.discuss_channel_rtc_session_id_seq'::regclass);


--
-- Name: discuss_gif_favorite id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_gif_favorite ALTER COLUMN id SET DEFAULT nextval('public.discuss_gif_favorite_id_seq'::regclass);


--
-- Name: discuss_voice_metadata id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.discuss_voice_metadata ALTER COLUMN id SET DEFAULT nextval('public.discuss_voice_metadata_id_seq'::regclass);


--
-- Name: fetchmail_server id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.fetchmail_server ALTER COLUMN id SET DEFAULT nextval('public.fetchmail_server_id_seq'::regclass);


--
-- Name: gamification_badge id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge ALTER COLUMN id SET DEFAULT nextval('public.gamification_badge_id_seq'::regclass);


--
-- Name: gamification_badge_user id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge_user ALTER COLUMN id SET DEFAULT nextval('public.gamification_badge_user_id_seq'::regclass);


--
-- Name: gamification_badge_user_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_badge_user_wizard ALTER COLUMN id SET DEFAULT nextval('public.gamification_badge_user_wizard_id_seq'::regclass);


--
-- Name: gamification_challenge id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_challenge ALTER COLUMN id SET DEFAULT nextval('public.gamification_challenge_id_seq'::regclass);


--
-- Name: gamification_challenge_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_challenge_line ALTER COLUMN id SET DEFAULT nextval('public.gamification_challenge_line_id_seq'::regclass);


--
-- Name: gamification_goal id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal ALTER COLUMN id SET DEFAULT nextval('public.gamification_goal_id_seq'::regclass);


--
-- Name: gamification_goal_definition id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal_definition ALTER COLUMN id SET DEFAULT nextval('public.gamification_goal_definition_id_seq'::regclass);


--
-- Name: gamification_goal_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_goal_wizard ALTER COLUMN id SET DEFAULT nextval('public.gamification_goal_wizard_id_seq'::regclass);


--
-- Name: gamification_karma_rank id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_karma_rank ALTER COLUMN id SET DEFAULT nextval('public.gamification_karma_rank_id_seq'::regclass);


--
-- Name: gamification_karma_tracking id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.gamification_karma_tracking ALTER COLUMN id SET DEFAULT nextval('public.gamification_karma_tracking_id_seq'::regclass);


--
-- Name: hr_contract_type id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_contract_type ALTER COLUMN id SET DEFAULT nextval('public.hr_contract_type_id_seq'::regclass);


--
-- Name: hr_department id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_department ALTER COLUMN id SET DEFAULT nextval('public.hr_department_id_seq'::regclass);


--
-- Name: hr_departure_reason id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_departure_reason ALTER COLUMN id SET DEFAULT nextval('public.hr_departure_reason_id_seq'::regclass);


--
-- Name: hr_departure_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_departure_wizard ALTER COLUMN id SET DEFAULT nextval('public.hr_departure_wizard_id_seq'::regclass);


--
-- Name: hr_employee id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee ALTER COLUMN id SET DEFAULT nextval('public.hr_employee_id_seq'::regclass);


--
-- Name: hr_employee_category id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_category ALTER COLUMN id SET DEFAULT nextval('public.hr_employee_category_id_seq'::regclass);


--
-- Name: hr_employee_cv_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_cv_wizard ALTER COLUMN id SET DEFAULT nextval('public.hr_employee_cv_wizard_id_seq'::regclass);


--
-- Name: hr_employee_skill id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_skill ALTER COLUMN id SET DEFAULT nextval('public.hr_employee_skill_id_seq'::regclass);


--
-- Name: hr_employee_skill_log id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_employee_skill_log ALTER COLUMN id SET DEFAULT nextval('public.hr_employee_skill_log_id_seq'::regclass);


--
-- Name: hr_job id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_job ALTER COLUMN id SET DEFAULT nextval('public.hr_job_id_seq'::regclass);


--
-- Name: hr_resume_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_resume_line ALTER COLUMN id SET DEFAULT nextval('public.hr_resume_line_id_seq'::regclass);


--
-- Name: hr_resume_line_type id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_resume_line_type ALTER COLUMN id SET DEFAULT nextval('public.hr_resume_line_type_id_seq'::regclass);


--
-- Name: hr_skill id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_skill ALTER COLUMN id SET DEFAULT nextval('public.hr_skill_id_seq'::regclass);


--
-- Name: hr_skill_level id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_skill_level ALTER COLUMN id SET DEFAULT nextval('public.hr_skill_level_id_seq'::regclass);


--
-- Name: hr_skill_type id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_skill_type ALTER COLUMN id SET DEFAULT nextval('public.hr_skill_type_id_seq'::regclass);


--
-- Name: hr_work_location id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.hr_work_location ALTER COLUMN id SET DEFAULT nextval('public.hr_work_location_id_seq'::regclass);


--
-- Name: iap_account id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_account ALTER COLUMN id SET DEFAULT nextval('public.iap_account_id_seq'::regclass);


--
-- Name: iap_service id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.iap_service ALTER COLUMN id SET DEFAULT nextval('public.iap_service_id_seq'::regclass);


--
-- Name: ir_act_client id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_client ALTER COLUMN id SET DEFAULT nextval('public.ir_actions_id_seq'::regclass);


--
-- Name: ir_act_report_xml id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_report_xml ALTER COLUMN id SET DEFAULT nextval('public.ir_actions_id_seq'::regclass);


--
-- Name: ir_act_server id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_server ALTER COLUMN id SET DEFAULT nextval('public.ir_actions_id_seq'::regclass);


--
-- Name: ir_act_url id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_url ALTER COLUMN id SET DEFAULT nextval('public.ir_actions_id_seq'::regclass);


--
-- Name: ir_act_window id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window ALTER COLUMN id SET DEFAULT nextval('public.ir_actions_id_seq'::regclass);


--
-- Name: ir_act_window_view id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_act_window_view ALTER COLUMN id SET DEFAULT nextval('public.ir_act_window_view_id_seq'::regclass);


--
-- Name: ir_actions id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_actions ALTER COLUMN id SET DEFAULT nextval('public.ir_actions_id_seq'::regclass);


--
-- Name: ir_actions_todo id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_actions_todo ALTER COLUMN id SET DEFAULT nextval('public.ir_actions_todo_id_seq'::regclass);


--
-- Name: ir_asset id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_asset ALTER COLUMN id SET DEFAULT nextval('public.ir_asset_id_seq'::regclass);


--
-- Name: ir_attachment id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_attachment ALTER COLUMN id SET DEFAULT nextval('public.ir_attachment_id_seq'::regclass);


--
-- Name: ir_config_parameter id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_config_parameter ALTER COLUMN id SET DEFAULT nextval('public.ir_config_parameter_id_seq'::regclass);


--
-- Name: ir_cron id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_cron ALTER COLUMN id SET DEFAULT nextval('public.ir_cron_id_seq'::regclass);


--
-- Name: ir_cron_progress id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_cron_progress ALTER COLUMN id SET DEFAULT nextval('public.ir_cron_progress_id_seq'::regclass);


--
-- Name: ir_cron_trigger id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_cron_trigger ALTER COLUMN id SET DEFAULT nextval('public.ir_cron_trigger_id_seq'::regclass);


--
-- Name: ir_default id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_default ALTER COLUMN id SET DEFAULT nextval('public.ir_default_id_seq'::regclass);


--
-- Name: ir_demo id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo ALTER COLUMN id SET DEFAULT nextval('public.ir_demo_id_seq'::regclass);


--
-- Name: ir_demo_failure id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo_failure ALTER COLUMN id SET DEFAULT nextval('public.ir_demo_failure_id_seq'::regclass);


--
-- Name: ir_demo_failure_wizard id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_demo_failure_wizard ALTER COLUMN id SET DEFAULT nextval('public.ir_demo_failure_wizard_id_seq'::regclass);


--
-- Name: ir_embedded_actions id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_embedded_actions ALTER COLUMN id SET DEFAULT nextval('public.ir_embedded_actions_id_seq'::regclass);


--
-- Name: ir_exports id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_exports ALTER COLUMN id SET DEFAULT nextval('public.ir_exports_id_seq'::regclass);


--
-- Name: ir_exports_line id; Type: DEFAULT; Schema: public; Owner: odoo
--

ALTER TABLE ONLY public.ir_exports_line ALTER COLUMN id SET DEFAULT nextval('public.ir_exports_line_id_seq'::regclass);


--
