MCPcopy Create free account

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

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

↓ 1 callersMethod_records_from_account
(self)
l10n_br_account/models/document_line.py:133
↓ 1 callersMethod_records_to_attachments
(self, record_ids)
l10n_br_fiscal_dfe/models/attachment.py:92
↓ 1 callersFunction_redirect_and_collect_duplicates
(env, city_data, oca_city_map)
l10n_br_base_l10n_br_compat/hooks.py:42
↓ 1 callersMethod_register_remaining_schema_models_hook
Called once all modules are loaded. Here we take all spec models that were not injected into existing concrete Odoo models an
spec_driven_model/models/spec_mixin.py:90
↓ 1 callersMethod_render_danfe
(self, nfe)
l10n_br_nfe/report/ir_actions_report.py:28
↓ 1 callersMethod_rm_fields_to_amount
(self)
l10n_br_fiscal/models/document_line_mixin.py:930
↓ 1 callersMethod_save_event_2disk
(self, arquivo, file_name)
l10n_br_fiscal_edi/models/document_event.py:218
↓ 1 callersMethod_sefaz_import_data
(self, data)
l10n_br_ie_search/models/sefaz_webservice.py:28
↓ 1 callersMethod_select_best_line
(self, lines)
l10n_br_fiscal/models/operation.py:280
↓ 1 callersMethod_send_event
(self, method, valid_codes)
l10n_br_nfe/models/mde.py:179
↓ 1 callersMethod_send_new_cnab_instruction_code
( self, invoice, code_to_send, code_to_check=False, warning_error=Fals
l10n_br_account_payment_order/tests/common.py:844
↓ 1 callersMethod_serialize
(self, edocs)
l10n_br_fiscal_edi/models/document.py:239
↓ 1 callersMethod_serpro_get_cnae
(self, data)
l10n_br_cnpj_search/models/cnpj_webservice.py:418
↓ 1 callersMethod_serpro_get_legal_nature
(self, data)
l10n_br_cnpj_search/models/cnpj_webservice.py:412
↓ 1 callersMethod_serpro_get_phones
Get phones from data. If there is more than one phone, the second is assigned to mobile and the rest is ignored.
l10n_br_cnpj_search/models/cnpj_webservice.py:370
↓ 1 callersMethod_set_nfe40_IEST
(self)
l10n_br_nfe/models/document.py:413
↓ 1 callersMethod_setup_fields
SpecModel models inherit their fields from XSD generated mixins. These mixins can either be made concrete, either be injected into
spec_driven_model/models/spec_models.py:112
↓ 1 callersMethod_sintegra_import_data
(self, data)
l10n_br_ie_search/models/sefaz_webservice.py:75
↓ 1 callersMethod_switch_user_company
Add a company to the user's allowed & set to current.
l10n_br_fiscal_certificate/tests/test_certificate.py:66
↓ 1 callersMethod_switch_user_company
Add a company to the user's allowed & set to current.
l10n_br_fiscal/tests/test_ibpt.py:95
↓ 1 callersMethod_sync_shadow_fields
(self, vals)
l10n_br_account/models/document_line.py:201
↓ 1 callersMethod_sync_shadow_fields
(self, vals)
l10n_br_account/models/document.py:222
↓ 1 callersMethod_target_new_tab
(self, attachment_id)
l10n_br_account_payment_order/models/account_move.py:58
↓ 1 callersMethod_update_document_status
(self, document_id=None)
l10n_br_fiscal/models/invalidate_number.py:134
↓ 1 callersMethod_update_nfce_for_offline_contingency
(self)
l10n_br_nfe/models/document.py:1728
↓ 1 callersMethod_update_product_supplier
(self)
l10n_br_nfe/wizards/document_import_wizard.py:360
↓ 1 callersFunction_update_references
(env, to_delete, oca_city_map)
l10n_br_base_l10n_br_compat/hooks.py:64
↓ 1 callersMethod_update_repartition_lines
(self, account_id, refund_account_id)
l10n_br_coa/models/account_tax.py:11
↓ 1 callersMethod_update_xmlids
Because of the _inherits, Odoo naturally expects XML records for account.move and account.move.line to have respectively a fiscal_doc
l10n_br_account/models/ir_model_data.py:11
↓ 1 callersMethod_validate
(self, response)
l10n_br_ie_search/models/sefaz_webservice.py:70
↓ 1 callersMethod_validate_xml
(self, xml_file)
l10n_br_nfe/models/document.py:1272
↓ 1 callersMethod_verify_related_many2ones
(self, related_many2ones)
spec_driven_model/models/spec_import.py:291
↓ 1 callersMethod_view_get_address
(self, arch)
l10n_br_base/models/format_address_mixin.py:10
↓ 1 callersMethod_write_register_line
Write a line for the register. :param sped: StringIO object to write SPED text :param code: Register code :param rec
l10n_br_sped_base/models/sped_mixin.py:515
↓ 1 callersMethod_zip_update
(self)
l10n_br_zip/models/l10n_br_zip.py:90
↓ 1 callersMethodaccount_tax_group
(self)
l10n_br_account/models/fiscal_tax_group.py:10
↓ 1 callersMethodaction_create_return
(self)
l10n_br_fiscal/models/document.py:461
↓ 1 callersMethodaction_danfe_nfce_report
(self)
l10n_br_nfe/models/document.py:1762
↓ 1 callersMethodaction_document_back2draft
(self)
l10n_br_fiscal_edi/models/document.py:178
↓ 1 callersMethodaction_document_back2draft
(self)
l10n_br_fiscal/models/document.py:486
↓ 1 callersMethodaction_document_back2draft
Sets fiscal document to draft state and cancel and set to draft the related invoice for both documents remain equivalent state.
l10n_br_account/models/account_move.py:591
↓ 1 callersMethodaction_document_back2draft
(self)
l10n_br_account/models/document.py:312
↓ 1 callersMethodaction_document_cancel
(self)
l10n_br_account/models/account_move.py:576
↓ 1 callersMethodaction_done_cancel
(self)
l10n_br_account_payment_order/models/account_payment_order.py:200
↓ 1 callersMethodaction_draft
(self)
l10n_br_fiscal/models/operation.py:188
↓ 1 callersMethodaction_negar_operacao
(self)
l10n_br_nfe/models/mde.py:210
↓ 1 callersMethodaction_open_document
(self)
l10n_br_fiscal/wizards/document_import_wizard.py:176
↓ 1 callersMethodaction_operacao_desconhecida
(self)
l10n_br_nfe/models/mde.py:205
↓ 1 callersMethodaction_update_partner
(self)
l10n_br_crm_cnpj_search/wizard/partner_cnpj_search_wizard.py:22
↓ 1 callersMethodaction_view_invoice
(self)
l10n_br_account/models/document.py:324
↓ 1 callersFunctionbrazil_all_holidays_set
Returns all holidays in brazil with their respective type and coverage
l10n_br_resource/tools/brazil_all_holidays_set.py:24
↓ 1 callersMethodbuild_compressed_attachment
Compacta os anexos recebidos e os retorno como um novo único anexo Outra maneira de utilizar o método é instanciar a classe, relacion
l10n_br_fiscal_dfe/models/attachment.py:31
↓ 1 callersFunctionbuild_edoc_path
( company_id, ambiente, tipo_documento, ano, mes, serie=False, numero=False )
l10n_br_fiscal/tools.py:54
↓ 1 callersMethodbutton_create_sped_files
Generate and attach the SPED file.
l10n_br_sped_base/models/sped_declaration.py:200
↓ 1 callersMethodbutton_done
(self)
l10n_br_sped_base/models/sped_declaration.py:194
↓ 1 callersMethodbutton_draft
(self)
l10n_br_sped_base/models/sped_declaration.py:197
↓ 1 callersMethodbutton_flush_registers
(self)
l10n_br_sped_base/models/sped_declaration.py:187
↓ 1 callersMethodbutton_import_fiscal_document
Import move fields and invoice lines from the fiscal_document_id record if there is any new line to import. You can t
l10n_br_account/models/account_move.py:876
↓ 1 callersMethodbutton_populate_sped_from_odoo
Populate SPED registers from Odoo.
l10n_br_sped_base/models/sped_declaration.py:156
↓ 1 callersMethodcheck_nfe_status_in_sefaz
Checks the status and protocol of an NF-e against SEFAZ's database. It updates the NF-e status and saves the data if the NF-e is foun
l10n_br_nfe/models/document.py:1417
↓ 1 callersMethodcheck_number_in_use
Check if a document with the same number already exists, this can happen in some cases, for example invoices imported in Odoo from another ERP
l10n_br_fiscal/models/document_serie.py:144
↓ 1 callersMethodcreate
Overwrite method to create a new ir.sequence if this field is null
l10n_br_fiscal/models/document_serie.py:83
↓ 1 callersMethodcreate_cnab_change_tittle_value
CNAB - Alteração do Valor do Título.
l10n_br_account_payment_order/models/l10n_br_cnab_change_methods.py:391
↓ 1 callersFunctioncreate_locations_quants
Create Quants for Inventory, use in Test and Demo Data :param locations: List of the Stock Locations :param products: List of the Product
l10n_br_stock/hooks.py:93
↓ 1 callersMethodcreate_payment_outside_cnab
(self, amount_payment)
l10n_br_account_payment_order/models/l10n_br_cnab_change_methods.py:556
↓ 1 callersMethodcreate_wizard
(self, obj, zips)
l10n_br_zip/models/l10n_br_zip.py:210
↓ 1 callersMethodcreate_xml_attachment
(self, xml)
l10n_br_nfe/models/mde.py:215
↓ 1 callersMethoddefault_get
(self, fields)
l10n_br_cnpj_search/wizard/partner_cnpj_search_wizard.py:97
↓ 1 callersMethoddefault_get
The nfe.40.prod mixin (prod XML tag) cannot be injected in the product.product object because the tag includes attributes from the
l10n_br_nfe/models/product_product.py:53
↓ 1 callersMethoddo_cancel
(self)
l10n_br_fiscal_edi/wizards/document_cancel_wizard.py:13
↓ 1 callersMethoddo_invalidate
(self)
l10n_br_fiscal_edi/wizards/invalidate_number_wizard.py:13
↓ 1 callersMethoddocument_back2draft
(self)
l10n_br_fiscal_edi/models/document_workflow.py:324
↓ 1 callersMethoddraft2open_payment_line_check
Override to add brazilian validations
l10n_br_account_payment_order/models/account_payment_line.py:211
↓ 1 callersMethodexec_after_SITUACAO_EDOC_DENEGADA
(self, old_state, new_state)
l10n_br_account/models/document.py:343
↓ 1 callersMethodfilter
(self, record)
l10n_br_account/models/fiscal_decorator_mixin.py:19
↓ 1 callersFunctionfilter_focusnfe
Filter records with FocusNFE provider.
l10n_br_nfse_focus/models/helpers.py:9
↓ 1 callersFunctionfilter_processador_edoc_nfe
(record)
l10n_br_nfe/models/document.py:71
↓ 1 callersMethodformat_amount
(self, env, amount, currency)
l10n_br_fiscal/models/comment.py:85
↓ 1 callersMethodgenerate_boleto_pdf
Classe a ser herdada pelo modulo que implementa a biblioteca ou API, deve anexar o PDF com boletos
l10n_br_account_payment_order/models/account_move.py:49
↓ 1 callersMethodget_api_url
Get webservice endpoint Params: cnpj (str): Partner CNPJ.
l10n_br_cnpj_search/models/cnpj_webservice.py:53
↓ 1 callersMethodget_balance
Return the balance of any set of move lines. Not to be confused with the 'balance' field on this model, which returns the ac
l10n_br_account_payment_order/models/account_move_line.py:230
↓ 1 callersFunctionget_boleto_especies
()
l10n_br_account_payment_order/constants.py:322
↓ 1 callersMethodget_calendar_for_city
(self, holiday)
l10n_br_resource/wizards/workalendar_holiday_import_wizard.py:97
↓ 1 callersMethodget_data
(self, data, name, title=False, lower=False)
l10n_br_ie_search/models/sefaz_webservice.py:82
↓ 1 callersMethodget_document_status
(self)
l10n_br_fiscal/wizards/document_status_wizard.py:14
↓ 1 callersMethodget_headers
Get webservice request headers
l10n_br_cnpj_search/models/cnpj_webservice.py:64
↓ 1 callersMethodget_invoice_fiscal_number
Como neste modulo não temos o número do documento fiscal, testamos a presença desse campo e se o módulo fiscal não tiver instalado,
l10n_br_account_payment_order/models/account_move.py:81
↓ 1 callersMethodget_operation_dashboard_data
(self)
l10n_br_fiscal/models/operation_dashboard.py:51
↓ 1 callersMethodholiday_import
(self)
l10n_br_resource/wizards/workalendar_holiday_import_wizard.py:137
↓ 1 callersMethodimport_data
Import webservice response to Odoo Params: data (dict): data with webservice response Returns: values (dict)
l10n_br_cnpj_search/models/cnpj_webservice.py:81
↓ 1 callersMethodimport_document
(self)
l10n_br_nfe/models/mde.py:154
↓ 1 callersMethodimport_document_multi
(self)
l10n_br_nfe/models/mde.py:173
↓ 1 callersMethodimport_with_po_wizard
(self, payment_mode_id, payment_type="inbound", aml=False)
l10n_br_account_payment_order/tests/common.py:764
↓ 1 callersMethodjson
(self)
l10n_br_ie_search/tests/test_sintegra.py:18
↓ 1 callersMethodjson
(self)
l10n_br_fiscal/tests/test_ibpt.py:53
↓ 1 callersMethodline_definition
(self, company, partner, product)
l10n_br_fiscal/models/operation.py:271
↓ 1 callersMethodload_cnab_info
(self)
l10n_br_account_payment_order/models/account_move.py:97
↓ 1 callersFunctionload_sale_fixture_files
Load sale demo data as test fixtures. This allows tests to run without depending on demo data being installed. The fixture files are loaded d
l10n_br_sale/tests/tools.py:7
↓ 1 callersFunctionload_soap_xml
(relative_path)
l10n_br_nfe/tests/mock_utils.py:20
↓ 1 callersMethodmake_pdf
(self)
l10n_br_fiscal_edi/models/document.py:261
← previousnext →601–700 of 1,914, ranked by callers