MCPcopy Create free account

hub / github.com/OCA/edi / functions

Functions642 in github.com/OCA/edi

↓ 147 callersMethodcreate
(self, vals_list)
account_invoice_download/wizard/account_invoice_download_credentials.py:59
↓ 21 callersMethoduser_error_wrap
The method and data_dict arguments are useful when you want to inherit this method to update the error messag_match_currencye
base_business_document_import/models/business_document_import.py:25
↓ 20 callersMethod_match_partner
Example: partner_dict = { 'country_code': 'FR', 'state_code': False, 'vat': 'FR12448890432', '
base_business_document_import/models/business_document_import.py:300
↓ 20 callersMethodmulti_xpath_helper
( self, xml_root, xpath_list, namespaces, isdate=False, isfloa
account_invoice_import/wizard/account_invoice_import.py:1119
↓ 17 callersMethod_direct_match
(self, data_dict, model, raise_exception=True)
base_business_document_import/models/business_document_import.py:36
↓ 16 callersMethod_match_currency
Example: currency_dict = { 'iso': 'USD', # If we have ISO, no need to have more keys 'symbol': '$', 'coun
base_business_document_import/models/business_document_import.py:746
↓ 15 callersMethodprocess_data
(self, parsed_order_document)
purchase_order_import/wizard/purchase_order_response_import.py:163
↓ 14 callersMethod_get_base_data
(self)
purchase_order_import/tests/test_purchase_order_response_import.py:19
↓ 14 callersMethodorder_line_to_data
( self, order_line, qty=None, status=LINE_STATUS_ACCEPTED, backorder_q
purchase_order_import/tests/common.py:75
↓ 12 callersMethodcreate_order
(self, parsed_order, price_source, order_filename=None)
sale_order_import/wizard/sale_order_import.py:368
↓ 9 callersMethod_strip_cleanup_dict
(self, match_dict)
base_business_document_import/models/business_document_import.py:89
↓ 9 callersMethodraw_multi_xpath_helper
(self, xml_root, xpath_list, namespaces)
account_invoice_import/wizard/account_invoice_import.py:1154
↓ 8 callersMethod_get_xml_root
(self, file_path)
base_ubl_parse/tests/test_ubl_parse.py:28
↓ 8 callersMethod_match_product
Retrieve product. Matching sequence: 1. ID 2. barcode 3. packaging barcode 4. default_code 5. seller
base_business_document_import/models/business_document_import.py:645
↓ 8 callersMethod_match_shipping_partner
Example: shipping_dict = { 'email': 'contact@akretion.com', 'name': 'Akretion France', 'street': 'Long Ave
base_business_document_import/models/business_document_import.py:417
↓ 8 callersMethod_match_uom
Example: uom_dict = { 'unece_code': 'LTR', 'name': 'Liter', }
base_business_document_import/models/business_document_import.py:872
↓ 7 callersMethod_create_purchase_order
(cls, vendor, lines, state="draft")
purchase_order_ubl/tests/common.py:166
↓ 7 callersMethod_get_order_line_customer_ref
Extrapolate customer ref notes `sale_order_import_ubl` will extract notes from `cac:OrderLine/cbc:Note` and `cac:OrderLine/cac:LineIt
sale_order_import_ubl_line_customer_ref/wizard/sale_order_import.py:30
↓ 7 callersMethod_get_partner_website_domain
(self, partner_dict)
base_business_document_import/models/business_document_import.py:229
↓ 7 callersMethodimport_order_button
(self)
sale_order_import/wizard/sale_order_import.py:412
↓ 7 callersMethodupdate_order_lines
(self, parsed_order, order, price_source)
sale_order_import/wizard/sale_order_import.py:579
↓ 6 callersMethod_parse_xml
(self, data)
sale_order_import/wizard/sale_order_import.py:142
↓ 6 callersMethod_ubl_check_xml_schema
Validate the XML file against the XSD
base_ubl/models/ubl.py:23
↓ 6 callersMethod_ubl_get_nsmap_namespace
(self, doc_name, version="2.1")
base_ubl/models/ubl.py:50
↓ 6 callersMethodcreate_invoice
(self, parsed_inv, import_config, origin=None)
account_invoice_import/wizard/account_invoice_import.py:860
↓ 6 callersMethodubl_parse_party
(self, party_node, ns)
base_ubl_parse/models/ubl.py:48
↓ 5 callersMethod_cii_add_date
( self, node_name, date_datetime, parent_node, ns, date_ns_type="udt" )
account_invoice_facturx/models/account_move.py:114
↓ 5 callersMethod_get_date
(self, parsed_inv, raw_text, partner_config, test_info)
account_invoice_import_simple_pdf/models/account_invoice_import_simple_pdf_fields.py:245
↓ 5 callersMethod_match_partner_contact
(self, partner_dict, chatter_msg, domain, order)
base_business_document_import/models/business_document_import.py:170
↓ 5 callersMethodaction_process
Creamos las lineas, auto-detección + procesar cada línea.
base_import_pdf_by_template/wizards/wizard_base_import_pdf_upload.py:76
↓ 5 callersMethodpost_create_or_update
(self, parsed_dict, record, doc_filename=None)
base_business_document_import/models/business_document_import.py:1501
↓ 5 callersMethodrestrict_text
(self, raw_text, test_info)
account_invoice_import_simple_pdf/models/account_invoice_import_simple_pdf_fields.py:209
↓ 4 callersMethod_assert_valid_ubl_xml
Parse ``xml_string``, check the root tag and validate against XSD.
purchase_order_ubl/tests/common.py:77
↓ 4 callersMethod_check_company
( self, company_dict, chatter_msg, company=None, raise_exception=True )
base_business_document_import/models/business_document_import.py:1459
↓ 4 callersMethod_create_ir_attachment
(self, filename)
base_import_pdf_by_template_account/tests/test_base_import_pdf_by_template_account.py:181
↓ 4 callersMethod_create_ir_logging
(self, message, func)
base_import_pdf_by_template/wizards/wizard_base_import_pdf_upload.py:52
↓ 4 callersMethod_match_company_domain
(self)
base_business_document_import/models/business_document_import.py:741
↓ 4 callersMethod_match_tax
Example: tax_dict = { 'amount_type': 'percent', # required param, 'fixed' or 'percent' 'amount': 20.0, # required
base_business_document_import/models/business_document_import.py:998
↓ 4 callersMethod_simple_pdf_partner_config
(self)
account_invoice_import_simple_pdf/models/res_partner.py:347
↓ 4 callersMethod_ubl_add_address
(self, partner, node_name, parent_node, ns, version="2.1")
base_ubl_generate/models/ubl.py:32
↓ 4 callersMethod_ubl_add_customer_party
Please read the docstring of the method _ubl_add_supplier_party
base_ubl_generate/models/ubl.py:208
↓ 4 callersMethod_ubl_add_party
( self, partner, company, node_name, parent_node, ns, version="2.1" )
base_ubl_generate/models/ubl.py:180
↓ 4 callersMethod_ubl_add_supplier_party
The company argument has been added to properly handle the 'ref' field. In Odoo, we only have one ref field, in which we are supposed
base_ubl_generate/models/ubl.py:242
↓ 4 callersMethodget_value_from_list
( # noqa: C901 self, data_list, test_info, raise_if_none=True )
account_invoice_import_simple_pdf/models/account_invoice_import_simple_pdf_fields.py:132
↓ 4 callersMethodimport_invoices
Method called by the button of the wizard
account_invoice_import/wizard/account_invoice_import.py:770
↓ 4 callersMethodparse_facturx_taxes
(self, taxes_xpath, namespaces)
account_invoice_import_facturx/wizard/account_invoice_import.py:208
↓ 4 callersMethodparse_pdf_order
Get PDF attachments, filter on XML files and call import_order_xml
sale_order_import/wizard/sale_order_import.py:171
↓ 4 callersMethodread_test_file
(self, filename, mode="r", as_b64=False)
sale_order_import/tests/common.py:33
↓ 3 callersMethod_can_create_missing_shipping_partner
Checks if the current importer allows shipping address creation When called upon a record, checks field "create_missing_shipping_partner".
sale_order_import/wizard/sale_order_import.py:807
↓ 3 callersMethod_cii_add_address_block
(self, partner, parent_node, ns)
account_invoice_facturx/models/account_move.py:52
↓ 3 callersMethod_convert_to_import_config
(self, company)
account_invoice_import/models/res_partner.py:64
↓ 3 callersMethod_create_ir_attachment
(self, filename)
base_import_pdf_by_template/tests/test_base_import_pdf_by_template.py:41
↓ 3 callersMethod_create_missing_shipping_partner
Creates a new shipping partner for the current import
sale_order_import/wizard/sale_order_import.py:820
↓ 3 callersMethod_create_out_invoice
(self, post=False)
account_edi_ubl_cii_payment_unece/tests/common.py:49
↓ 3 callersMethod_create_wizard_base_import_pdf_upload
(self, attachment)
base_import_pdf_by_template/tests/test_base_import_pdf_by_template.py:49
↓ 3 callersMethod_generate
(self, doc_type, version)
purchase_order_ubl/tests/test_ubl_generate.py:25
↓ 3 callersMethod_get_amount_total
(self, parsed_inv, raw_text, partner_config, test_info)
account_invoice_import_simple_pdf/models/account_invoice_import_simple_pdf_fields.py:344
↓ 3 callersMethod_match_account
Example: account_dict = { 'code': '411100', } speed_dict is usefull to gain performance when you have a lot of
base_business_document_import/models/business_document_import.py:1238
↓ 3 callersMethod_match_taxes
taxes_list must be a list of tax_dict
base_business_document_import/models/business_document_import.py:928
↓ 3 callersMethod_simple_pdf_update_test_info
(self, test_info)
account_invoice_import_simple_pdf/wizard/account_invoice_import.py:326
↓ 3 callersMethod_test_account_invoice_tecnativa_data
(self, record)
base_import_pdf_by_template_account/tests/test_base_import_pdf_by_template_account.py:198
↓ 3 callersMethod_ubl_add_contact
( self, partner, parent_node, ns, node_name="Contact", version="2.1" )
base_ubl_generate/models/ubl.py:80
↓ 3 callersMethod_ubl_add_delivery
(self, delivery_partner, parent_node, ns, version="2.1")
base_ubl_generate/models/ubl.py:280
↓ 3 callersMethod_ubl_add_delivery_terms
(self, incoterm, parent_node, ns, version="2.1")
base_ubl_generate/models/ubl.py:291
↓ 3 callersMethod_ubl_add_line_item
( self, line_number, name, product, type_, quantity, u
base_ubl_generate/models/ubl.py:305
↓ 3 callersMethod_ubl_add_tax_category
( self, tax, parent_node, ns, node_name="TaxCategory", version="2.1" )
base_ubl_generate/models/ubl.py:493
↓ 3 callersMethod_ubl_add_tax_scheme
(self, tax_scheme_dict, parent_node, ns, version="2.1")
base_ubl_generate/models/ubl.py:529
↓ 3 callersMethod_ubl_get_customer_assigned_id
(self, partner)
base_ubl_generate/models/ubl.py:204
↓ 3 callersMethod_ubl_order_import_test
(self, filename, res)
sale_order_import_ubl_customer_free_ref/tests/test_ubl_order_import.py:17
↓ 3 callersMethod_ubl_order_import_test
(self, filename, res)
sale_order_import_ubl_requested_delivery/tests/test_ubl_order_import.py:16
↓ 3 callersMethodgenerate_ubl_xml_string
Provide UBL Xml string with no check According to your use check this string integrity with _ubl_check_xml_schema() method
purchase_order_ubl/models/purchase_order.py:174
↓ 3 callersMethodget_rfq_states
(self)
purchase_order_ubl/models/purchase_order.py:21
↓ 3 callersMethodget_ubl_filename
This method is designed to be inherited
purchase_order_ubl/models/purchase_order.py:229
↓ 3 callersMethodget_ubl_purchase_order_doc_type
(self)
purchase_order_ubl/models/purchase_order.py:293
↓ 3 callersMethodlog_error_sending_invoice
Log an exception in invoice's chatter when sending fails. If an exception already exists it is update otherwise a new one is created.
account_invoice_export/models/account_move.py:129
↓ 3 callersMethodmessage_new
Process the message data from a fetchmail configuration The caller expects us to create a record so we always return an empty one eve
account_invoice_import/wizard/account_invoice_import.py:1162
↓ 3 callersMethodparse_invoice
( self, invoice_file_b64, invoice_filename, company, email_from=None )
account_invoice_import/wizard/account_invoice_import.py:580
↓ 3 callersMethodparse_order
(self, order_file, order_filename, partner=False)
sale_order_import/wizard/sale_order_import.py:391
↓ 3 callersMethodprepare_email_with_attachment
(self, sender_email)
account_invoice_import/tests/test_invoice_import.py:349
↓ 3 callersMethodrun
Do the real work. Handle try/except. Create log. Return list of invoices and log
account_invoice_download/models/account_invoice_download_config.py:189
↓ 3 callersMethodsimple_pdf_text_extraction
(self, file_data, test_info)
account_invoice_import_simple_pdf/wizard/account_invoice_import.py:175
↓ 3 callersMethodubl_parse_address
(self, address_node, ns)
base_ubl_parse/models/ubl.py:87
↓ 3 callersMethodubl_parse_customer_party
(self, party_node, ns)
base_ubl_parse/models/ubl.py:32
↓ 3 callersMethodubl_parse_product
(self, line_node, ns)
base_ubl_parse/models/ubl.py:161
↓ 2 callersMethod_add_log_error_text
(self, field_name, value)
base_import_pdf_by_template/wizards/wizard_base_import_pdf_upload.py:170
↓ 2 callersMethod_add_log_text
(self, text)
base_import_pdf_by_template/wizards/wizard_base_import_pdf_upload.py:177
↓ 2 callersMethod_cii_add_party_identification
(self, commercial_partner, parent_node, ns)
account_invoice_facturx/models/account_move.py:170
↓ 2 callersMethod_cii_add_trade_contact_block
(self, partner, parent_node, ns)
account_invoice_facturx/models/account_move.py:89
↓ 2 callersMethod_cii_invoice_line_taxes
(self, iline, parent_node, ns, allowance=False)
account_invoice_facturx/models/account_move.py:879
↓ 2 callersMethod_cii_line_applicable_trade_tax_block
( self, tax_recordset, parent_node, ns, allowance=False )
account_invoice_facturx/models/account_move.py:401
↓ 2 callersMethod_classified_tax_categories
Return all ``ClassifiedTaxCategory`` nodes found under ``Item``.
purchase_order_ubl/tests/common.py:87
↓ 2 callersMethod_create_in_invoice
(self)
account_edi_ubl_cii_payment_unece/tests/common.py:69
↓ 2 callersMethod_create_missing_partner_vals_cleanup
Creates a copy of ``vals`` while removing keys that are not partner fields A new dictionary is created as a copy of ``vals`` where keys are r
sale_order_import/wizard/sale_order_import.py:859
↓ 2 callersMethod_data_file
(self, filename, encoding=None)
base_import_pdf_by_template/tests/test_base_import_pdf_by_template.py:32
↓ 2 callersMethod_embed_ubl_xml_in_pdf_content
(self, pdf_content, xml_filename, xml_string)
purchase_order_ubl/models/purchase_order.py:259
↓ 2 callersMethod_fallback_parse_pdf
(self, file_data)
base_import_pdf_by_template/wizards/wizard_base_import_pdf_mixin.py:46
↓ 2 callersMethod_get_field_child_values
Process the information from the _get_table_info() method..
base_import_pdf_by_template/models/base_import_pdf_template.py:153
↓ 2 callersMethod_get_field_header_values
(self, text)
base_import_pdf_by_template/models/base_import_pdf_template.py:150
↓ 2 callersMethod_get_file_for_transmission_method
Return the file description to send. Use the format expected by the request library By default returns the PDF report.
account_invoice_export/models/account_move.py:118
↓ 2 callersMethod_get_fixed_fields_from_model
(self, model)
base_import_pdf_by_template/models/base_import_pdf_template.py:141
next →1–100 of 642, ranked by callers