From e442266f2271b9d6d2fe9818bf16e2a5e4bfa819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Wed, 23 Aug 2023 16:07:08 +0200 Subject: [PATCH] Split: Rename module --- .../odoo/addons/shopinvader_product_binding | 1 + .../setup.py | 0 .../odoo/addons/shopinvader_restapi | 1 + .../setup.py | 0 .../odoo/addons/shopinvader_v1_base | 1 - .../odoo/addons/shopinvader_v1_product | 1 - shopinvader/__manifest__.py | 2 +- .../migrations/14.0.5.14.1/post-migrate.py | 4 +- shopinvader/models/ir_model.py | 8 +- .../data/ir_export_product.xml | 5 +- shopinvader_algolia/demo/backend_demo.xml | 19 +- shopinvader_algolia/tests/test_export.py | 8 +- .../views/shopinvader_variant_view.xml | 4 +- .../demo/shopinvader_assortment_demo.xml | 2 +- .../tests/test_product_auto_bind.py | 2 +- .../views/shopinvader_backend.xml | 4 +- .../demo/shopinvader_backend_demo.xml | 4 +- .../tests/test_controller.py | 8 +- .../tests/test_shopinvader_backend.py | 6 +- .../views/shopinvader_backend_view.xml | 2 +- .../views/shopinvader_backend.xml | 2 +- .../tests/test_shopinvader_backend.py | 4 +- .../tests/test_shopinvader_image_mixin.py | 4 +- .../views/shopinvader_backend.xml | 2 +- .../data/queue_job_function_data.xml | 2 +- .../tests/test_cart_expiry.py | 6 +- .../views/shopinvader_backend.xml | 2 +- .../data/ir_export.xml | 2 +- .../tests/test_address.py | 2 +- .../tests/test_address.py | 2 +- .../tests/test_service.py | 2 +- .../views/res_partner.xml | 2 +- .../views/shopinvader_partner.xml | 4 +- .../tests/test_partner_autobind.py | 2 +- .../views/shopinvader_backend.xml | 2 +- .../tests/test_customer.py | 2 +- .../tests/common.py | 4 +- .../views/partner_view.xml | 2 +- .../views/shopinvader_backend.xml | 2 +- .../views/shopinvader_partner_view.xml | 6 +- shopinvader_customer_price/tests/test_cart.py | 6 +- .../tests/test_customer_price.py | 12 +- .../views/shopinvader_backend_views.xml | 2 +- .../tests/test_wishlist_price.py | 6 +- .../demo/notification_demo.xml | 8 +- .../security/ir.model.access.csv | 4 +- .../tests/test_address_validation.py | 2 +- .../tests/test_customer.py | 2 +- .../tests/test_notification.py | 4 +- .../tests/test_partner_access_info.py | 4 +- .../tests/test_partner_constrains.py | 4 +- .../tests/test_partner_validation.py | 2 +- .../views/partner_view.xml | 4 +- .../views/shopinvader_backend_view.xml | 2 +- .../views/shopinvader_partner_view.xml | 6 +- .../wizards/shopinvader_address_validate.xml | 2 +- .../wizards/shopinvader_partner_validate.xml | 4 +- .../demo/backend_demo.xml | 2 +- .../demo/shopinvader_notification.xml | 2 +- shopinvader_delivery_carrier/tests/common.py | 2 +- .../tests/test_delivery_service.py | 2 +- .../tests/test_notification.py | 6 +- .../tests/test_sale_service.py | 6 +- .../views/backend_view.xml | 2 +- .../tests/test_sale_order_picking_note.py | 8 +- shopinvader_delivery_state/tests/test_sale.py | 6 +- .../data/ir_export_product.xml | 4 +- shopinvader_easy_binding/demo/res_company.xml | 2 +- .../tests/test_shopinvader_company_backend.py | 4 +- .../views/product_template.xml | 2 +- .../views/res_config_settings.xml | 2 +- .../data/ir_export_product.xml | 2 +- .../demo/backend_demo.xml | 13 +- .../tests/test_settings.py | 4 +- shopinvader_guest_mode/data/ir_cron.xml | 2 +- shopinvader_guest_mode/services/address.py | 2 +- .../tests/test_guest_service.py | 2 +- .../tests/test_notification.py | 2 +- .../tests/test_shopinvader_backend.py | 2 +- .../tests/test_shopinvader_partner.py | 2 +- .../views/shopinvader_backend.xml | 2 +- .../views/shopinvader_partner.xml | 4 +- shopinvader_image/data/ir_export_category.xml | 2 +- shopinvader_image/data/ir_export_product.xml | 2 +- shopinvader_image/demo/backend_demo.xml | 2 +- .../demo/product_image_relation_demo.xml | 96 +++++----- .../security/ir.model.access.csv | 2 +- shopinvader_image/tests/common.py | 2 +- shopinvader_image/tests/test_cart.py | 2 +- .../views/shopinvader_backend_view.xml | 2 +- .../views/shopinvader_image_resize_view.xml | 4 +- .../data/queue_job_channel_data.xml | 2 +- .../views/import_product_image_view.xml | 2 +- shopinvader_invoice/tests/common.py | 8 +- shopinvader_lead/demo/notification_demo.xml | 2 +- shopinvader_lead/tests/test_lead.py | 6 +- .../data/queue_job_function_data.xml | 4 +- shopinvader_locomotive/demo/backend_demo.xml | 4 +- shopinvader_locomotive/tests/common.py | 2 +- shopinvader_locomotive/tests/test_backend.py | 4 +- .../tests/test_search_engine_site_export.py | 6 +- .../views/product_filter_view.xml | 4 +- .../views/shopinvader_backend_view.xml | 6 +- .../tests/test_impersonate.py | 4 +- .../views/res_partner_view.xml | 2 +- .../views/shopinvader_partner_view.xml | 2 +- .../data/mail_template.xml | 2 +- .../data/queue_job_function_data.xml | 8 +- .../demo/shopinvader_backend.xml | 2 +- .../tests/test_password_expired_reset.py | 4 +- .../views/partner_view.xml | 6 +- .../wizards/reset_password_view.xml | 4 +- .../tests/test_shopinvader_partner.py | 2 +- .../test_mass_mailing_company_newsletter.py | 2 +- .../tests/test_membership_product_service.py | 2 +- .../tests/test_membership_service.py | 4 +- shopinvader_multi_cart/tests/test_carts.py | 8 +- shopinvader_multi_cart/views/sale_order.xml | 6 +- shopinvader_multi_category/__manifest__.py | 2 +- .../tests/test_product.py | 2 +- .../tests/test_firstname.py | 2 +- .../tests/test_check_vat.py | 2 +- .../tests/test_sale_order.py | 4 +- .../tests/test_shopinvader_backend.py | 2 +- .../views/shopinvader_backend.xml | 2 +- shopinvader_portal_mode/tests/common.py | 6 +- .../views/shopinvader_backend.xml | 2 +- shopinvader_pos/tests/test_shopinvader_pos.py | 2 +- .../demo/pricelist_demo.xml | 8 +- .../tests/test_product.py | 10 +- .../data/ir_export_product.xml | 6 +- .../tests/test_product.py | 2 +- .../views/product_filter_view.xml | 5 +- .../__init__.py | 0 .../__manifest__.py | 2 +- .../components/__init__.py | 0 .../product_product_event_listener.py | 0 .../data/ir_export_category.xml | 0 .../data/ir_export_product.xml | 0 .../demo/product_attribute_value_demo.xml | 0 .../demo/product_category_demo.xml | 0 .../demo/product_filter_demo.xml | 0 .../demo/product_product_demo.xml | 168 +++++++++--------- .../models/__init__.py | 0 .../models/product_category.py | 0 .../models/product_filter.py | 0 .../models/product_product.py | 0 .../models/product_template.py | 0 .../models/seo_title_mixin.py | 0 .../models/shopinvader_backend.py | 0 .../models/shopinvader_binding.py | 0 .../models/shopinvader_category.py | 0 .../models/shopinvader_product.py | 0 .../models/shopinvader_variant.py | 4 +- .../models/tools.py | 0 .../security/ir.model.access.csv | 6 +- .../shopinvader_category_security.xml | 0 .../security/shopinvader_product_security.xml | 0 .../security/shopinvader_variant_security.xml | 0 .../services/__init__.py | 0 .../services/abstract_download.py | 0 .../services/abstract_sale.py | 0 .../services/cart.py | 0 .../shopinvader_response.py | 0 .../tests/__init__.py | 0 .../tests/common.py | 4 +- .../tests/test_backend.py | 8 +- .../tests/test_cart_item.py | 4 +- .../tests/test_product.py | 18 +- .../tests/test_product_filter.py | 0 .../tests/test_shopinvader_category.py | 4 +- ...est_shopinvader_category_binding_wizard.py | 0 ...test_shopinvader_variant_binding_wizard.py | 2 +- .../test_shopinvader_variant_seo_title.py | 0 .../utils.py | 0 .../views/product_category_view.xml | 0 .../views/product_filter_view.xml | 0 .../views/product_view.xml | 0 .../views/shopinvader_backend_view.xml | 10 +- .../views/shopinvader_category_view.xml | 0 .../views/shopinvader_menu.xml | 4 +- .../views/shopinvader_product_view.xml | 2 +- .../views/shopinvader_variant_view.xml | 2 +- .../wizards/__init__.py | 0 .../shopinvader_category_binding_wizard.py | 0 .../shopinvader_category_binding_wizard.xml | 2 +- .../shopinvader_category_unbinding_wizard.py | 0 .../shopinvader_category_unbinding_wizard.xml | 4 +- .../shopinvader_variant_binding_wizard.py | 0 .../shopinvader_variant_binding_wizard.xml | 2 +- .../shopinvader_variant_unbinding_wizard.py | 0 .../shopinvader_variant_unbinding_wizard.xml | 4 +- .../data/ir_export_product.xml | 6 +- .../security/ir.model.access.csv | 2 +- shopinvader_product_brand/tests/common.py | 2 +- .../views/shopinvader_backend_view.xml | 6 +- .../views/shopinvader_brand_view.xml | 2 +- .../demo/backend_demo.xml | 2 +- .../data/ir_export_product.xml | 2 +- .../data/ir_export_product.xml | 2 +- .../tests/test_customer_special_product.py | 6 +- shopinvader_product_media/__manifest__.py | 2 +- .../data/ir_product_export.xml | 25 ++- .../data/ir_export_product.xml | 2 +- shopinvader_product_new/tests/test_product.py | 2 +- .../data/ir_export_product.xml | 2 +- .../views/shopinvader_product.xml | 4 +- .../tests/test_product.py | 16 +- .../data/queue_job_channel_data.xml | 2 +- .../security/ir.model.access.csv | 2 +- .../tests/test_customer.py | 2 +- .../tests/test_prod_seasonality.py | 4 +- .../views/seasonal_config_line.xml | 2 +- .../views/shopinvader_backend.xml | 6 +- .../views/shopinvader_seasonal_config.xml | 4 +- .../tests/test_prod_seasonality.py | 2 +- .../data/ir_export_product.xml | 2 +- shopinvader_product_stock/tests/common.py | 8 +- .../tests/test_product.py | 2 +- .../views/shopinvader_backend.xml | 2 +- .../tests/test_product_auto_bind.py | 2 +- .../data/ir_exports_line.xml | 2 +- .../tests/common.py | 4 +- .../tests/test_product.py | 4 +- .../data/ir_export_product.xml | 6 +- .../data/ir_export_product.xml | 2 +- .../tests/test_shopinvader_variant.py | 2 +- .../data/ir_export_category.xml | 12 +- .../data/ir_export_product.xml | 12 +- shopinvader_promotion_rule/tests/test_cart.py | 6 +- .../data/ir_export_product.xml | 2 +- .../demo/notification_demo.xml | 2 +- .../tests/test_notification.py | 6 +- shopinvader_quotation/tests/test_quotation.py | 2 +- .../tests/test_quotation_download.py | 6 +- shopinvader_quotation/views/product_view.xml | 2 +- shopinvader_quotation/views/sale_view.xml | 6 +- .../README.rst | 0 .../__init__.py | 0 .../__manifest__.py | 0 .../components/__init__.py | 0 .../components/access_info.py | 0 .../components/core.py | 0 .../components/service_context_provider.py | 0 .../data/cart_step.xml | 0 .../data/mail_activity_data.xml | 0 .../data/queue_job_channel_data.xml | 0 .../data/queue_job_function_data.xml | 0 .../data/res_partner.xml | 0 .../demo/account_demo.xml | 0 .../demo/backend_demo.xml | 0 .../demo/email_demo.xml | 0 .../demo/notification_demo.xml | 0 .../demo/partner_demo.xml | 4 +- .../demo/pricelist_demo.xml | 2 +- .../demo/sale_demo.xml | 6 +- .../i18n/shopinvader.pot | 14 +- .../models/__init__.py | 0 .../models/account_move.py | 0 .../models/res_config_settings.py | 0 .../models/res_partner.py | 0 .../models/sale.py | 0 .../models/shopinvader_backend.py | 2 +- .../models/shopinvader_cart_step.py | 0 .../models/shopinvader_notification.py | 0 .../models/shopinvader_partner.py | 0 .../models/track_external_mixin.py | 0 .../security/ir.model.access.csv | 10 +- .../security/shopinvader_backend_security.xml | 0 .../security/shopinvader_partner_security.xml | 0 .../security/shopinvader_security.xml | 2 +- .../services/__init__.py | 0 .../services/abstract_download.py | 0 .../services/abstract_mail.py | 0 .../services/abstract_sale.py | 0 .../services/address.py | 0 .../services/cart.py | 0 .../services/customer.py | 0 .../services/invoice.py | 0 .../services/partner_mixin.py | 2 +- .../services/sale.py | 0 .../services/service.py | 0 .../services/settings.py | 0 .../shopinvader_response.py | 0 .../static/description/icon.png | Bin .../static/description/icon.svg | 0 .../static/description/index.html | 0 .../tests/__init__.py | 0 .../tests/common.py | 14 +- .../tests/test_address.py | 6 +- .../tests/test_backend.py | 0 .../tests/test_cart.py | 28 +-- .../tests/test_cart_copy.py | 0 .../tests/test_cart_item.py | 6 +- .../tests/test_customer.py | 14 +- .../tests/test_invoice.py | 4 +- .../tests/test_notification.py | 2 +- .../tests/test_partner_access_info.py | 2 +- .../tests/test_res_partner.py | 4 +- .../tests/test_sale.py | 4 +- .../tests/test_sale_cancel.py | 0 .../tests/test_salesman_notification.py | 4 +- .../tests/test_search.py | 6 +- .../tests/test_settings.py | 2 +- .../tests/test_shopinvader_partner.py | 2 +- .../tests/test_shopinvader_partner_binding.py | 0 .../tests/test_utils.py | 4 +- .../utils.py | 0 .../views/partner_view.xml | 0 .../views/res_config_settings.xml | 2 +- .../views/sale_view.xml | 0 .../views/shopinvader_cart_step_view.xml | 0 .../views/shopinvader_menu.xml | 0 .../views/shopinvader_partner_view.xml | 0 .../views/shopinvader_sale_view.xml | 4 +- .../wizards/__init__.py | 0 .../wizards/shopinvader_partner_binding.py | 0 .../wizards/shopinvader_partner_binding.xml | 2 +- .../shopinvader_partner_binding_line.py | 0 .../tests/test_cart.py | 2 +- .../tests/test_automatic_workflow.py | 2 +- .../views/shopinvader_backend.xml | 2 +- .../tests/test_cart.py | 6 +- .../tests/test_sale.py | 4 +- shopinvader_sale_coupon/tests/test_cart.py | 2 +- .../tests/test_customer.py | 2 +- .../tests/test_sale_download.py | 6 +- .../data/ir_export_product.xml | 10 +- shopinvader_sale_packaging/tests/test_cart.py | 8 +- .../tests/test_product_data.py | 2 +- shopinvader_sale_packaging/tests/test_sale.py | 10 +- .../views/product_packaging.xml | 4 +- .../demo/account_fiscal_position.xml | 6 +- .../demo/shopinvader_sale_profile.xml | 8 +- .../tests/test_customer_service.py | 4 +- .../test_shopinvader_backend_sale_profile.py | 8 +- .../tests/test_shopinvader_cart.py | 6 +- .../tests/test_shopinvader_sale_profile.py | 4 +- .../tests/test_shopinvader_variant.py | 2 +- .../views/shopinvader_backend.xml | 2 +- .../views/shopinvader_partner.xml | 6 +- .../test_shopinvader_sale_price_update.py | 4 +- .../test_shopinvader_sale_price_update.py | 4 +- .../views/shopinvader_backend.xml | 2 +- shopinvader_search_engine/__manifest__.py | 2 +- .../tests/test_action_server.py | 2 +- .../tests/test_backend.py | 8 +- .../tests/test_delete_product.py | 2 +- .../views/shopinvader_backend_view.xml | 2 +- .../views/shopinvader_category_view.xml | 4 +- .../views/shopinvader_variant_view.xml | 13 +- .../security/shopinvader_security_token.xml | 2 +- shopinvader_validation_token/tests/common.py | 2 +- .../tests/test_customer_service.py | 2 +- .../views/shopinvader_backend.xml | 2 +- .../views/shopinvader_security_token.xml | 2 +- shopinvader_wishlist/demo/product_set.xml | 2 +- .../tests/test_product_set.py | 2 +- shopinvader_wishlist/tests/test_wishlist.py | 4 +- 359 files changed, 698 insertions(+), 648 deletions(-) create mode 120000 setup/shopinvader_product_binding/odoo/addons/shopinvader_product_binding rename setup/{shopinvader_v1_base => shopinvader_product_binding}/setup.py (100%) create mode 120000 setup/shopinvader_restapi/odoo/addons/shopinvader_restapi rename setup/{shopinvader_v1_product => shopinvader_restapi}/setup.py (100%) delete mode 120000 setup/shopinvader_v1_base/odoo/addons/shopinvader_v1_base delete mode 120000 setup/shopinvader_v1_product/odoo/addons/shopinvader_v1_product rename {shopinvader_v1_base => shopinvader_product_binding}/__init__.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/__manifest__.py (98%) rename {shopinvader_v1_product => shopinvader_product_binding}/components/__init__.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/components/product_product_event_listener.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/data/ir_export_category.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/data/ir_export_product.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/demo/product_attribute_value_demo.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/demo/product_category_demo.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/demo/product_filter_demo.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/demo/product_product_demo.xml (64%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/__init__.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/product_category.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/product_filter.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/product_product.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/product_template.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/seo_title_mixin.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/shopinvader_backend.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/shopinvader_binding.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/shopinvader_category.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/shopinvader_product.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/shopinvader_variant.py (99%) rename {shopinvader_v1_product => shopinvader_product_binding}/models/tools.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/security/ir.model.access.csv (88%) rename {shopinvader_v1_product => shopinvader_product_binding}/security/shopinvader_category_security.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/security/shopinvader_product_security.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/security/shopinvader_variant_security.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/services/__init__.py (100%) rename {shopinvader_v1_base => shopinvader_product_binding}/services/abstract_download.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/services/abstract_sale.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/services/cart.py (100%) rename {shopinvader_v1_base => shopinvader_product_binding}/shopinvader_response.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/__init__.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/common.py (90%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/test_backend.py (95%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/test_cart_item.py (86%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/test_product.py (98%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/test_product_filter.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/test_shopinvader_category.py (95%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/test_shopinvader_category_binding_wizard.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/test_shopinvader_variant_binding_wizard.py (99%) rename {shopinvader_v1_product => shopinvader_product_binding}/tests/test_shopinvader_variant_seo_title.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/utils.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/views/product_category_view.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/views/product_filter_view.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/views/product_view.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/views/shopinvader_backend_view.xml (97%) rename {shopinvader_v1_product => shopinvader_product_binding}/views/shopinvader_category_view.xml (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/views/shopinvader_menu.xml (78%) rename {shopinvader_v1_product => shopinvader_product_binding}/views/shopinvader_product_view.xml (99%) rename {shopinvader_v1_product => shopinvader_product_binding}/views/shopinvader_variant_view.xml (99%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/__init__.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/shopinvader_category_binding_wizard.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/shopinvader_category_binding_wizard.xml (96%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/shopinvader_category_unbinding_wizard.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/shopinvader_category_unbinding_wizard.xml (92%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/shopinvader_variant_binding_wizard.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/shopinvader_variant_binding_wizard.xml (96%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/shopinvader_variant_unbinding_wizard.py (100%) rename {shopinvader_v1_product => shopinvader_product_binding}/wizards/shopinvader_variant_unbinding_wizard.xml (92%) rename {shopinvader_v1_base => shopinvader_restapi}/README.rst (100%) rename {shopinvader_v1_product => shopinvader_restapi}/__init__.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/__manifest__.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/components/__init__.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/components/access_info.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/components/core.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/components/service_context_provider.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/data/cart_step.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/data/mail_activity_data.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/data/queue_job_channel_data.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/data/queue_job_function_data.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/data/res_partner.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/demo/account_demo.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/demo/backend_demo.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/demo/email_demo.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/demo/notification_demo.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/demo/partner_demo.xml (95%) rename {shopinvader_v1_base => shopinvader_restapi}/demo/pricelist_demo.xml (91%) rename {shopinvader_v1_base => shopinvader_restapi}/demo/sale_demo.xml (94%) rename {shopinvader_v1_base => shopinvader_restapi}/i18n/shopinvader.pot (99%) rename {shopinvader_v1_base => shopinvader_restapi}/models/__init__.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/models/account_move.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/models/res_config_settings.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/models/res_partner.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/models/sale.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/models/shopinvader_backend.py (99%) rename {shopinvader_v1_base => shopinvader_restapi}/models/shopinvader_cart_step.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/models/shopinvader_notification.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/models/shopinvader_partner.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/models/track_external_mixin.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/security/ir.model.access.csv (77%) rename {shopinvader_v1_base => shopinvader_restapi}/security/shopinvader_backend_security.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/security/shopinvader_partner_security.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/security/shopinvader_security.xml (92%) rename {shopinvader_v1_base => shopinvader_restapi}/services/__init__.py (100%) rename {shopinvader_v1_product => shopinvader_restapi}/services/abstract_download.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/abstract_mail.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/abstract_sale.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/address.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/cart.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/customer.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/invoice.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/partner_mixin.py (98%) rename {shopinvader_v1_base => shopinvader_restapi}/services/sale.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/service.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/services/settings.py (100%) rename {shopinvader_v1_product => shopinvader_restapi}/shopinvader_response.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/static/description/icon.png (100%) rename {shopinvader_v1_base => shopinvader_restapi}/static/description/icon.svg (100%) rename {shopinvader_v1_base => shopinvader_restapi}/static/description/index.html (100%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/__init__.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/common.py (96%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_address.py (97%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_backend.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_cart.py (95%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_cart_copy.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_cart_item.py (98%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_customer.py (92%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_invoice.py (98%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_notification.py (98%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_partner_access_info.py (97%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_res_partner.py (95%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_sale.py (98%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_sale_cancel.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_salesman_notification.py (98%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_search.py (92%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_settings.py (97%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_shopinvader_partner.py (98%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_shopinvader_partner_binding.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/tests/test_utils.py (96%) rename {shopinvader_v1_base => shopinvader_restapi}/utils.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/views/partner_view.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/views/res_config_settings.xml (97%) rename {shopinvader_v1_base => shopinvader_restapi}/views/sale_view.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/views/shopinvader_cart_step_view.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/views/shopinvader_menu.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/views/shopinvader_partner_view.xml (100%) rename {shopinvader_v1_base => shopinvader_restapi}/views/shopinvader_sale_view.xml (96%) rename {shopinvader_v1_base => shopinvader_restapi}/wizards/__init__.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/wizards/shopinvader_partner_binding.py (100%) rename {shopinvader_v1_base => shopinvader_restapi}/wizards/shopinvader_partner_binding.xml (97%) rename {shopinvader_v1_base => shopinvader_restapi}/wizards/shopinvader_partner_binding_line.py (100%) diff --git a/setup/shopinvader_product_binding/odoo/addons/shopinvader_product_binding b/setup/shopinvader_product_binding/odoo/addons/shopinvader_product_binding new file mode 120000 index 0000000000..2bb82ea516 --- /dev/null +++ b/setup/shopinvader_product_binding/odoo/addons/shopinvader_product_binding @@ -0,0 +1 @@ +../../../../shopinvader_product_binding \ No newline at end of file diff --git a/setup/shopinvader_v1_base/setup.py b/setup/shopinvader_product_binding/setup.py similarity index 100% rename from setup/shopinvader_v1_base/setup.py rename to setup/shopinvader_product_binding/setup.py diff --git a/setup/shopinvader_restapi/odoo/addons/shopinvader_restapi b/setup/shopinvader_restapi/odoo/addons/shopinvader_restapi new file mode 120000 index 0000000000..4d1698ada0 --- /dev/null +++ b/setup/shopinvader_restapi/odoo/addons/shopinvader_restapi @@ -0,0 +1 @@ +../../../../shopinvader_restapi \ No newline at end of file diff --git a/setup/shopinvader_v1_product/setup.py b/setup/shopinvader_restapi/setup.py similarity index 100% rename from setup/shopinvader_v1_product/setup.py rename to setup/shopinvader_restapi/setup.py diff --git a/setup/shopinvader_v1_base/odoo/addons/shopinvader_v1_base b/setup/shopinvader_v1_base/odoo/addons/shopinvader_v1_base deleted file mode 120000 index a54d26b039..0000000000 --- a/setup/shopinvader_v1_base/odoo/addons/shopinvader_v1_base +++ /dev/null @@ -1 +0,0 @@ -../../../../shopinvader_v1_base \ No newline at end of file diff --git a/setup/shopinvader_v1_product/odoo/addons/shopinvader_v1_product b/setup/shopinvader_v1_product/odoo/addons/shopinvader_v1_product deleted file mode 120000 index 1982ccb7f2..0000000000 --- a/setup/shopinvader_v1_product/odoo/addons/shopinvader_v1_product +++ /dev/null @@ -1 +0,0 @@ -../../../../shopinvader_v1_product \ No newline at end of file diff --git a/shopinvader/__manifest__.py b/shopinvader/__manifest__.py index cabcec2eeb..0461fbd6e3 100644 --- a/shopinvader/__manifest__.py +++ b/shopinvader/__manifest__.py @@ -11,5 +11,5 @@ "license": "AGPL-3", "application": True, "installable": True, - "depends": ["shopinvader_v1_base", "shopinvader_v1_product"], + "depends": ["shopinvader_restapi", "shopinvader_product_binding"], } diff --git a/shopinvader/migrations/14.0.5.14.1/post-migrate.py b/shopinvader/migrations/14.0.5.14.1/post-migrate.py index cc2e18e747..b03467e8ab 100644 --- a/shopinvader/migrations/14.0.5.14.1/post-migrate.py +++ b/shopinvader/migrations/14.0.5.14.1/post-migrate.py @@ -9,8 +9,8 @@ def _upgrade_shopinvader_model_access(env): Upgrade the "shopinvader partner binding edit" access rights (as it's not update) """ - sec_group = env.ref("shopinvader_v1_base.group_shopinvader_partner_binding") - env.ref("shopinvader_v1_base.access_shopinvader_partner_edit").write( + sec_group = env.ref("shopinvader_restapi.group_shopinvader_partner_binding") + env.ref("shopinvader_restapi.access_shopinvader_partner_edit").write( { "group_id": sec_group.id, } diff --git a/shopinvader/models/ir_model.py b/shopinvader/models/ir_model.py index 3fe5b50e48..74529f4756 100644 --- a/shopinvader/models/ir_model.py +++ b/shopinvader/models/ir_model.py @@ -335,14 +335,14 @@ def mapped_xml_id(xmlid): _logger.warning( f"Old name for shopinvader is used: {xmlid} \n" "Please rename module ref to " - "shopinvader_v1_product" + "shopinvader_product_binding" ) - xmlid = f"shopinvader_v1_product.{name}" + xmlid = f"shopinvader_product_binding.{name}" elif name in SHOPINVADER_V1_BASE_XMLID: - xmlid = f"shopinvader_v1_base.{name}" + xmlid = f"shopinvader_restapi.{name}" _logger.warning( f"Old name for shopinvader is used: {xmlid} \n" - "Please rename module ref to shopinvader_v1_base" + "Please rename module ref to shopinvader_restapi" ) return xmlid diff --git a/shopinvader_algolia/data/ir_export_product.xml b/shopinvader_algolia/data/ir_export_product.xml index 8d528c84e5..f4675a6b21 100644 --- a/shopinvader_algolia/data/ir_export_product.xml +++ b/shopinvader_algolia/data/ir_export_product.xml @@ -4,7 +4,10 @@ hierarchical_categories hierarchical_categories:hierarchicalCategories - + diff --git a/shopinvader_algolia/demo/backend_demo.xml b/shopinvader_algolia/demo/backend_demo.xml index 0253cccf0d..c0e7d5713a 100644 --- a/shopinvader_algolia/demo/backend_demo.xml +++ b/shopinvader_algolia/demo/backend_demo.xml @@ -1,7 +1,7 @@ - + @@ -9,18 +9,27 @@ algolia-product - - + + algolia-category - + diff --git a/shopinvader_algolia/tests/test_export.py b/shopinvader_algolia/tests/test_export.py index 9beae8dda4..af0f394972 100644 --- a/shopinvader_algolia/tests/test_export.py +++ b/shopinvader_algolia/tests/test_export.py @@ -9,7 +9,7 @@ from odoo.addons.connector_algolia.components.adapter import AlgoliaAdapter from odoo.addons.connector_search_engine.tests.test_all import TestBindingIndexBase -from odoo.addons.shopinvader_v1_base.tests.common import _install_lang_odoo +from odoo.addons.shopinvader_restapi.tests.common import _install_lang_odoo try: from vcr_unittest import VCRMixin @@ -30,7 +30,7 @@ def setUpClass(cls): cls.backend_specific.algolia_api_key = os.environ.get( "ALGOLIA_API_KEY", "FAKE_KEY" ) - cls.shopinvader_backend = cls.env.ref("shopinvader_v1_base.backend_1") + cls.shopinvader_backend = cls.env.ref("shopinvader_restapi.backend_1") cls.shopinvader_backend.bind_all_product() cls.shopinvader_backend.bind_all_category() cls.index_product = cls.env.ref("shopinvader_algolia.index_1") @@ -112,8 +112,8 @@ def test_30_export_all_categories(self): def test_facet_settings(self): _install_lang_odoo(self.env, "base.lang_fr") - filter1 = self.env.ref("shopinvader_v1_product.product_filter_1") - filter2 = self.env.ref("shopinvader_v1_product.product_filter_2") + filter1 = self.env.ref("shopinvader_product_binding.product_filter_1") + filter2 = self.env.ref("shopinvader_product_binding.product_filter_2") attr1 = filter1.variant_attribute_id attr2 = filter2.variant_attribute_id attr1.with_context(lang="fr_FR").name = attr1.name + " FR" diff --git a/shopinvader_algolia/views/shopinvader_variant_view.xml b/shopinvader_algolia/views/shopinvader_variant_view.xml index ad127c7f08..e49a6c6114 100644 --- a/shopinvader_algolia/views/shopinvader_variant_view.xml +++ b/shopinvader_algolia/views/shopinvader_variant_view.xml @@ -11,7 +11,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). shopinvader.variant @@ -25,7 +25,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). shopinvader.variant diff --git a/shopinvader_assortment/demo/shopinvader_assortment_demo.xml b/shopinvader_assortment/demo/shopinvader_assortment_demo.xml index 68c69ad8f3..ca62373d66 100644 --- a/shopinvader_assortment/demo/shopinvader_assortment_demo.xml +++ b/shopinvader_assortment/demo/shopinvader_assortment_demo.xml @@ -13,7 +13,7 @@ - + 3 diff --git a/shopinvader_assortment/tests/test_product_auto_bind.py b/shopinvader_assortment/tests/test_product_auto_bind.py index 7bf6bf8f4e..a5dc8b122e 100644 --- a/shopinvader_assortment/tests/test_product_auto_bind.py +++ b/shopinvader_assortment/tests/test_product_auto_bind.py @@ -7,7 +7,7 @@ class TestProductAutoBind(TransactionCase): def setUp(self): super().setUp() - self.backend = self.env.ref("shopinvader_v1_base.backend_1").with_context( + self.backend = self.env.ref("shopinvader_restapi.backend_1").with_context( bind_products_immediately=True ) self.variant_obj = self.env["shopinvader.variant"] diff --git a/shopinvader_assortment/views/shopinvader_backend.xml b/shopinvader_assortment/views/shopinvader_backend.xml index 095d970485..774e1e9eb9 100644 --- a/shopinvader_assortment/views/shopinvader_backend.xml +++ b/shopinvader_assortment/views/shopinvader_backend.xml @@ -8,7 +8,7 @@ shopinvader.backend