mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update for Odoo 11
This commit is contained in:
@@ -12,7 +12,7 @@ _unlink: Any
|
||||
regex_order: Any
|
||||
regex_object_name: Any
|
||||
regex_pg_name: Any
|
||||
regex_field_agg: Any
|
||||
onchange_v7: Any
|
||||
AUTOINIT_RECALCULATE_STORED_FIELDS: int
|
||||
|
||||
def check_object_name(name: Any): ...
|
||||
@@ -43,7 +43,6 @@ IdType: Any
|
||||
PREFETCH_MAX: int
|
||||
LOG_ACCESS_COLUMNS: Any
|
||||
MAGIC_COLUMNS: Any
|
||||
VALID_AGGREGATE_FUNCTIONS: Any
|
||||
|
||||
class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
_auto: bool = ...
|
||||
@@ -63,6 +62,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
_order: str
|
||||
_parent_name: str = ...
|
||||
_parent_store: bool = ...
|
||||
_parent_order: bool = ...
|
||||
_date_name: str = ...
|
||||
_fold_name: str = ...
|
||||
_needaction: bool = ...
|
||||
@@ -106,7 +106,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
def __init__(self, pool: Any, cr: Any) -> None: ...
|
||||
def _is_an_ordinary_table(self): ...
|
||||
def __ensure_xml_id(self, skip: bool = ...): ...
|
||||
def _export_rows(self, fields: Any, *, _is_toplevel_call: bool = ...): ...
|
||||
def _export_rows(self, fields, batch_invalidate: bool = ...): ...
|
||||
__export_rows: Any = ...
|
||||
def export_data(self, fields_to_export: Any, raw_data: bool = ...): ...
|
||||
def load(self, fields: Any, data: Any): ...
|
||||
@@ -122,7 +122,6 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
def _get_default_form_view(self): ...
|
||||
def _get_default_search_view(self): ...
|
||||
def _get_default_tree_view(self): ...
|
||||
def _get_default_activity_view(self): ...
|
||||
def _get_default_pivot_view(self): ...
|
||||
def _get_default_kanban_view(self): ...
|
||||
def _get_default_graph_view(self): ...
|
||||
@@ -155,6 +154,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
def _inherits_join_add(self, current_model: Any, parent_model_name: Any, query: Any): ...
|
||||
def _inherits_join_calc(self, alias: Any, fname: Any, query: Any, implicit: bool = ..., outer: bool = ...): ...
|
||||
def _parent_store_compute(self): ...
|
||||
def _check_selection_field_value(self, field, value) -> None: ...
|
||||
def _check_removed_columns(self, log: bool = ...) -> None: ...
|
||||
def _init_column(self, column_name: Any) -> None: ...
|
||||
def _table_has_rows(self): ...
|
||||
@@ -177,20 +177,14 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
def _read_from_database(self, field_names: Any, inherited_field_names: Any = ...): ...
|
||||
def get_metadata(self): ...
|
||||
def _check_concurrency(self) -> None: ...
|
||||
def _check_record_rules_result_count(self, result_ids, operation) -> None: ...
|
||||
def check_access_rights(self, operation: Any, raise_exception: bool = ...): ...
|
||||
def check_access_rule(self, operation: Any) -> None: ...
|
||||
def _filter_access_rules(self, operation: Any): ...
|
||||
def unlink(self): ...
|
||||
def write(self, vals: Any): ...
|
||||
def _write(self, vals: Any): ...
|
||||
def create(self, vals_list: Any) -> BaseModel: ...
|
||||
def _create(self, data_list: Any): ...
|
||||
def _parent_store_create(self) -> None: ...
|
||||
def _parent_store_update_prepare(self, vals: Any): ...
|
||||
def _parent_store_update(self) -> None: ...
|
||||
def _load_records_write(self, values: Any) -> None: ...
|
||||
def _load_records_create(self, values: Any): ...
|
||||
def _load_records(self, data_list: Any, update: bool = ...): ...
|
||||
def _where_calc(self, domain: Any, active_test: bool = ...): ...
|
||||
def _check_qorder(self, word: Any): ...
|
||||
def _apply_ir_rules(self, query: Any, mode: str = ...) -> None: ...
|
||||
@@ -261,6 +255,7 @@ class BaseModel(MetaModel('DummyModel', (object,), {'_register': False})):
|
||||
def __or__(self, other: Any) -> BaseModel: ...
|
||||
def union(self, *args: Any) -> BaseModel: ...
|
||||
def __eq__(self, other: Any) -> bool: ...
|
||||
def __ne__(self, other): ...
|
||||
def __lt__(self, other: Any) -> bool: ...
|
||||
def __le__(self, other: Any) -> bool: ...
|
||||
def __gt__(self, other: Any) -> bool: ...
|
||||
@@ -320,4 +315,3 @@ def _get_translated_field_name(model: Any, field_name: Any): ...
|
||||
PGERROR_TO_OE: Any
|
||||
|
||||
def _normalize_ids(arg: Any, atoms: Any = ...): ...
|
||||
def lazy_name_get(self): ...
|
||||
|
||||
Reference in New Issue
Block a user