web_shop_shopify
This page combines editorial guidance with evidence extracted from the selected official branch. Always test the flow with your own permissions and configuration.
Purpose
The Web Shop Shopify Module provides a way to manage Shopify <https://www.shopify.com/>_ stores. It uploads products, variants and collections to Shopify, and downloads orders, transactions and creates fulfilments.
The analysis found 14 Python files, 16 XML files, 11 views, 6 actions, 2 menus, and 0 reports.
Functional user guide
Who should use it
This module is relevant to people responsible for web shop shopify processes, company configuration, and result review. Administrators should participate whenever dependencies, permissions, or sequences are introduced.
What you will be able to do
After configuration, you will be able to identify the records added by web_shop_shopify, execute actions in the correct state, and understand the information shared with other modules.
Requirements and preparation
Before activation, verify company, currency, users, and groups. Install and configure required dependencies first. When real data exists, rehearse activation and upgrades on a restored copy.
Activate dependencies first, review company configuration, and rehearse the complete workflow before production use.
Required dependencies
account_payment— must be installed and configured before testing this module.currency— must be installed and configured before testing this module.ir— must be installed and configured before testing this module.party— must be installed and configured before testing this module.product— must be installed and configured before testing this module.product_attribute— must be installed and configured before testing this module.sale— must be installed and configured before testing this module.sale_amendment— must be installed and configured before testing this module.sale_payment— must be installed and configured before testing this module.stock— must be installed and configured before testing this module.web_shop— must be installed and configured before testing this module.
Optional integrations
customs— enables an additional integration; test the combination explicitly.product_image— enables an additional integration; test the combination explicitly.product_image_attribute— enables an additional integration; test the combination explicitly.product_measurements— enables an additional integration; test the combination explicitly.sale_discount— enables an additional integration; test the combination explicitly.sale_invoice_grouping— enables an additional integration; test the combination explicitly.sale_secondary_unit— enables an additional integration; test the combination explicitly.sale_shipment_cost— enables an additional integration; test the combination explicitly.stock_package_shipping— enables an additional integration; test the combination explicitly.
Recommended initial configuration
- Activate the module and sign in again to load menus and permissions.
- Review new company configuration options and defaults.
- Assign groups to test users using least privilege.
- Create small, verifiable master data before bulk imports.
- Run one complete scenario from draft to final state and inspect related records.
Module objects and concepts
- account.payment: groups 2 model(s), including
account.payment,account.payment.journal. These records form the information users inspect or modify during the process. - ir.cron: groups 1 model(s), including
ir.cron. These records form the information users inspect or modify during the process. - party.address: groups 1 model(s), including
party.address. These records form the information users inspect or modify during the process. - party.party: groups 1 model(s), including
party.party. These records form the information users inspect or modify during the process. - party.replace: groups 1 model(s), including
party.replace. These records form the information users inspect or modify during the process. - product-customs.tariff: groups 1 model(s), including
product-customs.tariff.code. These records form the information users inspect or modify during the process. - product.attribute: groups 2 model(s), including
product.attribute,product.attribute.set. These records form the information users inspect or modify during the process. - product.category: groups 1 model(s), including
product.category. These records form the information users inspect or modify during the process. - product.identifier: groups 1 model(s), including
product.identifier. These records form the information users inspect or modify during the process. - product.image: groups 1 model(s), including
product.image. These records form the information users inspect or modify during the process. - product.product: groups 1 model(s), including
product.product. These records form the information users inspect or modify during the process. - product.shopify_inventory_item: groups 1 model(s), including
product.shopify_inventory_item. These records form the information users inspect or modify during the process. - product.template: groups 1 model(s), including
product.template. These records form the information users inspect or modify during the process. - product.template-product: groups 1 model(s), including
product.template-product.category. These records form the information users inspect or modify during the process. - sale.line: groups 1 model(s), including
sale.line. These records form the information users inspect or modify during the process. - sale.sale: groups 1 model(s), including
sale.sale. These records form the information users inspect or modify during the process. - stock.move: groups 1 model(s), including
stock.move. These records form the information users inspect or modify during the process. - stock.shipment: groups 2 model(s), including
stock.shipment.out,stock.shipment.shopify_identifier. These records form the information users inspect or modify during the process. - web.shop: groups 3 model(s), including
web.shop,web.shop.shopify_identifier,web.shop.shopify_payment_journal. These records form the information users inspect or modify during the process. - web.shop-product: groups 1 model(s), including
web.shop-product.attribute. These records form the information users inspect or modify during the process. - web.shop-stock: groups 1 model(s), including
web.shop-stock.location. These records form the information users inspect or modify during the process.
Typical workflow
- Select the correct company and date before creating a document.
- Complete master data before lines or details.
- Use form buttons for state changes; saving is not the same as validating or posting.
- Review warnings, totals, related documents, and traceability.
- Verify effects on dependent modules before closing the process.
Actions, states, and wizards
set_to_update— action or transition that starts set to update. Check permissions, current state, and related records before running it.
Controls before production
- Define who creates, reviews, confirms, cancels, and reads.
- Test closed periods, unauthorized users, and incomplete data.
- Verify numbering, currency, rounding, and time zone where applicable.
- Document error correction without direct database edits.
- Include its tables and files in backup and restore procedures.
Troubleshooting
- If a menu is missing, verify activation, module-list update, groups, and a new login session.
- If a field rejects a value, inspect its domain, company, state, and configured dependencies.
- If a button is hidden or disabled, check permissions and valid transitions; never change state with SQL.
- If results differ, reproduce a minimal case and compare related records before and after.
- Keep the full traceback, version, active modules, and minimal data needed to diagnose an error.
Developer guide
Architecture and extension points
The package contains 39 Python classes and declares or extends 26 models. It uses Boolean, Char, Dict, Function, Integer, Many2One, One2Many, Reference, Selection. Developers should first determine whether a class creates a model or uses PoolMeta to extend one, preserve super() calls, and avoid duplicating dependency rules.
Registered or extended models
account.paymentaccount.payment.journalir.cronparty.addressparty.partyparty.replaceproduct-customs.tariff.codeproduct.attributeproduct.attribute.setproduct.categoryproduct.identifierproduct.imageproduct.productproduct.shopify_inventory_itemproduct.templateproduct.template-product.categorysale.linesale.salestock.movestock.shipment.outstock.shipment.shopify_identifierweb.shopweb.shop-product.attributeweb.shop-stock.locationweb.shop.shopify_identifierweb.shop.shopify_payment_journal
Field types used
BooleanCharDictFunctionIntegerMany2OneOne2ManyReferenceSelection
Detected classes and public methods
Classes: Address, Attribute, AttributeSet, Category, Cron, IdentifierMixin, IdentifiersMixin, IdentifiersUpdateMixin, Image, Image_Attribute, Line, Line_Discount, Line_SaleSecondaryUnit, Line_ShipmentCost, Move, Party, Payment, PaymentJournal, Product, ProductIdentifier, Product_SaleSecondaryUnit, Product_TariffCode, Replace, Sale, Sale_ShipmentCost, ShipmentOut, ShipmentOut_PackageShipping, ShipmentShopifyIdentifier, Shop, ShopShopifyIdentifier, ShopShopifyPaymentJournal, Shop_Attribute, Shop_Warehouse, ShopifyError, ShopifyInventoryItem, ShopifyInventoryItem_Customs, Template, TemplateCategory, Template_SaleSecondaryUnit
Methods: copy(), create(), create_invoice(), delete(), fields_to_replace(), get_address_from_shopify(), get_from_shopify(), get_from_shopify_shipping(), get_payment_journal(), get_product(), get_records(), get_sale(), get_shopify(), get_shopify_identifier(), get_shopify_identifier_to_update(), get_shopify_inventory_context(), get_shopify_locations(), get_shopify_metafields(), get_shopify_refund(), get_shopify_refund_line_items(), get_shopify_sku(), get_shopify_uom(), get_shopify_values(), get_shopify_versions(), get_tax_amount(), invoice_grouping_method(), is_shopify_to_update(), managed_metafields(), on_change_with_shopify_webhook_endpoint_order(), process(), search_shopify_identifier(), search_shopify_sku(), set_shipment_cost(), set_shopify_identifier(), set_shopify_to_update(), set_to_update(), shopify_attributes(), shopify_fetch_order(), shopify_name(), shopify_price(), shopify_quantity(), shopify_session(), shopify_uom_factor(), shopify_uom_rate(), shopify_update_inventory(), shopify_update_order(), shopify_update_product(), shopify_update_sale(), shopify_values(), table_query(), to_sync(), validate_fields(), view_attributes(), write()
Code map
Detected 14 Python files, 16 XML files, and 0 explicit access files. XML connects models to views, menus, actions, and reports; access CSV files establish initial permissions.
__init__.pyaccount.pycommon.pydoc/conf.pyexceptions.pyir.pyir.xmlmessage.xmlparty.pyproduct.pyproduct.xmlroutes.pysale.pysetup.pyshopify_retry.pystock.pystock.xmlview/product_attribute_set_form.xmlview/product_template_form.xmlview/shop_form.xmlview/shop_shopify_identifier_form.xmlview/shop_shopify_identifier_list.xmlview/shop_shopify_payment_journal_form.xmlview/shop_shopify_payment_journal_list.xmlview/shop_stock_location_form.xmlview/shop_stock_location_list.xmlview/stock_shipment_shopify_identifier_form.xmlview/stock_shipment_shopify_identifier_list.xmlweb.pyweb.xml
Test plan
- Activation on an empty database and upgrade from the previous revision.
- Create, update, copy, and delete according to state and access rights.
- Every button, transition, and wizard with valid and invalid scenarios.
- Applicable multi-company rules, translations, time zones, and currencies.
- Combined installation with required and optional dependencies.
- Backup and restore of records, attachments, and generated reports.
Compatibility and upgrades
Keep server and modules on series 7.0. Before upgrading, compare tryton.cfg, __register__ migrations, state changes, XML IDs, and permissions. A successful build does not replace a rehearsed migration or functional data reconciliation.
Official documentation evidence
Topics found: Configuration · locations_cache · Design · Shopify Identifier · Shopify Payment Journal · Shopify Shipment Identifier · Shopify Inventory Item · Web Shop Shopify Module · Usage · Configure Shopify Web Shop
-
- doc/configuration.rst: The Web Shop Shopify Module uses values from settings in the
[web_shop_shopify]section of the :doc:configuration file <trytond:topics/configuration>.
- doc/configuration.rst: The Web Shop Shopify Module uses values from settings in the
-
- doc/design.rst: The Web Shop Shopify Module introduces some new concepts.
-
- doc/index.rst: The Web Shop Shopify Module provides a way to manage
Shopify <https://www.shopify.com/>_ stores. It uploads products, variants and collections to Shopify, and downloads orders, transactions and creates fulfilments.
- doc/index.rst: The Web Shop Shopify Module provides a way to manage
-
- doc/usage.rst: First you must create a new
custom app <https://help.shopify.com/en/manual/apps/app-types#custom-apps>_ for your Shopify store with, as a minimum, the following permissions:
- doc/usage.rst: First you must create a new