Skip to content
Health
32/100
poor
  • Security22/25
    1 minor finding
  • Activity0/25
    Last human commit 72 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.71 MB
Module directory on disk
Code analysis 13 migration notes 7 models 12 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
PyPDF2
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 12

XML IDNameModelTypeStatus
inventory_ubl_import_form inventory.ubl.import form New
product_normal_form_view product.product form Inherits product.product_normal_form_view
product_product_tree_view product.product tree Inherits product.product_product_tree_view
product_search_form_view product.product form Inherits product.product_search_form_view
product_supplierinfo_form_view product.supplierinfo form Inherits product.product_supplierinfo_form_view
product_supplierinfo_tree_view product.supplierinfo tree Inherits product.product_supplierinfo_tree_view
product_template_only_form_view product.template form Inherits product.product_template_only_form_view
product_template_tree_view product.template tree Inherits product.product_template_tree_view
ubl_product_tree_view product.product tree New
ubl_supinfo_tree_view product.supplierinfo tree New
view_company_form res.company form Inherits base_ubl.view_company_form
view_stock_quant_tree stock.quant tree Inherits stock.view_stock_quant_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 7

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • document Binary
    help='Upload xml file that you received from your supplier.' required=True string='Document to import'
  • filename Char
Public methods (7)
  • parse_xml_document(self, xml_root)
    @api.model
  • prepare_attachment(self, feedback)
  • process_data(self, parsed_document)
    @api.model
    Tasks: - guess supplier/seller - guess customer/buyer for multicompany context (not implemented in v8) - retrieve relative data with product.supplierinfo and product.product - write stock by on supplierinfo and/or product.product
  • process_document(self)
    @api.multi
  • redirect_action(self, feedback)
  • set_feedback_records(self, feedback)
    Inherit to provide feedback to concerned users with the mean you choose
  • store_document(self, feedback)

New fields (2)
  • supplier_stock Float
    digits=dp.get_precision('Product Unit of Measure') help=HELP_STK readonly=True string='Supplier Stock'
  • supplier_stock_info Char
    help=HELP_INF readonly=True string='Supplier Stock Info'
Public methods (0)

No public methods.

New fields (3)
  • last_stock Date
    help='Date of the last known supplier stock' string='Last Stock'
  • product_default_code Char
    compute='_compute_product_default_code' help='Default code of product' store=False string='Internal reference'
  • stock Float
    digits=dp.get_precision('Product Unit of Measure') help='Vendor stock quantity available' string='Stock Qty'
Public methods (0)

No public methods.

New fields (2)
  • supplier_stock Float
    compute='_compute_supplier_stock_fields' digits=dp.get_precision('Product Unit of Measure') help=HELP_STK readonly=True store=True string='Supplier Stock'
  • supplier_stock_info Char
    compute='_compute_supplier_stock_fields' help=<expr> readonly=True store=True string='Supplier Stock Info'
Public methods (0)

No public methods.

New fields (3)
  • inventory_ubl_alert_partner_id Many2one → res.partner
    comodel_name='res.partner' default=<expr> help='Partner to alert in case of fails on import' required=True string='Alert Recipient'
  • inventory_ubl_link_document Boolean
    help='If checked, imported attachment is linked to supplier' string='Link File to Supplier'
  • inventory_ubl_store_document Boolean
    help='Import xml file as ERP attachment' string='Store Imported File'
Public methods (0)

No public methods.

New fields (2)
  • supplier_stock Float
    readonly=True related='product_id.supplier_stock' string='Supplier Stock'
  • supplier_stock_info Char
    readonly=True related='product_id.supplier_stock_info' string='Supplier Inventory'
Public methods (0)

No public methods.