MCPcopy Create free account

hub / github.com/OCA/l10n-brazil / functions

Functions1,914 in github.com/OCA/l10n-brazil

↓ 3 callersMethodcreate_company
(self)
l10n_br_base/models/res_partner.py:256
↓ 3 callersFunctioncreate_with_form_res_partner_bank
(env, values)
l10n_br_account_payment_order/tests/tools.py:30
↓ 3 callersMethoddefault_get
(self, fields_list)
l10n_br_account/models/account_move.py:200
↓ 3 callersMethodfetch_and_verify_pdf_content
Fetch and verify the PDF content from the provided URL. Parameters: status_json: JSON response containing the URLs for the PDF.
l10n_br_nfse_focus/models/document.py:448
↓ 3 callersMethodget_calendar_for_country
(self)
l10n_br_resource/wizards/workalendar_holiday_import_wizard.py:60
↓ 3 callersMethodget_document_serie
(self, company, document_type)
l10n_br_fiscal/models/operation.py:200
↓ 3 callersMethodget_stacked_tree
# > means the content of the m2o is stacked in the parent # - means standard m2o. Eventually followd by the mapped Odoo model
l10n_br_nfe/tests/test_nfe_structure.py:21
↓ 3 callersMethodget_state_from_calendar
(self, holiday)
l10n_br_resource/wizards/workalendar_holiday_import_wizard.py:50
↓ 3 callersMethodjson
(self)
l10n_br_currency_rate_update/tests/test_currency_rate_update_bcb.py:47
↓ 3 callersMethodmap_fiscal_taxes
Map and determine the applicable fiscal taxes, CFOP, IPI guideline, and ICMS tax benefit for a given context. The method agg
l10n_br_fiscal/models/operation_line.py:203
↓ 3 callersMethodmatch_or_create_m2o
Often the parent_dict can be used to refine the search. Passing the model makes it possible to override without inheriting fr
spec_driven_model/models/spec_import.py:337
↓ 3 callersMethodnext_business_day
Return the next business day after reference_date. :param datetime reference_date: reference date. If not provided,
l10n_br_resource/models/resource_calendar.py:179
↓ 3 callersMethodopen_fiscal_document
If there is only 1 fiscal document (usual case), open the fiscal form view for it. Open the tree view in the case of several
l10n_br_account/models/account_move.py:511
↓ 3 callersMethodquery_focus_nfse_by_rps
Query NFSe by RPS. Args: ref (str): The RPS reference. complete (bool): Whether to return complete information.
l10n_br_nfse_focus/models/nfse_municipal.py:243
↓ 3 callersMethodquery_focus_nfse_nacional_by_ref
Query NFSe Nacional by reference. Args: ref (str): The document reference. company (recordset): The company record.
l10n_br_nfse_focus/models/nfse_nacional.py:375
↓ 3 callersFunctionremove_non_ascii_characters
(value)
l10n_br_fiscal/tools.py:79
↓ 3 callersFunctionset_journal_in_fiscal_operation
Set Journal in Fiscal Operation by updating the company-dependent journal_id field. :param company: Company Object :param values: Dict wi
l10n_br_fiscal/tools.py:94
↓ 3 callersMethodset_param
(cls, param_name, param_value)
l10n_br_ie_search/tests/test_sintegra.py:75
↓ 3 callersMethodset_result
(self)
l10n_br_zip/models/l10n_br_zip.py:104
↓ 3 callersMethodupdate_certificate_data
(self, values)
l10n_br_fiscal_certificate/models/certificate.py:115
↓ 3 callersMethodview_pdf
(self)
l10n_br_nfe/models/document.py:1548
↓ 3 callersMethodwrite
(self, values)
l10n_br_fiscal/models/tax_definition.py:406
↓ 2 callersMethod__document_comment_vals
(self)
l10n_br_fiscal/models/document.py:507
↓ 2 callersMethod_assert_tax_fields_match_recompute
Assert tax fields match a fresh recompute.
l10n_br_sale/tests/test_l10n_br_sale_lp.py:68
↓ 2 callersMethod_build_mapping_result_icms
(self, mapping_result, tax_definition)
l10n_br_fiscal/models/operation_line.py:188
↓ 2 callersMethod_build_model
xsd generated spec mixins do not need to depend on this opinionated module. That's why the spec.mixin is dynamically injected as a pa
spec_driven_model/models/spec_models.py:71
↓ 2 callersMethod_certificate_data
(self, cert_file, cert_password)
l10n_br_fiscal_certificate/models/certificate.py:63
↓ 2 callersMethod_check_nfe
(self, nfe)
l10n_br_nfe/tests/test_nfe_import.py:52
↓ 2 callersMethod_check_pix_transfer_type
(self)
l10n_br_account_payment_order/models/account_payment_line.py:239
↓ 2 callersMethod_check_sequence_already_in_use
(self, field)
l10n_br_account_payment_order/models/l10n_br_cnab_config.py:127
↓ 2 callersFunction_clean_cpf_cnpj
Remove formatting from CPF/CNPJ string. Args: value (str): CPF or CNPJ string with formatting. Returns: str: Cleaned CPF/CNP
l10n_br_nfse_focus/models/helpers.py:30
↓ 2 callersMethod_commercial_fields
(self)
l10n_br_fiscal/models/res_partner.py:154
↓ 2 callersMethod_comodel_from_binding_type
The binding_type is a full binding name. But it can be too long. So in xsdata-odoo, when generating the corresponding abstract models
spec_driven_model/models/spec_import.py:148
↓ 2 callersMethod_compute_document_name
(self)
l10n_br_fiscal/models/document.py:355
↓ 2 callersMethod_compute_fiscal_tax_ids
(self)
l10n_br_fiscal/models/document_line_mixin.py:319
↓ 2 callersMethod_compute_nfe40_choice_imposto
(self)
l10n_br_nfe/models/document_line.py:1291
↓ 2 callersMethod_compute_pix_transfer_type
(self)
l10n_br_account_payment_order/models/account_payment_line.py:228
↓ 2 callersMethod_compute_tax_fields
Compute base, percent, value... tax fields for ICMS, IPI, PIS, COFINS... taxes.
l10n_br_fiscal/models/document_line_mixin.py:435
↓ 2 callersMethod_create_fiscal_operation
Helper method to create a fiscal operation for testing
l10n_br_account/tests/test_invoice_refund.py:88
↓ 2 callersMethod_create_payment_order_change
(self, **kwargs)
l10n_br_account_payment_order/models/l10n_br_cnab_change_methods.py:526
↓ 2 callersMethod_cron_search_documents
(self)
l10n_br_fiscal_dfe/models/dfe.py:153
↓ 2 callersMethod_date_server_format
(self)
l10n_br_fiscal/models/document_mixin.py:46
↓ 2 callersMethod_document_cancel
(self, justificative)
l10n_br_nfe/models/document.py:1598
↓ 2 callersMethod_document_comment
(self)
l10n_br_fiscal/models/document.py:514
↓ 2 callersMethod_document_confirm
(self)
l10n_br_fiscal_edi/models/document_workflow.py:289
↓ 2 callersMethod_document_date
(self)
l10n_br_fiscal_edi/models/document_workflow.py:223
↓ 2 callersMethod_document_export
Prepare and export the document's electronic information. Parameters: - pretty_print: A boolean indicating whether the exported d
l10n_br_nfse_focus/models/document.py:115
↓ 2 callersMethod_download_document
(self, nfe_key)
l10n_br_fiscal_dfe/models/dfe.py:136
↓ 2 callersMethod_exec_after_SITUACAO_EDOC_DENEGADA
(self, old_state, new_state)
l10n_br_fiscal_edi/models/document_workflow.py:156
↓ 2 callersMethod_export_fields_ipi
(self, xsd_fields, class_obj, export_dict)
l10n_br_nfe/models/document_line.py:904
↓ 2 callersMethod_export_fields_nfe_40_imposto
(self, xsd_fields, class_obj, export_dict)
l10n_br_nfe/models/document_line.py:502
↓ 2 callersMethod_export_many2one
Overriden to avoid creating inner tag for m2o if none of the denormalized inner attribute has been set.
l10n_br_nfe/models/document.py:877
↓ 2 callersMethod_find_existing_document
(self)
l10n_br_fiscal/wizards/document_import_wizard.py:141
↓ 2 callersMethod_flush_registers
Flush the SPED registers for a specific kind and declaration. :param kind: Type of SPED register :param declaration_id: Decl
l10n_br_sped_base/models/sped_mixin.py:327
↓ 2 callersMethod_generate_sped_text
Generate SPED text from Odoo declaration records.
l10n_br_sped_base/models/sped_declaration.py:335
↓ 2 callersMethod_get_alphanum_sequence
Helper method to get alphanumeric sequence for sorting registers. (the register name alone won't cut it)
l10n_br_sped_base/models/sped_mixin.py:106
↓ 2 callersMethod_get_binding_class
Use (_spec_prefix)_binding_type of odoo_class and its binding_module to get the Python binding type for export.
spec_driven_model/models/spec_export.py:18
↓ 2 callersMethod_get_email_template
(self, state)
l10n_br_fiscal_notification/models/document.py:12
↓ 2 callersMethod_get_fiscal_lines_field_name
(self)
l10n_br_fiscal/models/document_mixin.py:125
↓ 2 callersMethod_get_fiscal_partner
Meant to be overriden when the l10n_br_fiscal.document partner_id should not be the same as the sale.order, purchase.order, account.m
l10n_br_fiscal/models/document_line_mixin.py:543
↓ 2 callersMethod_get_importer_action
Try to parse the 1st file of the the attachments to detect its type and return the wizard import action. Also mark the other
l10n_br_account/wizards/document_import_wizard.py:95
↓ 2 callersMethod_get_legal_nature
(self, raw_code)
l10n_br_cnpj_search/models/cnpj_webservice.py:121
↓ 2 callersMethod_get_mail_attachment
(self)
l10n_br_fiscal_notification/models/document.py:42
↓ 2 callersMethod_get_partner_values
(self, cnpj_cpf)
l10n_br_cnpj_search/wizard/partner_cnpj_search_wizard.py:72
↓ 2 callersMethod_get_processor
(self)
l10n_br_fiscal_dfe/models/dfe.py:56
↓ 2 callersMethod_get_taxes_from_xml_product
(self, product)
l10n_br_nfe/wizards/document_import_wizard.py:183
↓ 2 callersFunction_identify_cpf_cnpj
Identify if the provided values are CPF or CNPJ. Args: cpf (str): CPF value. cnpj (str): CNPJ value. Returns: tuple:
l10n_br_nfse_focus/models/helpers.py:44
↓ 2 callersMethod_invalidate
(self, document_id=None)
l10n_br_fiscal/models/invalidate_number.py:142
↓ 2 callersMethod_is_br_partner
Check if is a Brazilian Partner.
l10n_br_base/models/res_partner.py:268
↓ 2 callersMethod_is_invalid_number
(self, document_number)
l10n_br_fiscal/models/document_serie.py:121
↓ 2 callersMethod_map_kwargs
(self)
l10n_br_fiscal/tests/test_tax_classification.py:27
↓ 2 callersMethod_nfe_process_authorization
Processes the response to the authorization request (batch processing). This can be called the transmission result or the processing
l10n_br_nfe/models/document.py:1524
↓ 2 callersMethod_nfe_response_add_proc
Inject the final NF-e, tag `nfeProc`, into the response.
l10n_br_nfe/models/document.py:1351
↓ 2 callersMethod_onchange_file
(self)
l10n_br_fiscal/wizards/document_import_wizard.py:148
↓ 2 callersMethod_onchange_partner_id
(self)
l10n_br_crm/models/crm_lead.py:126
↓ 2 callersMethod_onchange_state_id
(self)
l10n_br_base/models/res_company.py:132
↓ 2 callersMethod_onchange_zip
(self)
l10n_br_base/models/party_mixin.py:122
↓ 2 callersMethod_parse_authorization_datetime
Parse authorization datetime from JSON data. Args: json_data (dict): JSON response data. Returns: datetime:
l10n_br_nfse_focus/models/document.py:144
↓ 2 callersMethod_parse_file
(self)
l10n_br_fiscal/wizards/document_import_wizard.py:228
↓ 2 callersMethod_prepare_br_fiscal_dict
(self, default=False)
l10n_br_fiscal/models/document_mixin.py:59
↓ 2 callersMethod_prepare_company_service
(self)
l10n_br_nfse/models/res_company.py:36
↓ 2 callersMethod_prepare_import_dict
Set non computed field values based on XML values if required. NOTE: this is debatable if we could use an api multi with values in
spec_driven_model/models/spec_import.py:222
↓ 2 callersMethod_prepare_key_fields
(self)
l10n_br_fiscal/wizards/base_wizard_mixin.py:49
↓ 2 callersMethod_prepare_line_service
(self)
l10n_br_nfse/models/document_line.py:71
↓ 2 callersMethod_prepare_lote_rps
(self)
l10n_br_nfse/models/document.py:311
↓ 2 callersMethod_prepare_nfce_danfe_line_values
(self)
l10n_br_nfe/models/document.py:1807
↓ 2 callersMethod_prepare_nfce_danfe_payment_values
(self)
l10n_br_nfe/models/document.py:1825
↓ 2 callersMethod_prepare_payload_nacional
Construct the NFSe Nacional payload. Args: edoc (dict): The electronic document data containing rps, service, rec
l10n_br_nfse_focus/models/nfse_nacional.py:266
↓ 2 callersMethod_process_authorized_status_base
Base method to process authorized status. Args: record: The document record. json_data (dict): JSON response data.
l10n_br_nfse_focus/models/document.py:226
↓ 2 callersMethod_process_authorized_status_municipal
Process authorized status for NFSe Municipal.
l10n_br_nfse_focus/models/document.py:301
↓ 2 callersMethod_process_authorized_status_nacional
Process authorized status for NFSe Nacional.
l10n_br_nfse_focus/models/document.py:291
↓ 2 callersMethod_process_send_municipal
Process document send for NFSe Municipal.
l10n_br_nfse_focus/models/document.py:667
↓ 2 callersMethod_process_send_nacional
Process document send for NFSe Nacional.
l10n_br_nfse_focus/models/document.py:637
↓ 2 callersMethod_provider
(self)
l10n_br_ie_search/wizard/extend_partner_cnpj_search_wizard.py:40
↓ 2 callersMethod_register_payment
(self, invoice, amount)
l10n_br_account/tests/test_payment_status.py:57
↓ 2 callersMethod_reopen
(self)
l10n_br_fiscal/wizards/base_wizard_mixin.py:89
↓ 2 callersFunction_request
(ws_url, params, ibpt_request_timeout=30)
l10n_br_fiscal/models/ibpt.py:24
↓ 2 callersMethod_save_tempfile
(self, document_path, anexo, temp_dir)
l10n_br_fiscal_closing/models/closing.py:241
↓ 2 callersMethod_search_partner
Search for a partner based on CNPJ, name, or legal name. This method searches for a partner in the `res.partner` model based
l10n_br_fiscal/wizards/document_import_wizard.py:78
↓ 2 callersMethod_search_product_supplier_by_product_code
(self, code)
l10n_br_nfe/wizards/document_import_wizard.py:145
← previousnext →201–300 of 1,914, ranked by callers