TIP: You can type at any time to perform a new search.
Supplier Inventory Import UBL
supplier_inventory_import_ubl · OCA/edi
- Repository
- OCA/edi · module folder · Try on Runboat
- Module version
- 1.2.0
- Category
- Purchases
- Folder size
- 0.71 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/oca/edi
- Last tracking update
- 2026-08-07 07:03:08
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Alexis de Lattre, David Beal, OCA-git-bot, oca-travis
Code Analysis ⓘ
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.