Update stubs

This commit is contained in:
Trinh Anh Ngoc
2024-10-29 14:53:51 +07:00
parent cbd6653820
commit e39a40547c
2 changed files with 2 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ regex_pg_name: Pattern[str]
regex_field_agg: Pattern[str]
regex_read_group_spec: Pattern[str]
AUTOINIT_RECALCULATE_STORED_FIELDS: int
GC_UNLINK_LIMIT: int
INSERT_BATCH_SIZE: int
SQL_DEFAULT: psycopg2.extensions.AsIs

View File

@@ -33,7 +33,7 @@ class OdooPdfFileReader(PdfFileReader):
class OdooPdfFileWriter(PdfFileWriter):
is_pdfa: bool
def __init__(self, *args, **kwargs) -> None: ...
def addAttachment(self, fname: str, fdata, subtype: str | None = ...) -> None: ...
def addAttachment(self, name: str, data, subtype: str | None = ...) -> None: ...
def embed_odoo_attachment(
self, attachment: IrAttachment, subtype: str | None = ...
) -> None: ...