Supplier Inventory Import UBL
supplier_inventory_import_ubl · OCA/edi
Health
32/100
poor
-
Security22/251 minor finding
-
Activity0/25Last human commit 72 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
InventoryUblHelper— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceInventoryUblImport— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceProductSupplierinfo— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceProductTemplate— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourceubl_product_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceubl_supinfo_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 12
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
documentBinaryhelp='Upload xml file that you received from your supplier.'required=Truestring='Document to import' -
filenameChar
-
parse_xml_document(self, xml_root)@api.model -
prepare_attachment(self, feedback) -
process_data(self, parsed_document)@api.modelTasks: - 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_stockFloatdigits=dp.get_precision('Product Unit of Measure')help=HELP_STKreadonly=Truestring='Supplier Stock' -
supplier_stock_infoCharhelp=HELP_INFreadonly=Truestring='Supplier Stock Info'
No public methods.
New fields (3)
-
last_stockDatehelp='Date of the last known supplier stock'string='Last Stock' -
product_default_codeCharcompute='_compute_product_default_code'help='Default code of product'store=Falsestring='Internal reference' -
stockFloatdigits=dp.get_precision('Product Unit of Measure')help='Vendor stock quantity available'string='Stock Qty'
No public methods.
New fields (2)
-
supplier_stockFloatcompute='_compute_supplier_stock_fields'digits=dp.get_precision('Product Unit of Measure')help=HELP_STKreadonly=Truestore=Truestring='Supplier Stock' -
supplier_stock_infoCharcompute='_compute_supplier_stock_fields'help=<expr>readonly=Truestore=Truestring='Supplier Stock Info'
No public methods.
New fields (3)
-
inventory_ubl_alert_partner_idMany2one → res.partnercomodel_name='res.partner'default=<expr>help='Partner to alert in case of fails on import'required=Truestring='Alert Recipient' -
inventory_ubl_link_documentBooleanhelp='If checked, imported attachment is linked to supplier'string='Link File to Supplier' -
inventory_ubl_store_documentBooleanhelp='Import xml file as ERP attachment'string='Store Imported File'
No public methods.
New fields (2)
-
supplier_stockFloatreadonly=Truerelated='product_id.supplier_stock'string='Supplier Stock' -
supplier_stock_infoCharreadonly=Truerelated='product_id.supplier_stock_info'string='Supplier Inventory'
No public methods.