Base Sale MultiChannels
base_sale_multichannels · OCA/e-commerce
-
Security25/25No findings
-
Activity0/25Last human commit 141 months ago
-
Required by25/256 modules depend on it
-
Maturity5/25In 1 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
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
account_invoice— Class 'account_invoice' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceaccount_tax_group— Class 'account_tax_group' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourcebase_sale_multichannel_view_order_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourcedelivery_carrier— Class 'delivery_carrier' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceexternal_referential— Class 'external_referential' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepayment_method— Class 'payment_method' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceproduct_template— Class 'product_template' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceres_partner— Class 'res_partner' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcesale_order_import_wizard— Class 'sale_order_import_wizard' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcesale_order_import_wizard— Class 'sale_order_import_wizard' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcestock_picking— Class 'stock_picking' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_base_sale_external_shop_group_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_tax_group_tree— 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.osv.orm`) (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.osv.orm`) (3 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.osv.orm`) (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.osv.orm`) (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.osv.orm`) (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.osv.orm`) (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.osv.orm`) (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.osv.orm`) (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
This module provide an abstract common minimal base to multi-channels sales. Say you want to expose your product catalog to
- several instances of flashy-sluggish Magento web sites
- a cutting edge Spree web shop
- a Neteven online Marketplace
- EBay
- Amazon
- Google Base
- an external Point Of Sale system
- ... Then this module allows you to:
- use several external references ids on every OpenERP object matching those all those external referentials
- per referential instance, use several sale sub platform entities (ex: several Magento websites per instance)
- per sub platform, use several shops (ex: several Magento web shops per website)
For each sale shop (matching OpenERP sale.shop object), this module abstract the interfaces to:
- export the catalog, shop warehouse stock level wise, shop pricelist wise
- import the catalog
- import orders
- export orders/picking status
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- base_sale_export_partner, base_sale_export_product, base_sale_report_synchronizer, prestashoperpconnect, product_custom_attributes_shop, product_images_sync
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 18
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
base_sale_multichannel_view_order_form |
base_sale_multichannel_view_order_form | sale.order | form | Inherits sale_automatic_workflow.sale_order_view_form |
base_sale_multichannel_view_order_line_form |
base_sale_multichannel_view_order_form | sale.order.line | form | Inherits sale.view_order_line_form2 |
base_sale_multichannel_view_order_line_tree |
base_sale_multichannel_view_order_tree | sale.order.line | form | Inherits sale.view_order_line_tree |
base_sale_multichannel_view_order_tree |
base_sale_multichannel_view_order_tree | sale.order | form | Inherits sale.view_order_tree |
base_sale_multichannels_view_shop_form |
base_sale_multichannels_view_shop_form | sale.shop | form | Inherits sale.view_shop_form |
invoice_form |
base_sale_multichannel_invoice_form | account.invoice | form | Inherits account.invoice_form |
payment_method_view_form |
sale_automatic_workflow.payment_method.view_form | payment.method | form | Inherits sale_quick_payment.payment_method_view_form |
payment_method_view_tree |
sale_automatic_workflow.payment_method.view_tree | payment.method | tree | Inherits sale_quick_payment.payment_method_view_tree |
sale_order_import_wizard_view |
sale.order.import.wizard.view | sale.order.import.wizard | form | New |
shop_ids_partner_form |
shop_ids.partner.form | res.partner | form | Inherits base.view_partner_form |
view_base_sale_external_shop_group_form |
base.sale.external.shop.group.form | external.shop.group | form | New |
view_base_sale_external_shop_group_tree |
base.sale.external.shop.group.tree | external.shop.group | tree | New |
view_delivery_carrier_form_inherit |
delivery.carrier.form.inherit | delivery.carrier | form | Inherits delivery.view_delivery_carrier_form |
view_picking_out_form_ext |
stock.picking.out.form.ext | stock.picking | form | Inherits stock.view_picking_out_form |
view_sales_order_filter |
base_sale_multichannel.view_sales_order_filter | sale.order | search | Inherits sale.view_sales_order_filter |
view_tax_form |
base_sale_multichannels.view_tax_form | account.tax | form | Inherits account.view_tax_form |
view_tax_group_form |
account.tax.group | account.tax.group | form | New |
view_tax_group_tree |
account.tax.group | account.tax.group | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 13
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
get_tax_from_rate(self, cr, uid, rate, is_tax_included=False, context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (5)-
import_customer_groups(self, cr, uid, ids, context=None) -
import_customers(self, cr, uid, ids, context=None) -
import_product_categories(self, cr, uid, ids, context=None) -
import_product_links(self, cr, uid, ids, context=None) -
import_products(self, cr, uid, ids, context=None)
No new fields.
Public methods (1)-
get_or_create_payment_method(self, cr, uid, payment_method, context=None)try to get id of 'payment_method' or create if not exists :param str payment_method: payment method like PayPal, etc. :rtype: int :return: id of required payment method
No new fields.
Public methods (2)-
collect_children(self, category, children=None) -
get_ids_and_update_date(self, cr, uid, external_session, ids=None, last_exported_date=None, context=None)
No new fields.
Public methods (1)-
get_ids_and_update_date(self, cr, uid, external_session, ids=None, last_exported_date=None, context=None)@only_for_referential(ref_categ='Multichannel Sale')
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
create_ext_shipping(self, cr, uid, id, picking_type, external_referential_id, context)