From 33ef756b2d8cb32b6f794ace65d628a666b9238f Mon Sep 17 00:00:00 2001 From: liuhehe1995 Date: Fri, 1 Dec 2023 03:21:03 +0000 Subject: [PATCH] 3860-upd-dotfiles --- .copier-answers.yml | 17 ++-- .github/workflows/pre-commit.yml | 11 ++- .github/workflows/test.yml | 7 +- .gitignore | 1 + .pre-commit-config.yaml | 2 +- README.md | 4 +- abstract_report_xlsx/__manifest__.py | 2 +- .../__manifest__.py | 11 +-- .../models/account_analytic_default.py | 1 - account_bank_statement_adj/__manifest__.py | 2 +- .../models/account_bank_statement.py | 2 +- account_invoice_line_view/__manifest__.py | 2 +- .../models/account_invoice_line.py | 1 - .../models/account_payment.py | 3 +- account_view_adjust/__manifest__.py | 2 +- account_view_adjust/models/account_invoice.py | 2 +- ...product_attribute_line_hook_name_search.py | 46 ++++++++++ mail_force_email/__manifest__.py | 2 +- mail_force_email/models/res_partner.py | 23 +++-- .../models/mrp_production.py | 2 +- mrp_bom_component_menu/__manifest__.py | 20 +++++ .../models/mrp_production.py | 2 +- .../wizard/change_source_location_wizard.py | 2 +- mrp_default_location/__manifest__.py | 2 +- mrp_specsheet_py3o/__manifest__.py | 1 + .../__manifest__.py | 2 +- .../models/payment.py | 4 +- product_configurator/__manifest__.py | 4 +- product_configurator_adj/models/stock_move.py | 6 +- product_configurator_mrp/__manifest__.py | 4 +- .../models/product_product.py | 5 +- .../models/product_template.py | 2 - ...roduct_template_hook_create_get_variant.py | 1 + product_configurator_wizard/__manifest__.py | 4 +- product_description_adj/__manifest__.py | 2 +- product_description_adj/models/product.py | 2 +- .../models/sale_order_line.py | 2 +- .../__manifest__.py | 2 +- .../models/product_hook_website_price.py | 33 +++++-- .../models/stock_config_settings.py | 2 +- product_type_default/__manifest__.py | 6 +- .../models/product_category.py | 2 +- .../models/product_template.py | 1 - product_view_adj/__manifest__.py | 2 +- purchase_order_price_unchange/__manifest__.py | 2 +- purchase_received_qty_adj/__manifest__.py | 2 +- .../models/purchase_order_line.py | 2 +- requirements.txt | 7 +- sale_category_discount/__manifest__.py | 6 +- .../models/sale_order_hook_cart_update.py | 46 +++++++--- .../models/sale_order_line.py | 13 +-- sale_mrp_count/__manifest__.py | 2 +- sale_order_cancel_adj/__manifest__.py | 2 +- sale_order_cancel_adj/models/sale_order.py | 2 +- sale_order_dates_ext/__manifest__.py | 2 +- sale_order_dates_ext/models/sale_order.py | 3 +- sale_order_line_base_amt/__manifest__.py | 2 +- .../models/sale_order_line.py | 1 - sale_order_line_serial_number/__manifest__.py | 2 +- .../models/mrp_production.py | 2 +- .../models/procurement_order.py | 4 +- .../models/sale_order_line.py | 2 +- sale_order_line_tree_view/__manifest__.py | 2 +- sale_pricelist_auto_update/__manifest__.py | 2 +- .../models/date_range.py | 2 +- .../tests/test_sale_pricelist_auto_update.py | 4 +- sale_quotation_auto_confirm/__manifest__.py | 4 +- .../models/sale_order.py | 2 +- sale_salesperson_filter/__manifest__.py | 2 +- sale_salesperson_filter/models/res_users.py | 2 +- sale_view_adjust/__manifest__.py | 2 +- setup/abstract_report_xlsx/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/abstract_report_xlsx | 1 + setup/abstract_report_xlsx/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../account_analytic_default_product_category | 1 + .../setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/account_bank_statement_adj | 1 + setup/account_bank_statement_adj/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/account_invoice_line_view | 1 + setup/account_invoice_line_view/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/account_payment_cancel_adj | 1 + setup/account_payment_cancel_adj/setup.py | 6 ++ setup/account_view_adjust/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/account_view_adjust | 1 + setup/account_view_adjust/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../fix_product_attribute_line_name_search | 1 + .../setup.py | 6 ++ setup/mail_force_email/odoo/__init__.py | 1 + .../mail_force_email/odoo/addons/__init__.py | 1 + .../odoo/addons/mail_force_email | 1 + setup/mail_force_email/setup.py | 6 ++ .../mrp_block_inventory_post/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/mrp_block_inventory_post | 1 + setup/mrp_block_inventory_post/setup.py | 6 ++ setup/mrp_bom_component_menu/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/mrp_bom_component_menu | 1 + setup/mrp_bom_component_menu/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/mrp_change_source_location | 1 + setup/mrp_change_source_location/setup.py | 6 ++ setup/mrp_default_location/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/mrp_default_location | 1 + setup/mrp_default_location/setup.py | 6 ++ setup/mrp_specsheet_py3o/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/mrp_specsheet_py3o | 1 + setup/mrp_specsheet_py3o/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../payment_paypal_multiwebsite_support | 1 + .../setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/product_attribute_value_adj | 1 + setup/product_attribute_value_adj/setup.py | 6 ++ setup/product_configurator/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/product_configurator | 1 + setup/product_configurator/setup.py | 6 ++ .../product_configurator_adj/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/product_configurator_adj | 1 + setup/product_configurator_adj/setup.py | 6 ++ .../product_configurator_mrp/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/product_configurator_mrp | 1 + setup/product_configurator_mrp/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/product_configurator_mrp_ext | 1 + setup/product_configurator_mrp_ext/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/product_configurator_wizard | 1 + setup/product_configurator_wizard/setup.py | 6 ++ .../product_description_adj/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/product_description_adj | 1 + setup/product_description_adj/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../product_pricelist_multiwebsite_support | 1 + .../setup.py | 6 ++ setup/product_type_default/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/product_type_default | 1 + setup/product_type_default/setup.py | 6 ++ setup/product_view_adj/odoo/__init__.py | 1 + .../product_view_adj/odoo/addons/__init__.py | 1 + .../odoo/addons/product_view_adj | 1 + setup/product_view_adj/setup.py | 6 ++ setup/purchase_line_view/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/purchase_line_view | 1 + setup/purchase_line_view/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/purchase_order_price_unchange | 1 + setup/purchase_order_price_unchange/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/purchase_received_qty_adj | 1 + setup/purchase_received_qty_adj/setup.py | 6 ++ setup/sale_category_discount/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_category_discount | 1 + setup/sale_category_discount/setup.py | 6 ++ setup/sale_mrp_count/odoo/__init__.py | 1 + setup/sale_mrp_count/odoo/addons/__init__.py | 1 + .../sale_mrp_count/odoo/addons/sale_mrp_count | 1 + setup/sale_mrp_count/setup.py | 6 ++ setup/sale_order_cancel_adj/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_order_cancel_adj | 1 + setup/sale_order_cancel_adj/setup.py | 6 ++ setup/sale_order_dates_ext/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_order_dates_ext | 1 + setup/sale_order_dates_ext/setup.py | 6 ++ .../sale_order_line_base_amt/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_order_line_base_amt | 1 + setup/sale_order_line_base_amt/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_order_line_mrp_remarks | 1 + setup/sale_order_line_mrp_remarks/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_order_line_serial_number | 1 + setup/sale_order_line_serial_number/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_order_line_tree_view | 1 + setup/sale_order_line_tree_view/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_pricelist_auto_update | 1 + setup/sale_pricelist_auto_update/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_quotation_auto_confirm | 1 + setup/sale_quotation_auto_confirm/setup.py | 6 ++ .../sale_salesperson_filter/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/sale_salesperson_filter | 1 + setup/sale_salesperson_filter/setup.py | 6 ++ setup/sale_view_adjust/odoo/__init__.py | 1 + .../sale_view_adjust/odoo/addons/__init__.py | 1 + .../odoo/addons/sale_view_adjust | 1 + setup/sale_view_adjust/setup.py | 6 ++ setup/stock_history_adj/odoo/__init__.py | 1 + .../stock_history_adj/odoo/addons/__init__.py | 1 + .../odoo/addons/stock_history_adj | 1 + setup/stock_history_adj/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/stock_inventory_adjustment | 1 + setup/stock_inventory_adjustment/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/stock_inventory_product_type | 1 + setup/stock_inventory_product_type/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../addons/stock_inventory_valuation_flat | 1 + setup/stock_inventory_valuation_flat/setup.py | 6 ++ setup/stock_level_forecast/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/stock_level_forecast | 1 + setup/stock_level_forecast/setup.py | 6 ++ .../stock_move_status_change/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/stock_move_status_change | 1 + setup/stock_move_status_change/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../addons/stock_picking_regenerate_sequence | 1 + .../setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../stock_picking_unreserve_before_cancel | 1 + .../setup.py | 6 ++ setup/stock_serial_number/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/stock_serial_number | 1 + setup/stock_serial_number/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../addons/stock_shipment_schedule_report | 1 + setup/stock_shipment_schedule_report/setup.py | 6 ++ setup/stock_view_adj/odoo/__init__.py | 1 + setup/stock_view_adj/odoo/addons/__init__.py | 1 + .../stock_view_adj/odoo/addons/stock_view_adj | 1 + setup/stock_view_adj/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../addons/website_order_invoice_automation | 1 + .../website_order_invoice_automation/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/website_product_configurator | 1 + setup/website_product_configurator/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../addons/website_product_configurator_mrp | 1 + .../website_product_configurator_mrp/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../addons/website_product_delivery_method | 1 + .../website_product_delivery_method/setup.py | 6 ++ .../website_sale_address_adj/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/website_sale_address_adj | 1 + setup/website_sale_address_adj/setup.py | 6 ++ .../odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../addons/website_sale_comment_category_wise | 1 + .../setup.py | 6 ++ setup/website_sale_view_adj/odoo/__init__.py | 1 + .../odoo/addons/__init__.py | 1 + .../odoo/addons/website_sale_view_adj | 1 + setup/website_sale_view_adj/setup.py | 6 ++ stock_history_adj/__manifest__.py | 4 +- stock_history_adj/report/stock_history.py | 61 +++++++++---- .../wizard/wizard_valuation_history.py | 2 +- stock_inventory_product_type/__manifest__.py | 4 +- .../models/stock_quant.py | 3 +- .../__manifest__.py | 2 +- stock_level_forecast/__manifest__.py | 2 +- .../report/report_stock_forecast.py | 90 +++++++++++++------ stock_move_status_change/__manifest__.py | 2 +- stock_serial_number/__manifest__.py | 2 +- stock_serial_number/models/sale_order.py | 7 +- stock_serial_number/models/sale_order_line.py | 2 +- stock_serial_number/models/stock_move.py | 29 ++++-- stock_serial_number/models/stock_picking.py | 15 ++-- .../models/stock_production_lot.py | 4 - .../__manifest__.py | 2 +- .../shipment_schedule_report_compute.py | 30 ++++--- .../reports/shipment_schedule_xlsx.py | 3 +- stock_view_adj/__manifest__.py | 6 +- .../__manifest__.py | 6 +- .../models/sale_order.py | 1 + .../models/sale_order_line.py | 17 ++-- website_product_configurator/__manifest__.py | 4 +- .../__manifest__.py | 4 +- website_sale_address_adj/__manifest__.py | 4 +- website_sale_view_adj/__manifest__.py | 2 +- 325 files changed, 956 insertions(+), 245 deletions(-) create mode 100644 fix_product_attribute_line_name_search/models/product_attribute_line_hook_name_search.py create mode 100644 mrp_bom_component_menu/__manifest__.py create mode 100644 setup/abstract_report_xlsx/odoo/__init__.py create mode 100644 setup/abstract_report_xlsx/odoo/addons/__init__.py create mode 120000 setup/abstract_report_xlsx/odoo/addons/abstract_report_xlsx create mode 100644 setup/abstract_report_xlsx/setup.py create mode 100644 setup/account_analytic_default_product_category/odoo/__init__.py create mode 100644 setup/account_analytic_default_product_category/odoo/addons/__init__.py create mode 120000 setup/account_analytic_default_product_category/odoo/addons/account_analytic_default_product_category create mode 100644 setup/account_analytic_default_product_category/setup.py create mode 100644 setup/account_bank_statement_adj/odoo/__init__.py create mode 100644 setup/account_bank_statement_adj/odoo/addons/__init__.py create mode 120000 setup/account_bank_statement_adj/odoo/addons/account_bank_statement_adj create mode 100644 setup/account_bank_statement_adj/setup.py create mode 100644 setup/account_invoice_line_view/odoo/__init__.py create mode 100644 setup/account_invoice_line_view/odoo/addons/__init__.py create mode 120000 setup/account_invoice_line_view/odoo/addons/account_invoice_line_view create mode 100644 setup/account_invoice_line_view/setup.py create mode 100644 setup/account_payment_cancel_adj/odoo/__init__.py create mode 100644 setup/account_payment_cancel_adj/odoo/addons/__init__.py create mode 120000 setup/account_payment_cancel_adj/odoo/addons/account_payment_cancel_adj create mode 100644 setup/account_payment_cancel_adj/setup.py create mode 100644 setup/account_view_adjust/odoo/__init__.py create mode 100644 setup/account_view_adjust/odoo/addons/__init__.py create mode 120000 setup/account_view_adjust/odoo/addons/account_view_adjust create mode 100644 setup/account_view_adjust/setup.py create mode 100644 setup/fix_product_attribute_line_name_search/odoo/__init__.py create mode 100644 setup/fix_product_attribute_line_name_search/odoo/addons/__init__.py create mode 120000 setup/fix_product_attribute_line_name_search/odoo/addons/fix_product_attribute_line_name_search create mode 100644 setup/fix_product_attribute_line_name_search/setup.py create mode 100644 setup/mail_force_email/odoo/__init__.py create mode 100644 setup/mail_force_email/odoo/addons/__init__.py create mode 120000 setup/mail_force_email/odoo/addons/mail_force_email create mode 100644 setup/mail_force_email/setup.py create mode 100644 setup/mrp_block_inventory_post/odoo/__init__.py create mode 100644 setup/mrp_block_inventory_post/odoo/addons/__init__.py create mode 120000 setup/mrp_block_inventory_post/odoo/addons/mrp_block_inventory_post create mode 100644 setup/mrp_block_inventory_post/setup.py create mode 100644 setup/mrp_bom_component_menu/odoo/__init__.py create mode 100644 setup/mrp_bom_component_menu/odoo/addons/__init__.py create mode 120000 setup/mrp_bom_component_menu/odoo/addons/mrp_bom_component_menu create mode 100644 setup/mrp_bom_component_menu/setup.py create mode 100644 setup/mrp_change_source_location/odoo/__init__.py create mode 100644 setup/mrp_change_source_location/odoo/addons/__init__.py create mode 120000 setup/mrp_change_source_location/odoo/addons/mrp_change_source_location create mode 100644 setup/mrp_change_source_location/setup.py create mode 100644 setup/mrp_default_location/odoo/__init__.py create mode 100644 setup/mrp_default_location/odoo/addons/__init__.py create mode 120000 setup/mrp_default_location/odoo/addons/mrp_default_location create mode 100644 setup/mrp_default_location/setup.py create mode 100644 setup/mrp_specsheet_py3o/odoo/__init__.py create mode 100644 setup/mrp_specsheet_py3o/odoo/addons/__init__.py create mode 120000 setup/mrp_specsheet_py3o/odoo/addons/mrp_specsheet_py3o create mode 100644 setup/mrp_specsheet_py3o/setup.py create mode 100644 setup/payment_paypal_multiwebsite_support/odoo/__init__.py create mode 100644 setup/payment_paypal_multiwebsite_support/odoo/addons/__init__.py create mode 120000 setup/payment_paypal_multiwebsite_support/odoo/addons/payment_paypal_multiwebsite_support create mode 100644 setup/payment_paypal_multiwebsite_support/setup.py create mode 100644 setup/product_attribute_value_adj/odoo/__init__.py create mode 100644 setup/product_attribute_value_adj/odoo/addons/__init__.py create mode 120000 setup/product_attribute_value_adj/odoo/addons/product_attribute_value_adj create mode 100644 setup/product_attribute_value_adj/setup.py create mode 100644 setup/product_configurator/odoo/__init__.py create mode 100644 setup/product_configurator/odoo/addons/__init__.py create mode 120000 setup/product_configurator/odoo/addons/product_configurator create mode 100644 setup/product_configurator/setup.py create mode 100644 setup/product_configurator_adj/odoo/__init__.py create mode 100644 setup/product_configurator_adj/odoo/addons/__init__.py create mode 120000 setup/product_configurator_adj/odoo/addons/product_configurator_adj create mode 100644 setup/product_configurator_adj/setup.py create mode 100644 setup/product_configurator_mrp/odoo/__init__.py create mode 100644 setup/product_configurator_mrp/odoo/addons/__init__.py create mode 120000 setup/product_configurator_mrp/odoo/addons/product_configurator_mrp create mode 100644 setup/product_configurator_mrp/setup.py create mode 100644 setup/product_configurator_mrp_ext/odoo/__init__.py create mode 100644 setup/product_configurator_mrp_ext/odoo/addons/__init__.py create mode 120000 setup/product_configurator_mrp_ext/odoo/addons/product_configurator_mrp_ext create mode 100644 setup/product_configurator_mrp_ext/setup.py create mode 100644 setup/product_configurator_wizard/odoo/__init__.py create mode 100644 setup/product_configurator_wizard/odoo/addons/__init__.py create mode 120000 setup/product_configurator_wizard/odoo/addons/product_configurator_wizard create mode 100644 setup/product_configurator_wizard/setup.py create mode 100644 setup/product_description_adj/odoo/__init__.py create mode 100644 setup/product_description_adj/odoo/addons/__init__.py create mode 120000 setup/product_description_adj/odoo/addons/product_description_adj create mode 100644 setup/product_description_adj/setup.py create mode 100644 setup/product_pricelist_multiwebsite_support/odoo/__init__.py create mode 100644 setup/product_pricelist_multiwebsite_support/odoo/addons/__init__.py create mode 120000 setup/product_pricelist_multiwebsite_support/odoo/addons/product_pricelist_multiwebsite_support create mode 100644 setup/product_pricelist_multiwebsite_support/setup.py create mode 100644 setup/product_type_default/odoo/__init__.py create mode 100644 setup/product_type_default/odoo/addons/__init__.py create mode 120000 setup/product_type_default/odoo/addons/product_type_default create mode 100644 setup/product_type_default/setup.py create mode 100644 setup/product_view_adj/odoo/__init__.py create mode 100644 setup/product_view_adj/odoo/addons/__init__.py create mode 120000 setup/product_view_adj/odoo/addons/product_view_adj create mode 100644 setup/product_view_adj/setup.py create mode 100644 setup/purchase_line_view/odoo/__init__.py create mode 100644 setup/purchase_line_view/odoo/addons/__init__.py create mode 120000 setup/purchase_line_view/odoo/addons/purchase_line_view create mode 100644 setup/purchase_line_view/setup.py create mode 100644 setup/purchase_order_price_unchange/odoo/__init__.py create mode 100644 setup/purchase_order_price_unchange/odoo/addons/__init__.py create mode 120000 setup/purchase_order_price_unchange/odoo/addons/purchase_order_price_unchange create mode 100644 setup/purchase_order_price_unchange/setup.py create mode 100644 setup/purchase_received_qty_adj/odoo/__init__.py create mode 100644 setup/purchase_received_qty_adj/odoo/addons/__init__.py create mode 120000 setup/purchase_received_qty_adj/odoo/addons/purchase_received_qty_adj create mode 100644 setup/purchase_received_qty_adj/setup.py create mode 100644 setup/sale_category_discount/odoo/__init__.py create mode 100644 setup/sale_category_discount/odoo/addons/__init__.py create mode 120000 setup/sale_category_discount/odoo/addons/sale_category_discount create mode 100644 setup/sale_category_discount/setup.py create mode 100644 setup/sale_mrp_count/odoo/__init__.py create mode 100644 setup/sale_mrp_count/odoo/addons/__init__.py create mode 120000 setup/sale_mrp_count/odoo/addons/sale_mrp_count create mode 100644 setup/sale_mrp_count/setup.py create mode 100644 setup/sale_order_cancel_adj/odoo/__init__.py create mode 100644 setup/sale_order_cancel_adj/odoo/addons/__init__.py create mode 120000 setup/sale_order_cancel_adj/odoo/addons/sale_order_cancel_adj create mode 100644 setup/sale_order_cancel_adj/setup.py create mode 100644 setup/sale_order_dates_ext/odoo/__init__.py create mode 100644 setup/sale_order_dates_ext/odoo/addons/__init__.py create mode 120000 setup/sale_order_dates_ext/odoo/addons/sale_order_dates_ext create mode 100644 setup/sale_order_dates_ext/setup.py create mode 100644 setup/sale_order_line_base_amt/odoo/__init__.py create mode 100644 setup/sale_order_line_base_amt/odoo/addons/__init__.py create mode 120000 setup/sale_order_line_base_amt/odoo/addons/sale_order_line_base_amt create mode 100644 setup/sale_order_line_base_amt/setup.py create mode 100644 setup/sale_order_line_mrp_remarks/odoo/__init__.py create mode 100644 setup/sale_order_line_mrp_remarks/odoo/addons/__init__.py create mode 120000 setup/sale_order_line_mrp_remarks/odoo/addons/sale_order_line_mrp_remarks create mode 100644 setup/sale_order_line_mrp_remarks/setup.py create mode 100644 setup/sale_order_line_serial_number/odoo/__init__.py create mode 100644 setup/sale_order_line_serial_number/odoo/addons/__init__.py create mode 120000 setup/sale_order_line_serial_number/odoo/addons/sale_order_line_serial_number create mode 100644 setup/sale_order_line_serial_number/setup.py create mode 100644 setup/sale_order_line_tree_view/odoo/__init__.py create mode 100644 setup/sale_order_line_tree_view/odoo/addons/__init__.py create mode 120000 setup/sale_order_line_tree_view/odoo/addons/sale_order_line_tree_view create mode 100644 setup/sale_order_line_tree_view/setup.py create mode 100644 setup/sale_pricelist_auto_update/odoo/__init__.py create mode 100644 setup/sale_pricelist_auto_update/odoo/addons/__init__.py create mode 120000 setup/sale_pricelist_auto_update/odoo/addons/sale_pricelist_auto_update create mode 100644 setup/sale_pricelist_auto_update/setup.py create mode 100644 setup/sale_quotation_auto_confirm/odoo/__init__.py create mode 100644 setup/sale_quotation_auto_confirm/odoo/addons/__init__.py create mode 120000 setup/sale_quotation_auto_confirm/odoo/addons/sale_quotation_auto_confirm create mode 100644 setup/sale_quotation_auto_confirm/setup.py create mode 100644 setup/sale_salesperson_filter/odoo/__init__.py create mode 100644 setup/sale_salesperson_filter/odoo/addons/__init__.py create mode 120000 setup/sale_salesperson_filter/odoo/addons/sale_salesperson_filter create mode 100644 setup/sale_salesperson_filter/setup.py create mode 100644 setup/sale_view_adjust/odoo/__init__.py create mode 100644 setup/sale_view_adjust/odoo/addons/__init__.py create mode 120000 setup/sale_view_adjust/odoo/addons/sale_view_adjust create mode 100644 setup/sale_view_adjust/setup.py create mode 100644 setup/stock_history_adj/odoo/__init__.py create mode 100644 setup/stock_history_adj/odoo/addons/__init__.py create mode 120000 setup/stock_history_adj/odoo/addons/stock_history_adj create mode 100644 setup/stock_history_adj/setup.py create mode 100644 setup/stock_inventory_adjustment/odoo/__init__.py create mode 100644 setup/stock_inventory_adjustment/odoo/addons/__init__.py create mode 120000 setup/stock_inventory_adjustment/odoo/addons/stock_inventory_adjustment create mode 100644 setup/stock_inventory_adjustment/setup.py create mode 100644 setup/stock_inventory_product_type/odoo/__init__.py create mode 100644 setup/stock_inventory_product_type/odoo/addons/__init__.py create mode 120000 setup/stock_inventory_product_type/odoo/addons/stock_inventory_product_type create mode 100644 setup/stock_inventory_product_type/setup.py create mode 100644 setup/stock_inventory_valuation_flat/odoo/__init__.py create mode 100644 setup/stock_inventory_valuation_flat/odoo/addons/__init__.py create mode 120000 setup/stock_inventory_valuation_flat/odoo/addons/stock_inventory_valuation_flat create mode 100644 setup/stock_inventory_valuation_flat/setup.py create mode 100644 setup/stock_level_forecast/odoo/__init__.py create mode 100644 setup/stock_level_forecast/odoo/addons/__init__.py create mode 120000 setup/stock_level_forecast/odoo/addons/stock_level_forecast create mode 100644 setup/stock_level_forecast/setup.py create mode 100644 setup/stock_move_status_change/odoo/__init__.py create mode 100644 setup/stock_move_status_change/odoo/addons/__init__.py create mode 120000 setup/stock_move_status_change/odoo/addons/stock_move_status_change create mode 100644 setup/stock_move_status_change/setup.py create mode 100644 setup/stock_picking_regenerate_sequence/odoo/__init__.py create mode 100644 setup/stock_picking_regenerate_sequence/odoo/addons/__init__.py create mode 120000 setup/stock_picking_regenerate_sequence/odoo/addons/stock_picking_regenerate_sequence create mode 100644 setup/stock_picking_regenerate_sequence/setup.py create mode 100644 setup/stock_picking_unreserve_before_cancel/odoo/__init__.py create mode 100644 setup/stock_picking_unreserve_before_cancel/odoo/addons/__init__.py create mode 120000 setup/stock_picking_unreserve_before_cancel/odoo/addons/stock_picking_unreserve_before_cancel create mode 100644 setup/stock_picking_unreserve_before_cancel/setup.py create mode 100644 setup/stock_serial_number/odoo/__init__.py create mode 100644 setup/stock_serial_number/odoo/addons/__init__.py create mode 120000 setup/stock_serial_number/odoo/addons/stock_serial_number create mode 100644 setup/stock_serial_number/setup.py create mode 100644 setup/stock_shipment_schedule_report/odoo/__init__.py create mode 100644 setup/stock_shipment_schedule_report/odoo/addons/__init__.py create mode 120000 setup/stock_shipment_schedule_report/odoo/addons/stock_shipment_schedule_report create mode 100644 setup/stock_shipment_schedule_report/setup.py create mode 100644 setup/stock_view_adj/odoo/__init__.py create mode 100644 setup/stock_view_adj/odoo/addons/__init__.py create mode 120000 setup/stock_view_adj/odoo/addons/stock_view_adj create mode 100644 setup/stock_view_adj/setup.py create mode 100644 setup/website_order_invoice_automation/odoo/__init__.py create mode 100644 setup/website_order_invoice_automation/odoo/addons/__init__.py create mode 120000 setup/website_order_invoice_automation/odoo/addons/website_order_invoice_automation create mode 100644 setup/website_order_invoice_automation/setup.py create mode 100644 setup/website_product_configurator/odoo/__init__.py create mode 100644 setup/website_product_configurator/odoo/addons/__init__.py create mode 120000 setup/website_product_configurator/odoo/addons/website_product_configurator create mode 100644 setup/website_product_configurator/setup.py create mode 100644 setup/website_product_configurator_mrp/odoo/__init__.py create mode 100644 setup/website_product_configurator_mrp/odoo/addons/__init__.py create mode 120000 setup/website_product_configurator_mrp/odoo/addons/website_product_configurator_mrp create mode 100644 setup/website_product_configurator_mrp/setup.py create mode 100644 setup/website_product_delivery_method/odoo/__init__.py create mode 100644 setup/website_product_delivery_method/odoo/addons/__init__.py create mode 120000 setup/website_product_delivery_method/odoo/addons/website_product_delivery_method create mode 100644 setup/website_product_delivery_method/setup.py create mode 100644 setup/website_sale_address_adj/odoo/__init__.py create mode 100644 setup/website_sale_address_adj/odoo/addons/__init__.py create mode 120000 setup/website_sale_address_adj/odoo/addons/website_sale_address_adj create mode 100644 setup/website_sale_address_adj/setup.py create mode 100644 setup/website_sale_comment_category_wise/odoo/__init__.py create mode 100644 setup/website_sale_comment_category_wise/odoo/addons/__init__.py create mode 120000 setup/website_sale_comment_category_wise/odoo/addons/website_sale_comment_category_wise create mode 100644 setup/website_sale_comment_category_wise/setup.py create mode 100644 setup/website_sale_view_adj/odoo/__init__.py create mode 100644 setup/website_sale_view_adj/odoo/addons/__init__.py create mode 120000 setup/website_sale_view_adj/odoo/addons/website_sale_view_adj create mode 100644 setup/website_sale_view_adj/setup.py diff --git a/.copier-answers.yml b/.copier-answers.yml index f413811a..7ce0fc97 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,24 +1,23 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.14.1 +_commit: v1.19.2 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: GitHub -dependency_installation_mode: PIP +convert_readme_fragments_to_markdown: true generate_requirements_txt: true github_check_license: true github_ci_extra_env: {} -github_enable_codecov: true +github_enable_codecov: false github_enable_makepot: false -github_enable_stale_action: true -github_enforce_dev_status_compatibility: true +github_enable_stale_action: false +github_enforce_dev_status_compatibility: false include_wkhtmltopdf: false +odoo_test_flavor: OCB odoo_version: 10.0 org_name: Quartile Limited org_slug: qrtl rebel_module_groups: [] -repo_description: PCI Custom -repo_name: null +repo_description: '' +repo_name: PCI Custom repo_slug: pci-custom repo_website: https://www.quartile.co -travis_apt_packages: [] -travis_apt_sources: [] diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 497268be..cd433f96 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,7 +13,7 @@ jobs: pre-commit: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v2 with: python-version: "2.7" @@ -27,6 +27,15 @@ jobs: run: pip install pre-commit - name: Run pre-commit run: pre-commit run --all-files --show-diff-on-failure --color=always + env: + # Consider valid a PR that changes README fragments but doesn't + # change the README.rst file itself. It's not really a problem + # because the bot will update it anyway after merge. This way, we + # lower the barrier for functional contributors that want to fix the + # readme fragments, while still letting developers get README + # auto-generated (which also helps functionals when using runboat). + # DOCS https://pre-commit.com/#temporarily-disabling-hooks + SKIP: oca-gen-addon-readme - name: Check that all files generated by pre-commit are in git run: | newfiles="$(git ls-files --others --exclude-from=.gitignore)" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7031ce8f..af59c98b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: # runs-on: ubuntu-latest # name: Detect unreleased dependencies # steps: - # - uses: actions/checkout@v2 + # - uses: actions/checkout@v3 # - run: | # for reqfile in requirements.txt test-requirements.txt ; do # if [ -f ${reqfile} ] ; then @@ -37,6 +37,7 @@ jobs: include: - container: ghcr.io/oca/oca-ci/py2.7-ocb10.0:latest name: test with OCB + makepot: "false" services: postgres: image: postgres:9.6 @@ -47,7 +48,7 @@ jobs: ports: - 5432:5432 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: persist-credentials: false - name: Install addons and dependencies @@ -56,11 +57,11 @@ jobs: run: manifestoo -d . check-licenses - name: Check development status run: manifestoo -d . check-dev-status --default-dev-status=Beta + continue-on-error: true - name: Initialize test db run: oca_init_test_database - name: Run tests run: oca_run_tests - - uses: codecov/codecov-action@v1 - name: Update .pot files run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }} if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'qrtl' }} diff --git a/.gitignore b/.gitignore index 9c283fd4..0090721f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ __pycache__/ *.py[cod] /.venv /.pytest_cache +/.ruff_cache # C extensions *.so diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c5d3eef..07d12d2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ exclude: | # You don't usually want a bot to modify your legal texts (LICENSE.*|COPYING.*) default_language_version: - python: python3 + python: python3.8 repos: - repo: https://github.com/oca/maintainer-tools rev: ab1d7f6 diff --git a/README.md b/README.md index aaa46417..63a78d48 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ -# None +# PCI Custom + -PCI Custom diff --git a/abstract_report_xlsx/__manifest__.py b/abstract_report_xlsx/__manifest__.py index ef62671a..800a389e 100644 --- a/abstract_report_xlsx/__manifest__.py +++ b/abstract_report_xlsx/__manifest__.py @@ -8,7 +8,7 @@ "summary": "", "version": "10.0.1.0.0", "category": "Reporting", - "website": "https://www.odoo-asia.com/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "AGPL-3", "installable": True, diff --git a/account_analytic_default_product_category/__manifest__.py b/account_analytic_default_product_category/__manifest__.py index 8d48eb08..6742ee67 100644 --- a/account_analytic_default_product_category/__manifest__.py +++ b/account_analytic_default_product_category/__manifest__.py @@ -3,16 +3,17 @@ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { 'name': 'Account Analytic Default Product Category', - 'summary':"""""", + 'summary': """""", 'version': '10.0.1.0.0', 'category': 'Accounting & Finance', - 'description': """ + 'description': """ * Add 'Analytic Account' to Product Category -* If no corresponding Analytic Defaults, automatically propose Analytic Account of Product Category on Invoice lines +* If no corresponding Analytic Defaults, +* automatically propose Analytic Account of Product Category on Invoice lines * Do not propose it on Purchase Order lines """, - 'author': 'Rooms For (Hong Kong) Limited T/A OSCG', - 'website': 'https://www.odoo-asia.com', + 'author': 'Rooms For (Hong Kong) Limited T/A OSCG,Quartile Limited', + 'website': 'https://www.quartile.co', 'license': 'LGPL-3', 'depends': [ 'account', diff --git a/account_analytic_default_product_category/models/account_analytic_default.py b/account_analytic_default_product_category/models/account_analytic_default.py index b87474cf..84f2eeb8 100644 --- a/account_analytic_default_product_category/models/account_analytic_default.py +++ b/account_analytic_default_product_category/models/account_analytic_default.py @@ -8,7 +8,6 @@ class AccountAnalyticDefault(models.Model): _inherit = "account.analytic.default" - @api.model def account_get(self, product_id=None, partner_id=None, user_id=None, date=None, company_id=None): diff --git a/account_bank_statement_adj/__manifest__.py b/account_bank_statement_adj/__manifest__.py index cc6e8c36..0be95603 100644 --- a/account_bank_statement_adj/__manifest__.py +++ b/account_bank_statement_adj/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Clear move_name when unreconciling bank statement line', 'version': '10.0.1.0.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Account', 'license': "LGPL-3", 'description': """ diff --git a/account_bank_statement_adj/models/account_bank_statement.py b/account_bank_statement_adj/models/account_bank_statement.py index 3129286d..97595158 100644 --- a/account_bank_statement_adj/models/account_bank_statement.py +++ b/account_bank_statement_adj/models/account_bank_statement.py @@ -2,7 +2,7 @@ # Copyright 2017 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import models, fields, api +from odoo import models, api class AccountBankStatementLine(models.Model): diff --git a/account_invoice_line_view/__manifest__.py b/account_invoice_line_view/__manifest__.py index 1b6203de..2f437273 100644 --- a/account_invoice_line_view/__manifest__.py +++ b/account_invoice_line_view/__manifest__.py @@ -11,7 +11,7 @@ """, "version": "10.0.1.0.0", "category": "Account", - "website": "https://www.odoo-asia.com/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "LGPL-3", "application": False, diff --git a/account_invoice_line_view/models/account_invoice_line.py b/account_invoice_line_view/models/account_invoice_line.py index 25ba5248..0d567a86 100644 --- a/account_invoice_line_view/models/account_invoice_line.py +++ b/account_invoice_line_view/models/account_invoice_line.py @@ -63,7 +63,6 @@ class AccountInoviceLine(models.Model): string='Customer', store=True ) - @api.multi @api.depends('invoice_id.name', 'invoice_id.reference') diff --git a/account_payment_cancel_adj/models/account_payment.py b/account_payment_cancel_adj/models/account_payment.py index a55e54d1..a970c43e 100644 --- a/account_payment_cancel_adj/models/account_payment.py +++ b/account_payment_cancel_adj/models/account_payment.py @@ -2,13 +2,12 @@ # Copyright 2018 Quartile Limited # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import api, fields, models +from odoo import api, models class AccountPayment(models.Model): _inherit = 'account.payment' - @api.multi def cancel(self): super(AccountPayment, self).cancel() diff --git a/account_view_adjust/__manifest__.py b/account_view_adjust/__manifest__.py index 0258f854..1d6bc3a2 100644 --- a/account_view_adjust/__manifest__.py +++ b/account_view_adjust/__manifest__.py @@ -3,7 +3,7 @@ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { 'name': 'Adjustments on Accounting Views', - 'summary':"""""", + 'summary': """""", 'version': '10.0.1.2.0', 'category': 'Accounting', 'description': """ diff --git a/account_view_adjust/models/account_invoice.py b/account_view_adjust/models/account_invoice.py index 42350b27..c8d6ef93 100644 --- a/account_view_adjust/models/account_invoice.py +++ b/account_view_adjust/models/account_invoice.py @@ -3,7 +3,7 @@ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). from odoo.exceptions import UserError -from odoo import models, fields, api, _ +from odoo import models, api, _ class AccountInovice(models.Model): diff --git a/fix_product_attribute_line_name_search/models/product_attribute_line_hook_name_search.py b/fix_product_attribute_line_name_search/models/product_attribute_line_hook_name_search.py new file mode 100644 index 00000000..3c41b1f0 --- /dev/null +++ b/fix_product_attribute_line_name_search/models/product_attribute_line_hook_name_search.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 Quartile Limited +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.osv import expression +from odoo import models, api +from odoo.addons.product.models.product_attribute import ProductAttributeLine + + +# """ +# Odoo's original method completely overrides `args` which disables whatever +# domain passed to this method, and therefore is not desiable. +# We will fix it by extending args instead of overriding it. +# Ref: https://github.com/odoo/odoo/pull/26133 +# """ +@api.model +def name_search(self, name='', args=None, operator='ilike', limit=100): + # TDE FIXME: currently overriding the domain; however as it includes a + # search on a m2o and one on a m2m, probably this will quickly become + # difficult to compute - check if performance optimization is required + if name and operator in ('=', 'ilike', '=ilike', 'like', '=like'): + # Correctly indented comment block + # args = ['|', ('attribute_id', operator, name), + # ('value_ids', operator, name)] + # QTL del + args = args or [] # QTL add + domain = [ + '|', + ('attribute_id', operator, name), + ('value_ids', operator, name) + ] # QTL add + search_result = self.search(expression.AND([domain, args]), limit=limit) + return search_result.name_get() # QTL add + return super(ProductAttributeLine, self).name_search( + name=name, args=args, operator=operator, limit=limit + ) + + +class ProductAttributeLineHookNameSearch(models.AbstractModel): + _name = "product.attribute.line.hook.name.search" + _description = "Provide hook point for name_search method" + + def _register_hook(self): + ProductAttributeLine.name_search = name_search + return super(ProductAttributeLineHookNameSearch, self).\ + _register_hook() diff --git a/mail_force_email/__manifest__.py b/mail_force_email/__manifest__.py index 34beef39..b6ed3824 100644 --- a/mail_force_email/__manifest__.py +++ b/mail_force_email/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Email Template with Force Sending', 'version': '10.0.1.0.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Mail', 'license': "LGPL-3", 'description': """ diff --git a/mail_force_email/models/res_partner.py b/mail_force_email/models/res_partner.py index c6416d08..7699a4a1 100644 --- a/mail_force_email/models/res_partner.py +++ b/mail_force_email/models/res_partner.py @@ -12,22 +12,33 @@ class Partner(models.Model): # if force_email is enabled in used template, send email to partner # regardless of partner's notify_email setting @api.multi - def _notify(self, message, force_send=False, send_after_commit=True, user_signature=True): + def _notify(self, + message, + force_send=False, + send_after_commit=True, + user_signature=True): message_sudo = message.sudo() - email_channels = message.channel_ids.filtered(lambda channel: channel.email_send) + email_channels = message.channel_ids.filtered( + lambda channel: channel.email_send + ) # adjust start (QTL) domain = [ '|', ('id', 'in', self.ids), ('channel_ids', 'in', email_channels.ids), - ('email', '!=', message_sudo.author_id and message_sudo.author_id.email or message.email_from) + ('email', '!=', + message_sudo.author_id + and message_sudo.author_id.email + or message.email_from) ] layout = self._context.get('custom_layout', False) if not (layout and self.env.ref(layout).force_email): domain.append(('notify_email', '!=', 'none')) - self.sudo().search(domain)._notify_by_email(message, force_send=force_send, - send_after_commit=send_after_commit, - user_signature=user_signature) + self.sudo().search(domain)._notify_by_email( + message, force_send=force_send, + send_after_commit=send_after_commit, + user_signature=user_signature + ) # adjust end (QTL) self._notify_by_chat(message) return True diff --git a/mrp_block_inventory_post/models/mrp_production.py b/mrp_block_inventory_post/models/mrp_production.py index 25450f2c..7cf38397 100644 --- a/mrp_block_inventory_post/models/mrp_production.py +++ b/mrp_block_inventory_post/models/mrp_production.py @@ -13,7 +13,7 @@ class MrpProduction(models.Model): def post_inventory(self): for order in self: if order.move_raw_ids.filtered( - lambda x: x.state not in ['assigned', 'done', 'cancel']): + lambda x: x.state not in ['assigned', 'done', 'cancel']): raise UserError(_( "Please make sure that stock is reserved for all " "components before posting inventory." diff --git a/mrp_bom_component_menu/__manifest__.py b/mrp_bom_component_menu/__manifest__.py new file mode 100644 index 00000000..b21040bc --- /dev/null +++ b/mrp_bom_component_menu/__manifest__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Eficent Business and IT Consulting Services, S.L. +# () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "MRP BOM Component Menu", + "version": "10.0.1.0.0", + "category": "Manufacturing", + "website": "https://www.quartile.co", + "author": "Eficent,Quartile Limited," + "Odoo Community Association (OCA)", + "license": "AGPL-3", + "installable": True, + "depends": [ + "mrp", + ], + "data": [ + "views/mrp_bom_component_view.xml", + ], +} diff --git a/mrp_change_source_location/models/mrp_production.py b/mrp_change_source_location/models/mrp_production.py index 2023484c..8b41d0f1 100644 --- a/mrp_change_source_location/models/mrp_production.py +++ b/mrp_change_source_location/models/mrp_production.py @@ -2,7 +2,7 @@ # Copyright 2018 Quartile Limited # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields, api +from odoo import models class MrpProduction(models.Model): diff --git a/mrp_change_source_location/wizard/change_source_location_wizard.py b/mrp_change_source_location/wizard/change_source_location_wizard.py index 83a857a8..b9d5bdd3 100644 --- a/mrp_change_source_location/wizard/change_source_location_wizard.py +++ b/mrp_change_source_location/wizard/change_source_location_wizard.py @@ -2,7 +2,7 @@ # Copyright 2018 Quartile Limited # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields, api +from odoo import models, fields class ChangeSourceLocationWizard(models.TransientModel): diff --git a/mrp_default_location/__manifest__.py b/mrp_default_location/__manifest__.py index 16a5107e..9490edac 100644 --- a/mrp_default_location/__manifest__.py +++ b/mrp_default_location/__manifest__.py @@ -8,7 +8,7 @@ """, "version": "10.0.1.0.0", "category": "Manufacturing", - "website": "https://www.odoo-asia.com/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "LGPL-3", "installable": True, diff --git a/mrp_specsheet_py3o/__manifest__.py b/mrp_specsheet_py3o/__manifest__.py index 4ae6cfa7..87597cee 100644 --- a/mrp_specsheet_py3o/__manifest__.py +++ b/mrp_specsheet_py3o/__manifest__.py @@ -7,6 +7,7 @@ 'version': '10.0.1.0.1', 'category': 'Manufacturing', 'license': 'AGPL-3', + 'website': 'https://www.quartile.co', 'summary': 'py3o spec sheet report', 'description': """ Spec Sheet Report Py3o diff --git a/payment_paypal_multiwebsite_support/__manifest__.py b/payment_paypal_multiwebsite_support/__manifest__.py index 7799bc86..f4ef3c79 100644 --- a/payment_paypal_multiwebsite_support/__manifest__.py +++ b/payment_paypal_multiwebsite_support/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Extend PayPal Acquirer to support multi-website', 'version': '10.0.1.0.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Accounting', 'license': "AGPL-3", 'description': """ diff --git a/payment_paypal_multiwebsite_support/models/payment.py b/payment_paypal_multiwebsite_support/models/payment.py index 97836ea1..de39aa83 100644 --- a/payment_paypal_multiwebsite_support/models/payment.py +++ b/payment_paypal_multiwebsite_support/models/payment.py @@ -6,7 +6,7 @@ from odoo.addons.payment_paypal.controllers.main import PaypalController from odoo.http import request -from odoo import models, fields, api +from odoo import models, api class AcquirerPaypal(models.Model): @@ -19,7 +19,7 @@ def paypal_form_generate_values(self, values): base_url = '' if request.httprequest.environ.get('wsgi.url_scheme'): base_url += request.httprequest.environ.get('wsgi.url_scheme') + \ - '://' + '://' base_url += request.httprequest.environ.get('HTTP_HOST', '') paypal_tx_values.update({ 'paypal_return': '%s' % urlparse.urljoin(base_url, diff --git a/product_configurator/__manifest__.py b/product_configurator/__manifest__.py index 4f75285a..bb3878fb 100755 --- a/product_configurator/__manifest__.py +++ b/product_configurator/__manifest__.py @@ -4,9 +4,9 @@ 'version': '10.0.1.0.0', 'category': 'Generic Modules/Base', 'summary': 'Base for product configuration interface modules', - 'author': 'Pledra', + 'author': 'Pledra,Quartile Limited', 'license': 'AGPL-3', - 'website': 'http://www.pledra.com/', + 'website': 'https://www.quartile.co', 'depends': ['sale_stock'], "data": [ 'data/menu_configurable_product.xml', diff --git a/product_configurator_adj/models/stock_move.py b/product_configurator_adj/models/stock_move.py index a5b784ad..a1ea4301 100644 --- a/product_configurator_adj/models/stock_move.py +++ b/product_configurator_adj/models/stock_move.py @@ -6,7 +6,7 @@ class StockMove(models.Model): _inherit = 'stock.move' - #product_id = fields.Many2one(domain=[('config_ok', '=', False)]) - # remove domain because configurable product cannot be selected in stock - # moves (inventory transfer), otherwise. +# product_id = fields.Many2one(domain=[('config_ok', '=', False)]) +# remove domain because configurable product cannot be selected in stock +# moves (inventory transfer), otherwise. product_id = fields.Many2one(domain=[]) diff --git a/product_configurator_mrp/__manifest__.py b/product_configurator_mrp/__manifest__.py index e2006252..bca64ac3 100644 --- a/product_configurator_mrp/__manifest__.py +++ b/product_configurator_mrp/__manifest__.py @@ -4,9 +4,9 @@ 'version': '10.0.1.0.0', 'category': 'Manufacturing', 'summary': 'BOM Support for configurable products', - 'author': 'Pledra', + 'author': 'Pledra,Quartile Limited', 'license': 'AGPL-3', - 'website': 'http://www.pledra.com/', + 'website': 'https://www.quartile.co', 'depends': [ 'mrp', 'product_configurator' diff --git a/product_configurator_mrp_ext/models/product_product.py b/product_configurator_mrp_ext/models/product_product.py index 3fd3684f..fb3bef91 100644 --- a/product_configurator_mrp_ext/models/product_product.py +++ b/product_configurator_mrp_ext/models/product_product.py @@ -21,8 +21,9 @@ def configurator_default_bom_variant(self): def get_product_from_value_set(self): self.ensure_one() res = [] - categs = dict(self.env['product.template']._fields['part_categ' - ].selection).keys() + categs = dict( + self.env['product.template']._fields['part_categ'].selection + ).keys() # return one mapped product per part category. # records with bigger number of attribute values should get the # priority. diff --git a/product_configurator_mrp_ext/models/product_template.py b/product_configurator_mrp_ext/models/product_template.py index a1e090d2..f77df74c 100644 --- a/product_configurator_mrp_ext/models/product_template.py +++ b/product_configurator_mrp_ext/models/product_template.py @@ -8,8 +8,6 @@ class ProductTemplate(models.Model): _inherit = "product.template" - - attribute_value_set_ids = fields.One2many( comodel_name='product.attribute.value.set', inverse_name='product_tmpl_id', diff --git a/product_configurator_mrp_ext/models/product_template_hook_create_get_variant.py b/product_configurator_mrp_ext/models/product_template_hook_create_get_variant.py index 4f540e7f..c4b37262 100644 --- a/product_configurator_mrp_ext/models/product_template_hook_create_get_variant.py +++ b/product_configurator_mrp_ext/models/product_template_hook_create_get_variant.py @@ -5,6 +5,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models, api +from odoo import _ from odoo.exceptions import ValidationError from odoo.addons.product_configurator_mrp.models.product import ProductTemplate diff --git a/product_configurator_wizard/__manifest__.py b/product_configurator_wizard/__manifest__.py index 0252ae89..808e4986 100644 --- a/product_configurator_wizard/__manifest__.py +++ b/product_configurator_wizard/__manifest__.py @@ -4,9 +4,9 @@ 'version': '10.0.1.0.0', 'category': 'Generic Modules/Base', 'summary': 'Back-end Product Configurator', - 'author': 'Pledra', + 'author': 'Pledra,Quartile Limited', 'license': 'AGPL-3', - 'website': 'http://www.pledra.com/', + 'website': 'https://www.quartile.co', 'depends': ['sale', 'product_configurator'], "data": [ 'wizard/product_configurator_view.xml', diff --git a/product_description_adj/__manifest__.py b/product_description_adj/__manifest__.py index 7c19fd5a..98f61924 100644 --- a/product_description_adj/__manifest__.py +++ b/product_description_adj/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Remove Internal Reference', 'version': '10.0.1.1.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Product', 'license': "LGPL-3", 'description': """ diff --git a/product_description_adj/models/product.py b/product_description_adj/models/product.py index 64534d51..39a5da2a 100644 --- a/product_description_adj/models/product.py +++ b/product_description_adj/models/product.py @@ -2,7 +2,7 @@ # Copyright 2017 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import api, fields, models +from odoo import api, models class ProductProduct(models.Model): diff --git a/product_description_adj/models/sale_order_line.py b/product_description_adj/models/sale_order_line.py index 2bc04df0..969788cf 100644 --- a/product_description_adj/models/sale_order_line.py +++ b/product_description_adj/models/sale_order_line.py @@ -2,7 +2,7 @@ # Copyright 2017 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import api, fields, models, _ +from odoo import api, models class SaleOrderLine(models.Model): diff --git a/product_pricelist_multiwebsite_support/__manifest__.py b/product_pricelist_multiwebsite_support/__manifest__.py index ffff67cb..234d866c 100644 --- a/product_pricelist_multiwebsite_support/__manifest__.py +++ b/product_pricelist_multiwebsite_support/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Adjust _website_price method to support multi-website', 'version': '10.0.1.0.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Website', 'license': "AGPL-3", 'description': """ diff --git a/product_pricelist_multiwebsite_support/models/product_hook_website_price.py b/product_pricelist_multiwebsite_support/models/product_hook_website_price.py index 2cef0a63..7e0612ce 100644 --- a/product_pricelist_multiwebsite_support/models/product_hook_website_price.py +++ b/product_pricelist_multiwebsite_support/models/product_hook_website_price.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo.http import request -from odoo import models, fields, api +from odoo import models from odoo.tools import float_is_zero from odoo.addons.website_sale.models.product import Product @@ -11,6 +11,8 @@ # Overwrite the original _website_price in wabsite_sale # i.e. https://github.com/odoo/odoo/blob/10.0/addons/website_sale/models # /product.py#L196-L213 + + def _website_price(self): qty = self._context.get('quantity', 1.0) partner = self.env.user.partner_id @@ -30,14 +32,31 @@ def _website_price(self): context = dict(self._context, pricelist=pricelist.id, partner=partner) self2 = self.with_context(context) if self._context != context else self - ret = self.env.user.has_group('sale.group_show_price_subtotal') and 'total_excluded' or 'total_included' + ret = ( + 'total_excluded' + if self.env.user.has_group('sale.group_show_price_subtotal') + else 'total_included' + ) for p, p2 in zip(self, self2): - taxes = partner.property_account_position_id.map_tax(p.taxes_id.sudo().filtered(lambda x: x.company_id == company_id)) - p.website_price = taxes.compute_all(p2.price, pricelist.currency_id, quantity=qty, product=p2, partner=partner)[ret] - price_without_pricelist = taxes.compute_all(p.list_price, pricelist.currency_id)[ret] - p.website_price_difference = False if float_is_zero(price_without_pricelist - p.website_price, precision_rounding=pricelist.currency_id.rounding) else True - p.website_public_price = taxes.compute_all(p2.lst_price, quantity=qty, product=p2, partner=partner)[ret] + taxes = partner.property_account_position_id.map_tax( + p.taxes_id.sudo().filtered(lambda x: x.company_id == company_id) + ) + p.website_price = taxes.compute_all( + p2.price, pricelist.currency_id, quantity=qty, product=p2, partner=partner + )[ret] + price_without_pricelist = taxes.compute_all( + p.list_price, pricelist.currency_id + )[ret] + p.website_price_difference = ( + False if float_is_zero( + price_without_pricelist - p.website_price, + precision_rounding=pricelist.currency_id.rounding + ) else True + ) + p.website_public_price = taxes.compute_all( + p2.lst_price, quantity=qty, product=p2, partner=partner + )[ret] class ProductHookWebsitePrice(models.AbstractModel): diff --git a/product_procurement_plan/models/stock_config_settings.py b/product_procurement_plan/models/stock_config_settings.py index b7c7a957..ede08a28 100644 --- a/product_procurement_plan/models/stock_config_settings.py +++ b/product_procurement_plan/models/stock_config_settings.py @@ -7,7 +7,7 @@ class StockConfigSettings(models.TransientModel): _inherit = "stock.config.settings" - + procurement_calc_months = fields.Integer( related='company_id.procurement_calc_months', string="No. of Months for Procurement Calc.", diff --git a/product_type_default/__manifest__.py b/product_type_default/__manifest__.py index 685cfa9f..36a2d77e 100644 --- a/product_type_default/__manifest__.py +++ b/product_type_default/__manifest__.py @@ -3,14 +3,14 @@ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { 'name': 'Product Type Default', - 'summary':"""""", + 'summary': """""", 'version': '10.0.1.0.0', 'category': 'Sales', 'description': """ * Propose product type from product category """, - 'author': 'Rooms For (Hong Kong) Limited T/A OSCG', - 'website': 'https://www.odoo-asia.com', + 'author': 'Rooms For (Hong Kong) Limited T/A OSCG,Quartile Limited', + 'website': 'https://www.quartile.co', 'license': 'LGPL-3', 'depends': [ 'product', diff --git a/product_type_default/models/product_category.py b/product_type_default/models/product_category.py index fd108271..24dcac3d 100644 --- a/product_type_default/models/product_category.py +++ b/product_type_default/models/product_category.py @@ -2,7 +2,7 @@ # Copyright 2017 Rooms For (Hong Kong) Limited T/A OSCG # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import models, fields, _ +from odoo import models, fields class ProductCategory(models.Model): diff --git a/product_type_default/models/product_template.py b/product_type_default/models/product_template.py index f40f4352..9830f3b9 100644 --- a/product_type_default/models/product_template.py +++ b/product_type_default/models/product_template.py @@ -8,7 +8,6 @@ class ProductTemplate(models.Model): _inherit = "product.template" - @api.onchange('categ_id') def onchange_categ_id(self): if self.categ_id: diff --git a/product_view_adj/__manifest__.py b/product_view_adj/__manifest__.py index 3b711043..222a552a 100755 --- a/product_view_adj/__manifest__.py +++ b/product_view_adj/__manifest__.py @@ -8,7 +8,7 @@ 'summary': '', 'author': 'Quartile Limited', 'license': 'AGPL-3', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'depends': [ 'product_configurator', ], diff --git a/purchase_order_price_unchange/__manifest__.py b/purchase_order_price_unchange/__manifest__.py index 9edf958e..e9358081 100644 --- a/purchase_order_price_unchange/__manifest__.py +++ b/purchase_order_price_unchange/__manifest__.py @@ -5,7 +5,7 @@ "name": "Purchase Order Price Unchange", "version": "10.0.1.0.0", "category": "Sales", - "website": "https://www.quartile.co/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "AGPL-3", "installable": True, diff --git a/purchase_received_qty_adj/__manifest__.py b/purchase_received_qty_adj/__manifest__.py index 130f5d0d..d0f13094 100644 --- a/purchase_received_qty_adj/__manifest__.py +++ b/purchase_received_qty_adj/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Showing actual received quantity of Purchase Order', 'version': '10.0.1.0.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Purchase', 'license': "LGPL-3", 'description': """ diff --git a/purchase_received_qty_adj/models/purchase_order_line.py b/purchase_received_qty_adj/models/purchase_order_line.py index 7c6a2e19..70f00779 100644 --- a/purchase_received_qty_adj/models/purchase_order_line.py +++ b/purchase_received_qty_adj/models/purchase_order_line.py @@ -23,4 +23,4 @@ class PurchaseOrderLine(models.Model): @api.depends('qty_received', 'qty_returned') def _compute_qty_received_adj(self): for line in self: - line.qty_received_net = line.qty_received - line.qty_returned + line.qty_received_net = line.qty_received - line.qty_returned diff --git a/requirements.txt b/requirements.txt index cc262abb..9cd16292 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1 @@ -# pci-oca/report_py3o -py3o.template -py3o.formats - -# pci-oca/report_xlsx -xlsxwriter +# generated from manifests external_dependencies diff --git a/sale_category_discount/__manifest__.py b/sale_category_discount/__manifest__.py index ce919013..20d568d2 100644 --- a/sale_category_discount/__manifest__.py +++ b/sale_category_discount/__manifest__.py @@ -5,8 +5,8 @@ 'name': 'Discount by Product Category', 'version': '10.0.3.0.0', 'license': 'LGPL-3', - 'category':'Sales', - 'description': """ + 'category': 'Sales', + 'description' : """ - Adds function to apply discount based on aggregated qty per category in a \ sales order. """, @@ -16,7 +16,7 @@ 'sale', 'website_sale', ], - 'data':[ + 'data': [ 'views/sale_order_views.xml', ], 'installable': True, diff --git a/sale_category_discount/models/sale_order_hook_cart_update.py b/sale_category_discount/models/sale_order_hook_cart_update.py index 4a71ce82..81d17a5b 100644 --- a/sale_category_discount/models/sale_order_hook_cart_update.py +++ b/sale_category_discount/models/sale_order_hook_cart_update.py @@ -3,7 +3,7 @@ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). import logging -from odoo import models, fields, api, _ +from odoo import models, api, _ from odoo.http import request from odoo.exceptions import UserError, ValidationError from odoo.addons.website_sale.models.sale_order import SaleOrder @@ -13,9 +13,19 @@ # Monkey Patching # Overwrite the original _cart_update in wabsite_sale -# i.e. https://github.com/odoo/odoo/blob/10.0/addons/website_sale/models/sale_order.py#L111-L182 +# i.e. https://github.com/odoo/odoo/blob/10.0/addons/website_sale/models/ +# sale_order.py#L111-L182 + + @api.multi -def _cart_update(self, product_id=None, line_id=None, add_qty=0, set_qty=0, attributes=None, **kwargs): +def _cart_update( + self, product_id=None, + line_id=None, + add_qty=0, + set_qty=0, + attributes=None, + **kwargs +): """ Add or set product quantity, add_qty can be negative """ self.ensure_one() SaleOrderLineSudo = self.env['sale.order.line'].sudo() @@ -34,7 +44,9 @@ def _cart_update(self, product_id=None, line_id=None, add_qty=0, set_qty=0, attr order_line = False if self.state != 'draft': request.session['sale_order_id'] = None - raise UserError(_('It is forbidden to modify a sale order which is not in draft status')) + raise UserError( + _('It is forbidden to modify a sale order which is not in draft status') + ) if line_id is not False: order_lines = self._cart_find_product_line(product_id, line_id, **kwargs) order_line = order_lines and order_lines[0] @@ -42,13 +54,18 @@ def _cart_update(self, product_id=None, line_id=None, add_qty=0, set_qty=0, attr # Create line if no line with product_id can be located if not order_line: values = self._website_product_id_change(self.id, product_id, qty=1) - values['name'] = self._get_line_description(self.id, product_id, attributes=attributes) + values['name'] = self._get_line_description( + self.id, + product_id, + attributes=attributes + ) order_line = SaleOrderLineSudo.create(values) try: order_line._compute_tax_id() except ValidationError as e: - # The validation may occur in backend (eg: taxcloud) but should fail silently in frontend + # The validation may occur in backend (eg: taxcloud) + # but should fail silently in frontend _logger.debug("ValidationError occurs during tax compute. %s" % (e)) if add_qty: add_qty -= 1 @@ -64,11 +81,12 @@ def _cart_update(self, product_id=None, line_id=None, add_qty=0, set_qty=0, attr order_line.unlink() else: # update line - """QTL MOD - let _recompute_price_unit() method of sale.order.line - recalculate the price instead of using below part - """ + # """QTL MOD - let _recompute_price_unit() method of sale.order.line + # recalculate the price instead of using below part + # """ # values = self._website_product_id_change(self.id, product_id, qty=quantity) - # if self.pricelist_id.discount_policy == 'with_discount' and not self.env.context.get('fixed_price'): + # if self.pricelist_id.discount_policy == 'with_discount' + # and not self.env.context.get('fixed_price'): # order = self.sudo().browse(self.id) # product_context = dict(self.env.context) # product_context.setdefault('lang', order.partner_id.lang) @@ -78,7 +96,8 @@ def _cart_update(self, product_id=None, line_id=None, add_qty=0, set_qty=0, attr # 'date': order.date_order, # 'pricelist': order.pricelist_id.id, # }) - # product = self.env['product.product'].with_context(product_context).browse(product_id) + # product = self.env['product.product']\ + # .with_context(product_context).browse(product_id) # values['price_unit'] = self.env['account.tax']._fix_tax_included_price( # order_line._get_display_price(product), # order_line.product_id.taxes_id, @@ -89,13 +108,14 @@ def _cart_update(self, product_id=None, line_id=None, add_qty=0, set_qty=0, attr 'product_id': product_id, 'product_uom_qty': quantity, 'order_id': self.id, - 'product_uom': self.env['product.product'].browse(product_id). \ - uom_id.id, + 'product_uom': self.env['product.product'].browse(product_id) + .uom_id.id, } # QTL ADD order_line.write(values) return {'line_id': order_line.id, 'quantity': quantity} + class SaleOrderHookCartUpdate(models.AbstractModel): _name = "sale.order.hook.cart.update" _description = "Provide hook point for _cart_update method" diff --git a/sale_category_discount/models/sale_order_line.py b/sale_category_discount/models/sale_order_line.py index 57c5098c..4a80cc34 100644 --- a/sale_category_discount/models/sale_order_line.py +++ b/sale_category_discount/models/sale_order_line.py @@ -42,7 +42,6 @@ class SaleOrderLine(models.Model): default=0.0, ) - @api.onchange('product_uom', 'product_uom_qty') def product_uom_change(self): if self.fixed_price: @@ -108,14 +107,17 @@ def _recompute_price_unit(self): def _compute_price_categ_qty(self): line_dict = {} for line in self: - if not line.id in line_dict: + if line.id not in line_dict: categ_lines = line.order_id.order_line.filtered( - lambda x: x.price_categ_id and - x.price_categ_id == line.price_categ_id) + lambda x: ( + x.price_categ_id and + x.price_categ_id == line.price_categ_id + ) + ) categ_qty = sum(r.product_uom_qty for r in categ_lines) if categ_lines: for l in categ_lines: - if not l.id in line_dict: + if l.id not in line_dict: line_dict[l.id] = categ_qty line.price_categ_qty = categ_qty else: @@ -140,4 +142,3 @@ def _get_price_categ_id(self): categ = False else: categ = categ.parent_id - diff --git a/sale_mrp_count/__manifest__.py b/sale_mrp_count/__manifest__.py index 30eca58f..2be08acc 100644 --- a/sale_mrp_count/__manifest__.py +++ b/sale_mrp_count/__manifest__.py @@ -6,7 +6,7 @@ "summary": "", "version": "10.0.1.0.0", "category": "Sales", - "website": "https://www.odoo-asia.com/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "AGPL-3", "depends": [ diff --git a/sale_order_cancel_adj/__manifest__.py b/sale_order_cancel_adj/__manifest__.py index 82ada701..7c79ebc6 100644 --- a/sale_order_cancel_adj/__manifest__.py +++ b/sale_order_cancel_adj/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Prohibit Cancellation of Delivered Sales Orders', 'version': '10.0.1.0.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Sales', 'license': "LGPL-3", 'description': """ diff --git a/sale_order_cancel_adj/models/sale_order.py b/sale_order_cancel_adj/models/sale_order.py index 2f8abd2c..140c9453 100644 --- a/sale_order_cancel_adj/models/sale_order.py +++ b/sale_order_cancel_adj/models/sale_order.py @@ -2,7 +2,7 @@ # Copyright 2017 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import models, fields, api +from odoo import models, api class SaleOrder(models.Model): diff --git a/sale_order_dates_ext/__manifest__.py b/sale_order_dates_ext/__manifest__.py index 33733542..e3cdb196 100644 --- a/sale_order_dates_ext/__manifest__.py +++ b/sale_order_dates_ext/__manifest__.py @@ -6,7 +6,7 @@ "summary": "", "version": "10.0.1.0.0", "category": "Sales", - "website": "https://www.odoo-asia.com/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "LGPL-3", "installable": True, diff --git a/sale_order_dates_ext/models/sale_order.py b/sale_order_dates_ext/models/sale_order.py index 5831d46e..17fa9a22 100644 --- a/sale_order_dates_ext/models/sale_order.py +++ b/sale_order_dates_ext/models/sale_order.py @@ -2,7 +2,8 @@ # Copyright 2017 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import api, fields, models, _ +from odoo import api, fields, models + class SaleOrder(models.Model): _inherit = "sale.order" diff --git a/sale_order_line_base_amt/__manifest__.py b/sale_order_line_base_amt/__manifest__.py index ac465fdb..9a9c6d0d 100644 --- a/sale_order_line_base_amt/__manifest__.py +++ b/sale_order_line_base_amt/__manifest__.py @@ -9,7 +9,7 @@ """, "version": "10.0.1.0.0", "category": "Sale", - "website": "https://www.odoo-asia.com/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "LGPL-3", "installable": True, diff --git a/sale_order_line_base_amt/models/sale_order_line.py b/sale_order_line_base_amt/models/sale_order_line.py index 70cb052d..a149f85b 100644 --- a/sale_order_line_base_amt/models/sale_order_line.py +++ b/sale_order_line_base_amt/models/sale_order_line.py @@ -22,7 +22,6 @@ class SaleOrderLine(models.Model): string='Base Amount', ) - @api.multi @api.depends('company_currency_id', 'order_id.date_order', 'price_subtotal') diff --git a/sale_order_line_serial_number/__manifest__.py b/sale_order_line_serial_number/__manifest__.py index 5a5bce28..d7c45d5f 100644 --- a/sale_order_line_serial_number/__manifest__.py +++ b/sale_order_line_serial_number/__manifest__.py @@ -9,7 +9,7 @@ 'category': 'Sales', 'license': "LGPL-3", 'description': """ -Add "Serial Number" field to sales order line, the field will be passed to +Add "Serial Number" field to sales order line, the field will be passed to invoice and manufacturing order. """, 'depends': [ diff --git a/sale_order_line_serial_number/models/mrp_production.py b/sale_order_line_serial_number/models/mrp_production.py index 0509eeef..e978a659 100644 --- a/sale_order_line_serial_number/models/mrp_production.py +++ b/sale_order_line_serial_number/models/mrp_production.py @@ -2,7 +2,7 @@ # Copyright 2019 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import models, fields, api +from odoo import models, fields class MrpProduction(models.Model): diff --git a/sale_order_line_serial_number/models/procurement_order.py b/sale_order_line_serial_number/models/procurement_order.py index 335b9f69..c4e632b0 100644 --- a/sale_order_line_serial_number/models/procurement_order.py +++ b/sale_order_line_serial_number/models/procurement_order.py @@ -2,7 +2,7 @@ # Copyright 2019 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import models, fields, api +from odoo import models class ProcurementOrder(models.Model): @@ -11,7 +11,7 @@ class ProcurementOrder(models.Model): def _prepare_mo_vals(self, bom): res = super(ProcurementOrder, self)._prepare_mo_vals(bom) proc = self - while proc != False: + while proc is not False: if proc.move_dest_id and \ proc.move_dest_id.raw_material_production_id: res['serial_number'] = \ diff --git a/sale_order_line_serial_number/models/sale_order_line.py b/sale_order_line_serial_number/models/sale_order_line.py index 41fa8491..2bdd86ad 100644 --- a/sale_order_line_serial_number/models/sale_order_line.py +++ b/sale_order_line_serial_number/models/sale_order_line.py @@ -2,7 +2,7 @@ # Copyright 2019 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import models, fields, api +from odoo import models, fields class SaleOrderLine(models.Model): diff --git a/sale_order_line_tree_view/__manifest__.py b/sale_order_line_tree_view/__manifest__.py index 7cf4d2cb..76f984b2 100644 --- a/sale_order_line_tree_view/__manifest__.py +++ b/sale_order_line_tree_view/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Sales Order Line Tree View', 'version': '10.0.1.0.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Sales', 'license': "LGPL-3", 'description': """ diff --git a/sale_pricelist_auto_update/__manifest__.py b/sale_pricelist_auto_update/__manifest__.py index 0aae28dd..29103a33 100644 --- a/sale_pricelist_auto_update/__manifest__.py +++ b/sale_pricelist_auto_update/__manifest__.py @@ -8,7 +8,7 @@ "category": "Sales", "author": "Quartile Limited", "website": "https://www.quartile.co", - "depends": ["delivery", "date_range", "sale_order_line_base_amt",], + "depends": ["delivery", "date_range", "sale_order_line_base_amt", ], "data": [ "security/ir.model.access.csv", "views/date_range_views.xml", diff --git a/sale_pricelist_auto_update/models/date_range.py b/sale_pricelist_auto_update/models/date_range.py index 5441614d..9ff630cd 100644 --- a/sale_pricelist_auto_update/models/date_range.py +++ b/sale_pricelist_auto_update/models/date_range.py @@ -2,7 +2,7 @@ # Copyright 2017 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import api, fields, models +from odoo import fields, models class DateRange(models.Model): diff --git a/sale_pricelist_auto_update/tests/test_sale_pricelist_auto_update.py b/sale_pricelist_auto_update/tests/test_sale_pricelist_auto_update.py index 1140ec67..6ccea547 100644 --- a/sale_pricelist_auto_update/tests/test_sale_pricelist_auto_update.py +++ b/sale_pricelist_auto_update/tests/test_sale_pricelist_auto_update.py @@ -14,7 +14,7 @@ def setUpClass(cls): super(TestSalePricelistAutoUpdate, cls).setUpClass() cls.yearly_sales = cls.env["partner.yearly_sales"] range_type = cls.env["date.range.type"].create( - {"name": "Fiscal Year", "is_fiscal_year": True,} + {"name": "Fiscal Year", "is_fiscal_year": True, } ) cls.date_range = cls.env["date.range"].create( { @@ -44,7 +44,7 @@ def setUpClass(cls): product1 = cls.env["product.product"].create( {"name": "test product", "type": "consu", "list_price": 10.0} ) - cls.order = cls.env["sale.order"].create({"partner_id": cls.partner.id,}) + cls.order = cls.env["sale.order"].create({"partner_id": cls.partner.id, }) cls.env["sale.order.line"].create( {"order_id": cls.order.id, "product_id": product1.id} ) diff --git a/sale_quotation_auto_confirm/__manifest__.py b/sale_quotation_auto_confirm/__manifest__.py index 43d6aa1f..841f20b7 100644 --- a/sale_quotation_auto_confirm/__manifest__.py +++ b/sale_quotation_auto_confirm/__manifest__.py @@ -6,7 +6,7 @@ "name": "Quotation Auto Confirmation", 'version': '10.0.1.0.0', 'license': 'LGPL-3', - 'category':'Sales', + 'category': 'Sales', 'description': """ - Add a cron job that will confirm "Direct Sales" quotation automatically. """, @@ -16,7 +16,7 @@ 'sale', 'sales_team', ], - 'data':[ + 'data': [ 'data/ir_cron.xml', 'views/crm_team_views.xml', ], diff --git a/sale_quotation_auto_confirm/models/sale_order.py b/sale_quotation_auto_confirm/models/sale_order.py index e74d533c..6fa376a8 100644 --- a/sale_quotation_auto_confirm/models/sale_order.py +++ b/sale_quotation_auto_confirm/models/sale_order.py @@ -4,7 +4,7 @@ from datetime import datetime, timedelta -from odoo import models, fields, api +from odoo import models, api class SaleOrder(models.Model): diff --git a/sale_salesperson_filter/__manifest__.py b/sale_salesperson_filter/__manifest__.py index 9c29a055..cb5270bc 100644 --- a/sale_salesperson_filter/__manifest__.py +++ b/sale_salesperson_filter/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Sale Order Salesperson Filter', 'version': '10.0.1.0.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Sales', 'license': "LGPL-3", 'description': """ diff --git a/sale_salesperson_filter/models/res_users.py b/sale_salesperson_filter/models/res_users.py index 3884c072..947a53fe 100644 --- a/sale_salesperson_filter/models/res_users.py +++ b/sale_salesperson_filter/models/res_users.py @@ -16,4 +16,4 @@ class Users(models.Model): @api.multi def toggle_salesperson(self): for record in self: - record.salesperson_select = not record.salesperson_select \ No newline at end of file + record.salesperson_select = not record.salesperson_select diff --git a/sale_view_adjust/__manifest__.py b/sale_view_adjust/__manifest__.py index 4aed0bd9..55c095eb 100644 --- a/sale_view_adjust/__manifest__.py +++ b/sale_view_adjust/__manifest__.py @@ -3,7 +3,7 @@ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { 'name': 'Adjustments on Sales Views', - 'summary':"""""", + 'summary': """""", 'version': '10.0.1.2.1', 'category': 'Sales', 'description': """ diff --git a/setup/abstract_report_xlsx/odoo/__init__.py b/setup/abstract_report_xlsx/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/abstract_report_xlsx/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/abstract_report_xlsx/odoo/addons/__init__.py b/setup/abstract_report_xlsx/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/abstract_report_xlsx/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/abstract_report_xlsx/odoo/addons/abstract_report_xlsx b/setup/abstract_report_xlsx/odoo/addons/abstract_report_xlsx new file mode 120000 index 00000000..435063f1 --- /dev/null +++ b/setup/abstract_report_xlsx/odoo/addons/abstract_report_xlsx @@ -0,0 +1 @@ +../../../../abstract_report_xlsx \ No newline at end of file diff --git a/setup/abstract_report_xlsx/setup.py b/setup/abstract_report_xlsx/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/abstract_report_xlsx/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/account_analytic_default_product_category/odoo/__init__.py b/setup/account_analytic_default_product_category/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_analytic_default_product_category/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_analytic_default_product_category/odoo/addons/__init__.py b/setup/account_analytic_default_product_category/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_analytic_default_product_category/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_analytic_default_product_category/odoo/addons/account_analytic_default_product_category b/setup/account_analytic_default_product_category/odoo/addons/account_analytic_default_product_category new file mode 120000 index 00000000..f0e43c5e --- /dev/null +++ b/setup/account_analytic_default_product_category/odoo/addons/account_analytic_default_product_category @@ -0,0 +1 @@ +../../../../account_analytic_default_product_category \ No newline at end of file diff --git a/setup/account_analytic_default_product_category/setup.py b/setup/account_analytic_default_product_category/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/account_analytic_default_product_category/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/account_bank_statement_adj/odoo/__init__.py b/setup/account_bank_statement_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_bank_statement_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_bank_statement_adj/odoo/addons/__init__.py b/setup/account_bank_statement_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_bank_statement_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_bank_statement_adj/odoo/addons/account_bank_statement_adj b/setup/account_bank_statement_adj/odoo/addons/account_bank_statement_adj new file mode 120000 index 00000000..7e2db041 --- /dev/null +++ b/setup/account_bank_statement_adj/odoo/addons/account_bank_statement_adj @@ -0,0 +1 @@ +../../../../account_bank_statement_adj \ No newline at end of file diff --git a/setup/account_bank_statement_adj/setup.py b/setup/account_bank_statement_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/account_bank_statement_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/account_invoice_line_view/odoo/__init__.py b/setup/account_invoice_line_view/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_invoice_line_view/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_invoice_line_view/odoo/addons/__init__.py b/setup/account_invoice_line_view/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_invoice_line_view/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_invoice_line_view/odoo/addons/account_invoice_line_view b/setup/account_invoice_line_view/odoo/addons/account_invoice_line_view new file mode 120000 index 00000000..36ff65f5 --- /dev/null +++ b/setup/account_invoice_line_view/odoo/addons/account_invoice_line_view @@ -0,0 +1 @@ +../../../../account_invoice_line_view \ No newline at end of file diff --git a/setup/account_invoice_line_view/setup.py b/setup/account_invoice_line_view/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/account_invoice_line_view/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/account_payment_cancel_adj/odoo/__init__.py b/setup/account_payment_cancel_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_payment_cancel_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_payment_cancel_adj/odoo/addons/__init__.py b/setup/account_payment_cancel_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_payment_cancel_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_payment_cancel_adj/odoo/addons/account_payment_cancel_adj b/setup/account_payment_cancel_adj/odoo/addons/account_payment_cancel_adj new file mode 120000 index 00000000..48b4aba8 --- /dev/null +++ b/setup/account_payment_cancel_adj/odoo/addons/account_payment_cancel_adj @@ -0,0 +1 @@ +../../../../account_payment_cancel_adj \ No newline at end of file diff --git a/setup/account_payment_cancel_adj/setup.py b/setup/account_payment_cancel_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/account_payment_cancel_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/account_view_adjust/odoo/__init__.py b/setup/account_view_adjust/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_view_adjust/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_view_adjust/odoo/addons/__init__.py b/setup/account_view_adjust/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/account_view_adjust/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/account_view_adjust/odoo/addons/account_view_adjust b/setup/account_view_adjust/odoo/addons/account_view_adjust new file mode 120000 index 00000000..4390db13 --- /dev/null +++ b/setup/account_view_adjust/odoo/addons/account_view_adjust @@ -0,0 +1 @@ +../../../../account_view_adjust \ No newline at end of file diff --git a/setup/account_view_adjust/setup.py b/setup/account_view_adjust/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/account_view_adjust/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/fix_product_attribute_line_name_search/odoo/__init__.py b/setup/fix_product_attribute_line_name_search/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/fix_product_attribute_line_name_search/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/fix_product_attribute_line_name_search/odoo/addons/__init__.py b/setup/fix_product_attribute_line_name_search/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/fix_product_attribute_line_name_search/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/fix_product_attribute_line_name_search/odoo/addons/fix_product_attribute_line_name_search b/setup/fix_product_attribute_line_name_search/odoo/addons/fix_product_attribute_line_name_search new file mode 120000 index 00000000..ed8dc623 --- /dev/null +++ b/setup/fix_product_attribute_line_name_search/odoo/addons/fix_product_attribute_line_name_search @@ -0,0 +1 @@ +../../../../fix_product_attribute_line_name_search \ No newline at end of file diff --git a/setup/fix_product_attribute_line_name_search/setup.py b/setup/fix_product_attribute_line_name_search/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/fix_product_attribute_line_name_search/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/mail_force_email/odoo/__init__.py b/setup/mail_force_email/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mail_force_email/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mail_force_email/odoo/addons/__init__.py b/setup/mail_force_email/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mail_force_email/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mail_force_email/odoo/addons/mail_force_email b/setup/mail_force_email/odoo/addons/mail_force_email new file mode 120000 index 00000000..c2935f6b --- /dev/null +++ b/setup/mail_force_email/odoo/addons/mail_force_email @@ -0,0 +1 @@ +../../../../mail_force_email \ No newline at end of file diff --git a/setup/mail_force_email/setup.py b/setup/mail_force_email/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/mail_force_email/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/mrp_block_inventory_post/odoo/__init__.py b/setup/mrp_block_inventory_post/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_block_inventory_post/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_block_inventory_post/odoo/addons/__init__.py b/setup/mrp_block_inventory_post/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_block_inventory_post/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_block_inventory_post/odoo/addons/mrp_block_inventory_post b/setup/mrp_block_inventory_post/odoo/addons/mrp_block_inventory_post new file mode 120000 index 00000000..1398d929 --- /dev/null +++ b/setup/mrp_block_inventory_post/odoo/addons/mrp_block_inventory_post @@ -0,0 +1 @@ +../../../../mrp_block_inventory_post \ No newline at end of file diff --git a/setup/mrp_block_inventory_post/setup.py b/setup/mrp_block_inventory_post/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/mrp_block_inventory_post/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/mrp_bom_component_menu/odoo/__init__.py b/setup/mrp_bom_component_menu/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_bom_component_menu/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_bom_component_menu/odoo/addons/__init__.py b/setup/mrp_bom_component_menu/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_bom_component_menu/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_bom_component_menu/odoo/addons/mrp_bom_component_menu b/setup/mrp_bom_component_menu/odoo/addons/mrp_bom_component_menu new file mode 120000 index 00000000..bbde6617 --- /dev/null +++ b/setup/mrp_bom_component_menu/odoo/addons/mrp_bom_component_menu @@ -0,0 +1 @@ +../../../../mrp_bom_component_menu \ No newline at end of file diff --git a/setup/mrp_bom_component_menu/setup.py b/setup/mrp_bom_component_menu/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/mrp_bom_component_menu/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/mrp_change_source_location/odoo/__init__.py b/setup/mrp_change_source_location/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_change_source_location/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_change_source_location/odoo/addons/__init__.py b/setup/mrp_change_source_location/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_change_source_location/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_change_source_location/odoo/addons/mrp_change_source_location b/setup/mrp_change_source_location/odoo/addons/mrp_change_source_location new file mode 120000 index 00000000..552d5bac --- /dev/null +++ b/setup/mrp_change_source_location/odoo/addons/mrp_change_source_location @@ -0,0 +1 @@ +../../../../mrp_change_source_location \ No newline at end of file diff --git a/setup/mrp_change_source_location/setup.py b/setup/mrp_change_source_location/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/mrp_change_source_location/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/mrp_default_location/odoo/__init__.py b/setup/mrp_default_location/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_default_location/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_default_location/odoo/addons/__init__.py b/setup/mrp_default_location/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_default_location/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_default_location/odoo/addons/mrp_default_location b/setup/mrp_default_location/odoo/addons/mrp_default_location new file mode 120000 index 00000000..a87cfbd7 --- /dev/null +++ b/setup/mrp_default_location/odoo/addons/mrp_default_location @@ -0,0 +1 @@ +../../../../mrp_default_location \ No newline at end of file diff --git a/setup/mrp_default_location/setup.py b/setup/mrp_default_location/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/mrp_default_location/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/mrp_specsheet_py3o/odoo/__init__.py b/setup/mrp_specsheet_py3o/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_specsheet_py3o/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_specsheet_py3o/odoo/addons/__init__.py b/setup/mrp_specsheet_py3o/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/mrp_specsheet_py3o/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/mrp_specsheet_py3o/odoo/addons/mrp_specsheet_py3o b/setup/mrp_specsheet_py3o/odoo/addons/mrp_specsheet_py3o new file mode 120000 index 00000000..b7d99d5c --- /dev/null +++ b/setup/mrp_specsheet_py3o/odoo/addons/mrp_specsheet_py3o @@ -0,0 +1 @@ +../../../../mrp_specsheet_py3o \ No newline at end of file diff --git a/setup/mrp_specsheet_py3o/setup.py b/setup/mrp_specsheet_py3o/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/mrp_specsheet_py3o/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/payment_paypal_multiwebsite_support/odoo/__init__.py b/setup/payment_paypal_multiwebsite_support/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/payment_paypal_multiwebsite_support/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/payment_paypal_multiwebsite_support/odoo/addons/__init__.py b/setup/payment_paypal_multiwebsite_support/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/payment_paypal_multiwebsite_support/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/payment_paypal_multiwebsite_support/odoo/addons/payment_paypal_multiwebsite_support b/setup/payment_paypal_multiwebsite_support/odoo/addons/payment_paypal_multiwebsite_support new file mode 120000 index 00000000..7a14310f --- /dev/null +++ b/setup/payment_paypal_multiwebsite_support/odoo/addons/payment_paypal_multiwebsite_support @@ -0,0 +1 @@ +../../../../payment_paypal_multiwebsite_support \ No newline at end of file diff --git a/setup/payment_paypal_multiwebsite_support/setup.py b/setup/payment_paypal_multiwebsite_support/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/payment_paypal_multiwebsite_support/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_attribute_value_adj/odoo/__init__.py b/setup/product_attribute_value_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_attribute_value_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_attribute_value_adj/odoo/addons/__init__.py b/setup/product_attribute_value_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_attribute_value_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_attribute_value_adj/odoo/addons/product_attribute_value_adj b/setup/product_attribute_value_adj/odoo/addons/product_attribute_value_adj new file mode 120000 index 00000000..e6a80476 --- /dev/null +++ b/setup/product_attribute_value_adj/odoo/addons/product_attribute_value_adj @@ -0,0 +1 @@ +../../../../product_attribute_value_adj \ No newline at end of file diff --git a/setup/product_attribute_value_adj/setup.py b/setup/product_attribute_value_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_attribute_value_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_configurator/odoo/__init__.py b/setup/product_configurator/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator/odoo/addons/__init__.py b/setup/product_configurator/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator/odoo/addons/product_configurator b/setup/product_configurator/odoo/addons/product_configurator new file mode 120000 index 00000000..b4a3cfff --- /dev/null +++ b/setup/product_configurator/odoo/addons/product_configurator @@ -0,0 +1 @@ +../../../../product_configurator \ No newline at end of file diff --git a/setup/product_configurator/setup.py b/setup/product_configurator/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_configurator/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_configurator_adj/odoo/__init__.py b/setup/product_configurator_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator_adj/odoo/addons/__init__.py b/setup/product_configurator_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator_adj/odoo/addons/product_configurator_adj b/setup/product_configurator_adj/odoo/addons/product_configurator_adj new file mode 120000 index 00000000..80484b6f --- /dev/null +++ b/setup/product_configurator_adj/odoo/addons/product_configurator_adj @@ -0,0 +1 @@ +../../../../product_configurator_adj \ No newline at end of file diff --git a/setup/product_configurator_adj/setup.py b/setup/product_configurator_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_configurator_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_configurator_mrp/odoo/__init__.py b/setup/product_configurator_mrp/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator_mrp/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator_mrp/odoo/addons/__init__.py b/setup/product_configurator_mrp/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator_mrp/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator_mrp/odoo/addons/product_configurator_mrp b/setup/product_configurator_mrp/odoo/addons/product_configurator_mrp new file mode 120000 index 00000000..960919e1 --- /dev/null +++ b/setup/product_configurator_mrp/odoo/addons/product_configurator_mrp @@ -0,0 +1 @@ +../../../../product_configurator_mrp \ No newline at end of file diff --git a/setup/product_configurator_mrp/setup.py b/setup/product_configurator_mrp/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_configurator_mrp/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_configurator_mrp_ext/odoo/__init__.py b/setup/product_configurator_mrp_ext/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator_mrp_ext/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator_mrp_ext/odoo/addons/__init__.py b/setup/product_configurator_mrp_ext/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator_mrp_ext/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator_mrp_ext/odoo/addons/product_configurator_mrp_ext b/setup/product_configurator_mrp_ext/odoo/addons/product_configurator_mrp_ext new file mode 120000 index 00000000..f859ca1a --- /dev/null +++ b/setup/product_configurator_mrp_ext/odoo/addons/product_configurator_mrp_ext @@ -0,0 +1 @@ +../../../../product_configurator_mrp_ext \ No newline at end of file diff --git a/setup/product_configurator_mrp_ext/setup.py b/setup/product_configurator_mrp_ext/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_configurator_mrp_ext/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_configurator_wizard/odoo/__init__.py b/setup/product_configurator_wizard/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator_wizard/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator_wizard/odoo/addons/__init__.py b/setup/product_configurator_wizard/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_configurator_wizard/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_configurator_wizard/odoo/addons/product_configurator_wizard b/setup/product_configurator_wizard/odoo/addons/product_configurator_wizard new file mode 120000 index 00000000..982e5cfb --- /dev/null +++ b/setup/product_configurator_wizard/odoo/addons/product_configurator_wizard @@ -0,0 +1 @@ +../../../../product_configurator_wizard \ No newline at end of file diff --git a/setup/product_configurator_wizard/setup.py b/setup/product_configurator_wizard/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_configurator_wizard/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_description_adj/odoo/__init__.py b/setup/product_description_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_description_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_description_adj/odoo/addons/__init__.py b/setup/product_description_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_description_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_description_adj/odoo/addons/product_description_adj b/setup/product_description_adj/odoo/addons/product_description_adj new file mode 120000 index 00000000..427dc0d5 --- /dev/null +++ b/setup/product_description_adj/odoo/addons/product_description_adj @@ -0,0 +1 @@ +../../../../product_description_adj \ No newline at end of file diff --git a/setup/product_description_adj/setup.py b/setup/product_description_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_description_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_pricelist_multiwebsite_support/odoo/__init__.py b/setup/product_pricelist_multiwebsite_support/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_pricelist_multiwebsite_support/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_pricelist_multiwebsite_support/odoo/addons/__init__.py b/setup/product_pricelist_multiwebsite_support/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_pricelist_multiwebsite_support/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_pricelist_multiwebsite_support/odoo/addons/product_pricelist_multiwebsite_support b/setup/product_pricelist_multiwebsite_support/odoo/addons/product_pricelist_multiwebsite_support new file mode 120000 index 00000000..c9560d5a --- /dev/null +++ b/setup/product_pricelist_multiwebsite_support/odoo/addons/product_pricelist_multiwebsite_support @@ -0,0 +1 @@ +../../../../product_pricelist_multiwebsite_support \ No newline at end of file diff --git a/setup/product_pricelist_multiwebsite_support/setup.py b/setup/product_pricelist_multiwebsite_support/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_pricelist_multiwebsite_support/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_type_default/odoo/__init__.py b/setup/product_type_default/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_type_default/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_type_default/odoo/addons/__init__.py b/setup/product_type_default/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_type_default/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_type_default/odoo/addons/product_type_default b/setup/product_type_default/odoo/addons/product_type_default new file mode 120000 index 00000000..8aa58cd2 --- /dev/null +++ b/setup/product_type_default/odoo/addons/product_type_default @@ -0,0 +1 @@ +../../../../product_type_default \ No newline at end of file diff --git a/setup/product_type_default/setup.py b/setup/product_type_default/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_type_default/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/product_view_adj/odoo/__init__.py b/setup/product_view_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_view_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_view_adj/odoo/addons/__init__.py b/setup/product_view_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/product_view_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_view_adj/odoo/addons/product_view_adj b/setup/product_view_adj/odoo/addons/product_view_adj new file mode 120000 index 00000000..15ba7d2e --- /dev/null +++ b/setup/product_view_adj/odoo/addons/product_view_adj @@ -0,0 +1 @@ +../../../../product_view_adj \ No newline at end of file diff --git a/setup/product_view_adj/setup.py b/setup/product_view_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/product_view_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/purchase_line_view/odoo/__init__.py b/setup/purchase_line_view/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/purchase_line_view/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/purchase_line_view/odoo/addons/__init__.py b/setup/purchase_line_view/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/purchase_line_view/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/purchase_line_view/odoo/addons/purchase_line_view b/setup/purchase_line_view/odoo/addons/purchase_line_view new file mode 120000 index 00000000..4ab8fb81 --- /dev/null +++ b/setup/purchase_line_view/odoo/addons/purchase_line_view @@ -0,0 +1 @@ +../../../../purchase_line_view \ No newline at end of file diff --git a/setup/purchase_line_view/setup.py b/setup/purchase_line_view/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/purchase_line_view/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/purchase_order_price_unchange/odoo/__init__.py b/setup/purchase_order_price_unchange/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/purchase_order_price_unchange/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/purchase_order_price_unchange/odoo/addons/__init__.py b/setup/purchase_order_price_unchange/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/purchase_order_price_unchange/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/purchase_order_price_unchange/odoo/addons/purchase_order_price_unchange b/setup/purchase_order_price_unchange/odoo/addons/purchase_order_price_unchange new file mode 120000 index 00000000..720f9525 --- /dev/null +++ b/setup/purchase_order_price_unchange/odoo/addons/purchase_order_price_unchange @@ -0,0 +1 @@ +../../../../purchase_order_price_unchange \ No newline at end of file diff --git a/setup/purchase_order_price_unchange/setup.py b/setup/purchase_order_price_unchange/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/purchase_order_price_unchange/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/purchase_received_qty_adj/odoo/__init__.py b/setup/purchase_received_qty_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/purchase_received_qty_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/purchase_received_qty_adj/odoo/addons/__init__.py b/setup/purchase_received_qty_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/purchase_received_qty_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/purchase_received_qty_adj/odoo/addons/purchase_received_qty_adj b/setup/purchase_received_qty_adj/odoo/addons/purchase_received_qty_adj new file mode 120000 index 00000000..273a3174 --- /dev/null +++ b/setup/purchase_received_qty_adj/odoo/addons/purchase_received_qty_adj @@ -0,0 +1 @@ +../../../../purchase_received_qty_adj \ No newline at end of file diff --git a/setup/purchase_received_qty_adj/setup.py b/setup/purchase_received_qty_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/purchase_received_qty_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_category_discount/odoo/__init__.py b/setup/sale_category_discount/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_category_discount/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_category_discount/odoo/addons/__init__.py b/setup/sale_category_discount/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_category_discount/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_category_discount/odoo/addons/sale_category_discount b/setup/sale_category_discount/odoo/addons/sale_category_discount new file mode 120000 index 00000000..35fdd11b --- /dev/null +++ b/setup/sale_category_discount/odoo/addons/sale_category_discount @@ -0,0 +1 @@ +../../../../sale_category_discount \ No newline at end of file diff --git a/setup/sale_category_discount/setup.py b/setup/sale_category_discount/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_category_discount/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_mrp_count/odoo/__init__.py b/setup/sale_mrp_count/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_mrp_count/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_mrp_count/odoo/addons/__init__.py b/setup/sale_mrp_count/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_mrp_count/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_mrp_count/odoo/addons/sale_mrp_count b/setup/sale_mrp_count/odoo/addons/sale_mrp_count new file mode 120000 index 00000000..719c722e --- /dev/null +++ b/setup/sale_mrp_count/odoo/addons/sale_mrp_count @@ -0,0 +1 @@ +../../../../sale_mrp_count \ No newline at end of file diff --git a/setup/sale_mrp_count/setup.py b/setup/sale_mrp_count/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_mrp_count/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_order_cancel_adj/odoo/__init__.py b/setup/sale_order_cancel_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_cancel_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_cancel_adj/odoo/addons/__init__.py b/setup/sale_order_cancel_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_cancel_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_cancel_adj/odoo/addons/sale_order_cancel_adj b/setup/sale_order_cancel_adj/odoo/addons/sale_order_cancel_adj new file mode 120000 index 00000000..ab36b7ca --- /dev/null +++ b/setup/sale_order_cancel_adj/odoo/addons/sale_order_cancel_adj @@ -0,0 +1 @@ +../../../../sale_order_cancel_adj \ No newline at end of file diff --git a/setup/sale_order_cancel_adj/setup.py b/setup/sale_order_cancel_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_order_cancel_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_order_dates_ext/odoo/__init__.py b/setup/sale_order_dates_ext/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_dates_ext/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_dates_ext/odoo/addons/__init__.py b/setup/sale_order_dates_ext/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_dates_ext/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_dates_ext/odoo/addons/sale_order_dates_ext b/setup/sale_order_dates_ext/odoo/addons/sale_order_dates_ext new file mode 120000 index 00000000..beb9c7f6 --- /dev/null +++ b/setup/sale_order_dates_ext/odoo/addons/sale_order_dates_ext @@ -0,0 +1 @@ +../../../../sale_order_dates_ext \ No newline at end of file diff --git a/setup/sale_order_dates_ext/setup.py b/setup/sale_order_dates_ext/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_order_dates_ext/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_order_line_base_amt/odoo/__init__.py b/setup/sale_order_line_base_amt/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_line_base_amt/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_line_base_amt/odoo/addons/__init__.py b/setup/sale_order_line_base_amt/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_line_base_amt/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_line_base_amt/odoo/addons/sale_order_line_base_amt b/setup/sale_order_line_base_amt/odoo/addons/sale_order_line_base_amt new file mode 120000 index 00000000..30b0725d --- /dev/null +++ b/setup/sale_order_line_base_amt/odoo/addons/sale_order_line_base_amt @@ -0,0 +1 @@ +../../../../sale_order_line_base_amt \ No newline at end of file diff --git a/setup/sale_order_line_base_amt/setup.py b/setup/sale_order_line_base_amt/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_order_line_base_amt/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_order_line_mrp_remarks/odoo/__init__.py b/setup/sale_order_line_mrp_remarks/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_line_mrp_remarks/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_line_mrp_remarks/odoo/addons/__init__.py b/setup/sale_order_line_mrp_remarks/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_line_mrp_remarks/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_line_mrp_remarks/odoo/addons/sale_order_line_mrp_remarks b/setup/sale_order_line_mrp_remarks/odoo/addons/sale_order_line_mrp_remarks new file mode 120000 index 00000000..103b72db --- /dev/null +++ b/setup/sale_order_line_mrp_remarks/odoo/addons/sale_order_line_mrp_remarks @@ -0,0 +1 @@ +../../../../sale_order_line_mrp_remarks \ No newline at end of file diff --git a/setup/sale_order_line_mrp_remarks/setup.py b/setup/sale_order_line_mrp_remarks/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_order_line_mrp_remarks/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_order_line_serial_number/odoo/__init__.py b/setup/sale_order_line_serial_number/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_line_serial_number/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_line_serial_number/odoo/addons/__init__.py b/setup/sale_order_line_serial_number/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_line_serial_number/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_line_serial_number/odoo/addons/sale_order_line_serial_number b/setup/sale_order_line_serial_number/odoo/addons/sale_order_line_serial_number new file mode 120000 index 00000000..7b002e3a --- /dev/null +++ b/setup/sale_order_line_serial_number/odoo/addons/sale_order_line_serial_number @@ -0,0 +1 @@ +../../../../sale_order_line_serial_number \ No newline at end of file diff --git a/setup/sale_order_line_serial_number/setup.py b/setup/sale_order_line_serial_number/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_order_line_serial_number/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_order_line_tree_view/odoo/__init__.py b/setup/sale_order_line_tree_view/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_line_tree_view/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_line_tree_view/odoo/addons/__init__.py b/setup/sale_order_line_tree_view/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_order_line_tree_view/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_order_line_tree_view/odoo/addons/sale_order_line_tree_view b/setup/sale_order_line_tree_view/odoo/addons/sale_order_line_tree_view new file mode 120000 index 00000000..55c62832 --- /dev/null +++ b/setup/sale_order_line_tree_view/odoo/addons/sale_order_line_tree_view @@ -0,0 +1 @@ +../../../../sale_order_line_tree_view \ No newline at end of file diff --git a/setup/sale_order_line_tree_view/setup.py b/setup/sale_order_line_tree_view/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_order_line_tree_view/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_pricelist_auto_update/odoo/__init__.py b/setup/sale_pricelist_auto_update/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_pricelist_auto_update/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_pricelist_auto_update/odoo/addons/__init__.py b/setup/sale_pricelist_auto_update/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_pricelist_auto_update/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_pricelist_auto_update/odoo/addons/sale_pricelist_auto_update b/setup/sale_pricelist_auto_update/odoo/addons/sale_pricelist_auto_update new file mode 120000 index 00000000..51321577 --- /dev/null +++ b/setup/sale_pricelist_auto_update/odoo/addons/sale_pricelist_auto_update @@ -0,0 +1 @@ +../../../../sale_pricelist_auto_update \ No newline at end of file diff --git a/setup/sale_pricelist_auto_update/setup.py b/setup/sale_pricelist_auto_update/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_pricelist_auto_update/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_quotation_auto_confirm/odoo/__init__.py b/setup/sale_quotation_auto_confirm/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_quotation_auto_confirm/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_quotation_auto_confirm/odoo/addons/__init__.py b/setup/sale_quotation_auto_confirm/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_quotation_auto_confirm/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_quotation_auto_confirm/odoo/addons/sale_quotation_auto_confirm b/setup/sale_quotation_auto_confirm/odoo/addons/sale_quotation_auto_confirm new file mode 120000 index 00000000..dd83fa40 --- /dev/null +++ b/setup/sale_quotation_auto_confirm/odoo/addons/sale_quotation_auto_confirm @@ -0,0 +1 @@ +../../../../sale_quotation_auto_confirm \ No newline at end of file diff --git a/setup/sale_quotation_auto_confirm/setup.py b/setup/sale_quotation_auto_confirm/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_quotation_auto_confirm/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_salesperson_filter/odoo/__init__.py b/setup/sale_salesperson_filter/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_salesperson_filter/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_salesperson_filter/odoo/addons/__init__.py b/setup/sale_salesperson_filter/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_salesperson_filter/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_salesperson_filter/odoo/addons/sale_salesperson_filter b/setup/sale_salesperson_filter/odoo/addons/sale_salesperson_filter new file mode 120000 index 00000000..960adf0e --- /dev/null +++ b/setup/sale_salesperson_filter/odoo/addons/sale_salesperson_filter @@ -0,0 +1 @@ +../../../../sale_salesperson_filter \ No newline at end of file diff --git a/setup/sale_salesperson_filter/setup.py b/setup/sale_salesperson_filter/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_salesperson_filter/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/sale_view_adjust/odoo/__init__.py b/setup/sale_view_adjust/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_view_adjust/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_view_adjust/odoo/addons/__init__.py b/setup/sale_view_adjust/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/sale_view_adjust/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/sale_view_adjust/odoo/addons/sale_view_adjust b/setup/sale_view_adjust/odoo/addons/sale_view_adjust new file mode 120000 index 00000000..360c119c --- /dev/null +++ b/setup/sale_view_adjust/odoo/addons/sale_view_adjust @@ -0,0 +1 @@ +../../../../sale_view_adjust \ No newline at end of file diff --git a/setup/sale_view_adjust/setup.py b/setup/sale_view_adjust/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/sale_view_adjust/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_history_adj/odoo/__init__.py b/setup/stock_history_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_history_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_history_adj/odoo/addons/__init__.py b/setup/stock_history_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_history_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_history_adj/odoo/addons/stock_history_adj b/setup/stock_history_adj/odoo/addons/stock_history_adj new file mode 120000 index 00000000..33d655f1 --- /dev/null +++ b/setup/stock_history_adj/odoo/addons/stock_history_adj @@ -0,0 +1 @@ +../../../../stock_history_adj \ No newline at end of file diff --git a/setup/stock_history_adj/setup.py b/setup/stock_history_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_history_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_inventory_adjustment/odoo/__init__.py b/setup/stock_inventory_adjustment/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_inventory_adjustment/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_inventory_adjustment/odoo/addons/__init__.py b/setup/stock_inventory_adjustment/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_inventory_adjustment/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_inventory_adjustment/odoo/addons/stock_inventory_adjustment b/setup/stock_inventory_adjustment/odoo/addons/stock_inventory_adjustment new file mode 120000 index 00000000..e42be379 --- /dev/null +++ b/setup/stock_inventory_adjustment/odoo/addons/stock_inventory_adjustment @@ -0,0 +1 @@ +../../../../stock_inventory_adjustment \ No newline at end of file diff --git a/setup/stock_inventory_adjustment/setup.py b/setup/stock_inventory_adjustment/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_inventory_adjustment/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_inventory_product_type/odoo/__init__.py b/setup/stock_inventory_product_type/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_inventory_product_type/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_inventory_product_type/odoo/addons/__init__.py b/setup/stock_inventory_product_type/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_inventory_product_type/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_inventory_product_type/odoo/addons/stock_inventory_product_type b/setup/stock_inventory_product_type/odoo/addons/stock_inventory_product_type new file mode 120000 index 00000000..74bfc333 --- /dev/null +++ b/setup/stock_inventory_product_type/odoo/addons/stock_inventory_product_type @@ -0,0 +1 @@ +../../../../stock_inventory_product_type \ No newline at end of file diff --git a/setup/stock_inventory_product_type/setup.py b/setup/stock_inventory_product_type/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_inventory_product_type/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_inventory_valuation_flat/odoo/__init__.py b/setup/stock_inventory_valuation_flat/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_inventory_valuation_flat/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_inventory_valuation_flat/odoo/addons/__init__.py b/setup/stock_inventory_valuation_flat/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_inventory_valuation_flat/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_inventory_valuation_flat/odoo/addons/stock_inventory_valuation_flat b/setup/stock_inventory_valuation_flat/odoo/addons/stock_inventory_valuation_flat new file mode 120000 index 00000000..e6c33a38 --- /dev/null +++ b/setup/stock_inventory_valuation_flat/odoo/addons/stock_inventory_valuation_flat @@ -0,0 +1 @@ +../../../../stock_inventory_valuation_flat \ No newline at end of file diff --git a/setup/stock_inventory_valuation_flat/setup.py b/setup/stock_inventory_valuation_flat/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_inventory_valuation_flat/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_level_forecast/odoo/__init__.py b/setup/stock_level_forecast/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_level_forecast/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_level_forecast/odoo/addons/__init__.py b/setup/stock_level_forecast/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_level_forecast/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_level_forecast/odoo/addons/stock_level_forecast b/setup/stock_level_forecast/odoo/addons/stock_level_forecast new file mode 120000 index 00000000..290c6ff2 --- /dev/null +++ b/setup/stock_level_forecast/odoo/addons/stock_level_forecast @@ -0,0 +1 @@ +../../../../stock_level_forecast \ No newline at end of file diff --git a/setup/stock_level_forecast/setup.py b/setup/stock_level_forecast/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_level_forecast/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_move_status_change/odoo/__init__.py b/setup/stock_move_status_change/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_move_status_change/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_move_status_change/odoo/addons/__init__.py b/setup/stock_move_status_change/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_move_status_change/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_move_status_change/odoo/addons/stock_move_status_change b/setup/stock_move_status_change/odoo/addons/stock_move_status_change new file mode 120000 index 00000000..6dd15a86 --- /dev/null +++ b/setup/stock_move_status_change/odoo/addons/stock_move_status_change @@ -0,0 +1 @@ +../../../../stock_move_status_change \ No newline at end of file diff --git a/setup/stock_move_status_change/setup.py b/setup/stock_move_status_change/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_move_status_change/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_picking_regenerate_sequence/odoo/__init__.py b/setup/stock_picking_regenerate_sequence/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_picking_regenerate_sequence/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_picking_regenerate_sequence/odoo/addons/__init__.py b/setup/stock_picking_regenerate_sequence/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_picking_regenerate_sequence/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_picking_regenerate_sequence/odoo/addons/stock_picking_regenerate_sequence b/setup/stock_picking_regenerate_sequence/odoo/addons/stock_picking_regenerate_sequence new file mode 120000 index 00000000..03895eba --- /dev/null +++ b/setup/stock_picking_regenerate_sequence/odoo/addons/stock_picking_regenerate_sequence @@ -0,0 +1 @@ +../../../../stock_picking_regenerate_sequence \ No newline at end of file diff --git a/setup/stock_picking_regenerate_sequence/setup.py b/setup/stock_picking_regenerate_sequence/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_picking_regenerate_sequence/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_picking_unreserve_before_cancel/odoo/__init__.py b/setup/stock_picking_unreserve_before_cancel/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_picking_unreserve_before_cancel/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_picking_unreserve_before_cancel/odoo/addons/__init__.py b/setup/stock_picking_unreserve_before_cancel/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_picking_unreserve_before_cancel/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_picking_unreserve_before_cancel/odoo/addons/stock_picking_unreserve_before_cancel b/setup/stock_picking_unreserve_before_cancel/odoo/addons/stock_picking_unreserve_before_cancel new file mode 120000 index 00000000..635fc9f9 --- /dev/null +++ b/setup/stock_picking_unreserve_before_cancel/odoo/addons/stock_picking_unreserve_before_cancel @@ -0,0 +1 @@ +../../../../stock_picking_unreserve_before_cancel \ No newline at end of file diff --git a/setup/stock_picking_unreserve_before_cancel/setup.py b/setup/stock_picking_unreserve_before_cancel/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_picking_unreserve_before_cancel/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_serial_number/odoo/__init__.py b/setup/stock_serial_number/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_serial_number/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_serial_number/odoo/addons/__init__.py b/setup/stock_serial_number/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_serial_number/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_serial_number/odoo/addons/stock_serial_number b/setup/stock_serial_number/odoo/addons/stock_serial_number new file mode 120000 index 00000000..45386e71 --- /dev/null +++ b/setup/stock_serial_number/odoo/addons/stock_serial_number @@ -0,0 +1 @@ +../../../../stock_serial_number \ No newline at end of file diff --git a/setup/stock_serial_number/setup.py b/setup/stock_serial_number/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_serial_number/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_shipment_schedule_report/odoo/__init__.py b/setup/stock_shipment_schedule_report/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_shipment_schedule_report/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_shipment_schedule_report/odoo/addons/__init__.py b/setup/stock_shipment_schedule_report/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_shipment_schedule_report/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_shipment_schedule_report/odoo/addons/stock_shipment_schedule_report b/setup/stock_shipment_schedule_report/odoo/addons/stock_shipment_schedule_report new file mode 120000 index 00000000..d4c57695 --- /dev/null +++ b/setup/stock_shipment_schedule_report/odoo/addons/stock_shipment_schedule_report @@ -0,0 +1 @@ +../../../../stock_shipment_schedule_report \ No newline at end of file diff --git a/setup/stock_shipment_schedule_report/setup.py b/setup/stock_shipment_schedule_report/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_shipment_schedule_report/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/stock_view_adj/odoo/__init__.py b/setup/stock_view_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_view_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_view_adj/odoo/addons/__init__.py b/setup/stock_view_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/stock_view_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/stock_view_adj/odoo/addons/stock_view_adj b/setup/stock_view_adj/odoo/addons/stock_view_adj new file mode 120000 index 00000000..d8622881 --- /dev/null +++ b/setup/stock_view_adj/odoo/addons/stock_view_adj @@ -0,0 +1 @@ +../../../../stock_view_adj \ No newline at end of file diff --git a/setup/stock_view_adj/setup.py b/setup/stock_view_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/stock_view_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/website_order_invoice_automation/odoo/__init__.py b/setup/website_order_invoice_automation/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_order_invoice_automation/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_order_invoice_automation/odoo/addons/__init__.py b/setup/website_order_invoice_automation/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_order_invoice_automation/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_order_invoice_automation/odoo/addons/website_order_invoice_automation b/setup/website_order_invoice_automation/odoo/addons/website_order_invoice_automation new file mode 120000 index 00000000..ea66f5b7 --- /dev/null +++ b/setup/website_order_invoice_automation/odoo/addons/website_order_invoice_automation @@ -0,0 +1 @@ +../../../../website_order_invoice_automation \ No newline at end of file diff --git a/setup/website_order_invoice_automation/setup.py b/setup/website_order_invoice_automation/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/website_order_invoice_automation/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/website_product_configurator/odoo/__init__.py b/setup/website_product_configurator/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_product_configurator/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_product_configurator/odoo/addons/__init__.py b/setup/website_product_configurator/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_product_configurator/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_product_configurator/odoo/addons/website_product_configurator b/setup/website_product_configurator/odoo/addons/website_product_configurator new file mode 120000 index 00000000..9f587cbc --- /dev/null +++ b/setup/website_product_configurator/odoo/addons/website_product_configurator @@ -0,0 +1 @@ +../../../../website_product_configurator \ No newline at end of file diff --git a/setup/website_product_configurator/setup.py b/setup/website_product_configurator/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/website_product_configurator/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/website_product_configurator_mrp/odoo/__init__.py b/setup/website_product_configurator_mrp/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_product_configurator_mrp/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_product_configurator_mrp/odoo/addons/__init__.py b/setup/website_product_configurator_mrp/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_product_configurator_mrp/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_product_configurator_mrp/odoo/addons/website_product_configurator_mrp b/setup/website_product_configurator_mrp/odoo/addons/website_product_configurator_mrp new file mode 120000 index 00000000..3fadbfe8 --- /dev/null +++ b/setup/website_product_configurator_mrp/odoo/addons/website_product_configurator_mrp @@ -0,0 +1 @@ +../../../../website_product_configurator_mrp \ No newline at end of file diff --git a/setup/website_product_configurator_mrp/setup.py b/setup/website_product_configurator_mrp/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/website_product_configurator_mrp/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/website_product_delivery_method/odoo/__init__.py b/setup/website_product_delivery_method/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_product_delivery_method/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_product_delivery_method/odoo/addons/__init__.py b/setup/website_product_delivery_method/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_product_delivery_method/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_product_delivery_method/odoo/addons/website_product_delivery_method b/setup/website_product_delivery_method/odoo/addons/website_product_delivery_method new file mode 120000 index 00000000..e2496f94 --- /dev/null +++ b/setup/website_product_delivery_method/odoo/addons/website_product_delivery_method @@ -0,0 +1 @@ +../../../../website_product_delivery_method \ No newline at end of file diff --git a/setup/website_product_delivery_method/setup.py b/setup/website_product_delivery_method/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/website_product_delivery_method/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/website_sale_address_adj/odoo/__init__.py b/setup/website_sale_address_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_sale_address_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_sale_address_adj/odoo/addons/__init__.py b/setup/website_sale_address_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_sale_address_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_sale_address_adj/odoo/addons/website_sale_address_adj b/setup/website_sale_address_adj/odoo/addons/website_sale_address_adj new file mode 120000 index 00000000..59036d1d --- /dev/null +++ b/setup/website_sale_address_adj/odoo/addons/website_sale_address_adj @@ -0,0 +1 @@ +../../../../website_sale_address_adj \ No newline at end of file diff --git a/setup/website_sale_address_adj/setup.py b/setup/website_sale_address_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/website_sale_address_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/website_sale_comment_category_wise/odoo/__init__.py b/setup/website_sale_comment_category_wise/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_sale_comment_category_wise/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_sale_comment_category_wise/odoo/addons/__init__.py b/setup/website_sale_comment_category_wise/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_sale_comment_category_wise/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_sale_comment_category_wise/odoo/addons/website_sale_comment_category_wise b/setup/website_sale_comment_category_wise/odoo/addons/website_sale_comment_category_wise new file mode 120000 index 00000000..b7816c1d --- /dev/null +++ b/setup/website_sale_comment_category_wise/odoo/addons/website_sale_comment_category_wise @@ -0,0 +1 @@ +../../../../website_sale_comment_category_wise \ No newline at end of file diff --git a/setup/website_sale_comment_category_wise/setup.py b/setup/website_sale_comment_category_wise/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/website_sale_comment_category_wise/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/website_sale_view_adj/odoo/__init__.py b/setup/website_sale_view_adj/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_sale_view_adj/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_sale_view_adj/odoo/addons/__init__.py b/setup/website_sale_view_adj/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/website_sale_view_adj/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/website_sale_view_adj/odoo/addons/website_sale_view_adj b/setup/website_sale_view_adj/odoo/addons/website_sale_view_adj new file mode 120000 index 00000000..1e023fe5 --- /dev/null +++ b/setup/website_sale_view_adj/odoo/addons/website_sale_view_adj @@ -0,0 +1 @@ +../../../../website_sale_view_adj \ No newline at end of file diff --git a/setup/website_sale_view_adj/setup.py b/setup/website_sale_view_adj/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/website_sale_view_adj/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_history_adj/__manifest__.py b/stock_history_adj/__manifest__.py index cdb23472..84ec69ce 100644 --- a/stock_history_adj/__manifest__.py +++ b/stock_history_adj/__manifest__.py @@ -7,8 +7,8 @@ 'description': """ * Add product_type in the output to filter and show stockable products only """, - 'author': "Rooms For (Hong Kong) Limited T/A OSCG", - 'website': "https://www.odoo-asia.com/", + 'author': "Rooms For (Hong Kong) Limited T/A OSCG,Quartile Limited", + 'website': "https://www.quartile.co", 'category': "Stock", 'license': "LGPL-3", 'depends': [ diff --git a/stock_history_adj/report/stock_history.py b/stock_history_adj/report/stock_history.py index cb108d47..2b1e0421 100644 --- a/stock_history_adj/report/stock_history.py +++ b/stock_history_adj/report/stock_history.py @@ -7,7 +7,6 @@ class StockHistory(models.Model): _inherit = 'stock.history' - product_type = fields.Selection([ ('consu', 'Consumable'), ('service', 'Service'), @@ -16,8 +15,8 @@ class StockHistory(models.Model): ) - @api.model_cr - def init(self): +@api.model_cr +def init(self): """ override the standard method to include product_type """ @@ -34,9 +33,11 @@ def init(self): product_type, SUM(quantity) as quantity, date, - COALESCE(SUM(price_unit_on_quant * quantity) / NULLIF(SUM(quantity), 0), 0) as price_unit_on_quant, + COALESCE(SUM(price_unit_on_quant * quantity) / NULLIF(SUM(quantity), 0), + 0) as price_unit_on_quant, source, - string_agg(DISTINCT serial_number, ', ' ORDER BY serial_number) AS serial_number + string_agg(DISTINCT serial_number, ', ' + ORDER BY serial_number) AS serial_number FROM ((SELECT stock_move.id AS id, @@ -61,16 +62,23 @@ def init(self): LEFT JOIN stock_production_lot ON stock_production_lot.id = quant.lot_id JOIN - stock_location dest_location ON stock_move.location_dest_id = dest_location.id + stock_location dest_location + ON stock_move.location_dest_id = dest_location.id JOIN - stock_location source_location ON stock_move.location_id = source_location.id + stock_location source_location + ON stock_move.location_id = source_location.id JOIN - product_product ON product_product.id = stock_move.product_id + product_product + ON product_product.id = stock_move.product_id JOIN - product_template ON product_template.id = product_product.product_tmpl_id - WHERE quant.qty>0 AND stock_move.state = 'done' AND dest_location.usage in ('internal', 'transit') + product_template + ON product_template.id = product_product.product_tmpl_id + WHERE quant.qty>0 + AND stock_move.state = 'done' + AND dest_location.usage in ('internal', 'transit') AND ( - not (source_location.company_id is null and dest_location.company_id is null) or + not (source_location.company_id is null + and dest_location.company_id is null) or source_location.company_id != dest_location.company_id or source_location.usage not in ('internal', 'transit')) ) UNION ALL @@ -97,19 +105,34 @@ def init(self): LEFT JOIN stock_production_lot ON stock_production_lot.id = quant.lot_id JOIN - stock_location source_location ON stock_move.location_id = source_location.id + stock_location source_location + ON stock_move.location_id = source_location.id JOIN - stock_location dest_location ON stock_move.location_dest_id = dest_location.id + stock_location dest_location + ON stock_move.location_dest_id = dest_location.id JOIN - product_product ON product_product.id = stock_move.product_id + product_product + ON product_product.id = stock_move.product_id JOIN - product_template ON product_template.id = product_product.product_tmpl_id - WHERE quant.qty>0 AND stock_move.state = 'done' AND source_location.usage in ('internal', 'transit') + product_template + ON product_template.id = product_product.product_tmpl_id + WHERE quant.qty>0 + AND stock_move.state = 'done' + AND source_location.usage in ('internal', 'transit') AND ( - not (dest_location.company_id is null and source_location.company_id is null) or + not (dest_location.company_id is null + and source_location.company_id is null) or dest_location.company_id != source_location.company_id or dest_location.usage not in ('internal', 'transit')) )) AS foo - GROUP BY move_id, location_id, company_id, product_id, product_categ_id, date, source, product_template_id, product_type - )""") + GROUP BY move_id, + location_id, + company_id, + product_id, + product_categ_id, + date, + source, + product_template_id, + product_type + )""") diff --git a/stock_history_adj/wizard/wizard_valuation_history.py b/stock_history_adj/wizard/wizard_valuation_history.py index 853357c4..0850744a 100644 --- a/stock_history_adj/wizard/wizard_valuation_history.py +++ b/stock_history_adj/wizard/wizard_valuation_history.py @@ -2,7 +2,7 @@ # Copyright 2017 Rooms For (Hong Kong) Limited T/A OSCG # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import api, models, fields +from odoo import api, models class WizardValuationHistory(models.TransientModel): diff --git a/stock_inventory_product_type/__manifest__.py b/stock_inventory_product_type/__manifest__.py index c05a5f26..df7673af 100644 --- a/stock_inventory_product_type/__manifest__.py +++ b/stock_inventory_product_type/__manifest__.py @@ -4,8 +4,8 @@ { 'name': "Stock Inventory Product Type", 'version': "10.0.1.0.1", - 'author': "Rooms For (Hong Kong) Limited T/A OSCG", - 'website': "https://www.odoo-asia.com/", + 'author': "Rooms For (Hong Kong) Limited T/A OSCG,Quartile Limited", + 'website': "https://www.quartile.co", 'category': "Stock", 'license': "LGPL-3", 'depends': [ diff --git a/stock_inventory_product_type/models/stock_quant.py b/stock_inventory_product_type/models/stock_quant.py index 2441dc26..277c7854 100644 --- a/stock_inventory_product_type/models/stock_quant.py +++ b/stock_inventory_product_type/models/stock_quant.py @@ -2,12 +2,11 @@ # Copyright 2017 Rooms For (Hong Kong) Limited T/A OSCG # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from openerp import api, fields, models +from openerp import fields, models class StockQuant(models.Model): _inherit = 'stock.quant' - product_type = fields.Selection( related='product_id.product_tmpl_id.type', store=True, diff --git a/stock_inventory_valuation_flat/__manifest__.py b/stock_inventory_valuation_flat/__manifest__.py index 57170c06..ecb11f7a 100644 --- a/stock_inventory_valuation_flat/__manifest__.py +++ b/stock_inventory_valuation_flat/__manifest__.py @@ -7,7 +7,7 @@ 'license': 'LGPL-3', 'summary': '', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'version': '10.0.1.0.0', 'description': """ Adds a menu item for non-grouped version of Inventory Valuation report. diff --git a/stock_level_forecast/__manifest__.py b/stock_level_forecast/__manifest__.py index cee54e8c..6a59f72a 100644 --- a/stock_level_forecast/__manifest__.py +++ b/stock_level_forecast/__manifest__.py @@ -7,7 +7,7 @@ 'license': 'LGPL-3', 'summary': 'Enhanced Stock Level Forecast Report', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'version': '10.0.1.0.0', 'description': """ Adds Can Be Sold and Product Category filters to Stock Level Forecast Report. diff --git a/stock_level_forecast/report/report_stock_forecast.py b/stock_level_forecast/report/report_stock_forecast.py index ce801809..cdb2904d 100644 --- a/stock_level_forecast/report/report_stock_forecast.py +++ b/stock_level_forecast/report/report_stock_forecast.py @@ -28,7 +28,8 @@ def init(self): product_id as product_id, date as date, sum(product_qty) AS quantity, - sum(sum(product_qty)) OVER (PARTITION BY product_id ORDER BY date) AS cumulative_quantity, + sum(sum(product_qty)) OVER (PARTITION BY product_id ORDER BY date) + AS cumulative_quantity, categ_id as categ_id, sale_ok as sale_ok FROM ( @@ -36,72 +37,103 @@ def init(self): MIN(id) as id, MAIN.product_id as product_id, SUB.date as date, - CASE WHEN MAIN.date = SUB.date THEN sum(MAIN.product_qty) ELSE 0 END as product_qty, + CASE WHEN MAIN.date = SUB.date THEN sum(MAIN.product_qty) + ELSE 0 END as product_qty, MAIN.categ_id as categ_id, MAIN.sale_ok as sale_ok FROM ( SELECT MIN(sq.id) as id, sq.product_id, - date_trunc('week', to_date(to_char(CURRENT_DATE, 'YYYY/MM/DD'), 'YYYY/MM/DD')) as date, + date_trunc('week', to_date(to_char(CURRENT_DATE, + 'YYYY/MM/DD'), 'YYYY/MM/DD')) as date, SUM(sq.qty) AS product_qty, product_template.categ_id as categ_id, product_template.sale_ok as sale_ok FROM stock_quant as sq - LEFT JOIN product_product ON product_product.id = sq.product_id - LEFT JOIN product_template ON product_template.id = product_product.product_tmpl_id - LEFT JOIN stock_location location_id ON sq.location_id = location_id.id + LEFT JOIN product_product + ON product_product.id = sq.product_id + LEFT JOIN product_template + ON product_template.id = product_product.product_tmpl_id + LEFT JOIN stock_location location_id + ON sq.location_id = location_id.id WHERE location_id.usage = 'internal' GROUP BY - date, sq.product_id, product_template.categ_id, product_template.sale_ok + date, + sq.product_id, + product_template.categ_id, + product_template.sale_ok UNION ALL SELECT MIN(-sm.id) as id, sm.product_id, CASE WHEN sm.date_expected > CURRENT_DATE - THEN date_trunc('week', to_date(to_char(sm.date_expected, 'YYYY/MM/DD'), 'YYYY/MM/DD')) - ELSE date_trunc('week', to_date(to_char(CURRENT_DATE, 'YYYY/MM/DD'), 'YYYY/MM/DD')) END + THEN date_trunc('week', + to_date(to_char(sm.date_expected, + 'YYYY/MM/DD'), + 'YYYY/MM/DD')) + ELSE date_trunc('week', + to_date(to_char(CURRENT_DATE, + 'YYYY/MM/DD'), + 'YYYY/MM/DD')) END AS date, SUM(sm.product_qty) AS product_qty, product_template.categ_id as categ_id, product_template.sale_ok as sale_ok FROM stock_move as sm - LEFT JOIN product_product ON product_product.id = sm.product_id - LEFT JOIN product_template ON product_template.id = product_product.product_tmpl_id - LEFT JOIN stock_location dest_location ON sm.location_dest_id = dest_location.id - LEFT JOIN stock_location source_location ON sm.location_id = source_location.id + LEFT JOIN product_product + ON product_product.id = sm.product_id + LEFT JOIN product_template + ON product_template.id = product_product.product_tmpl_id + LEFT JOIN stock_location dest_location + ON sm.location_dest_id = dest_location.id + LEFT JOIN stock_location source_location + ON sm.location_id = source_location.id WHERE sm.state IN ('confirmed','assigned','waiting') AND source_location.usage != 'internal' AND dest_location.usage = 'internal' GROUP BY - sm.date_expected, sm.product_id, product_template.categ_id, product_template.sale_ok + sm.date_expected, + sm.product_id, + product_template.categ_id, + product_template.sale_ok UNION ALL SELECT MIN(-sm.id) AS id, sm.product_id, CASE WHEN sm.date_expected > CURRENT_DATE - THEN date_trunc('week', to_date(to_char(sm.date_expected, 'YYYY/MM/DD'), 'YYYY/MM/DD')) - ELSE date_trunc('week', to_date(to_char(CURRENT_DATE, 'YYYY/MM/DD'), 'YYYY/MM/DD')) END + THEN date_trunc('week', + to_date(to_char(sm.date_expected, + 'YYYY/MM/DD'), 'YYYY/MM/DD')) + ELSE date_trunc('week', + to_date(to_char(CURRENT_DATE, + 'YYYY/MM/DD'), 'YYYY/MM/DD')) END AS date, SUM(-(sm.product_qty)) AS product_qty, product_template.categ_id as categ_id, product_template.sale_ok as sale_ok FROM stock_move AS sm - LEFT JOIN product_product ON product_product.id = sm.product_id - LEFT JOIN product_template ON product_template.id = product_product.product_tmpl_id - LEFT JOIN stock_location source_location ON sm.location_id = source_location.id - LEFT JOIN stock_location dest_location ON sm.location_dest_id = dest_location.id + LEFT JOIN product_product + ON product_product.id = sm.product_id + LEFT JOIN product_template + ON product_template.id = product_product.product_tmpl_id + LEFT JOIN stock_location source_location + ON sm.location_id = source_location.id + LEFT JOIN stock_location dest_location + ON sm.location_dest_id = dest_location.id WHERE sm.state IN ('confirmed','assigned','waiting') AND source_location.usage = 'internal' AND dest_location.usage != 'internal' GROUP BY - sm.date_expected, sm.product_id, product_template.categ_id, product_template.sale_ok + sm.date_expected, + sm.product_id, product_template.categ_id, + product_template.sale_ok ) as MAIN LEFT JOIN ( SELECT DISTINCT date @@ -110,16 +142,22 @@ def init(self): date_trunc('week', CURRENT_DATE) AS DATE UNION ALL SELECT - date_trunc('week', to_date(to_char(sm.date_expected, 'YYYY/MM/DD'), 'YYYY/MM/DD')) AS date + date_trunc('week', + to_date(to_char(sm.date_expected, 'YYYY/MM/DD'), + 'YYYY/MM/DD')) AS date FROM stock_move sm - LEFT JOIN stock_location source_location ON sm.location_id = source_location.id - LEFT JOIN stock_location dest_location ON sm.location_dest_id = dest_location.id + LEFT JOIN stock_location source_location + ON sm.location_id = source_location.id + LEFT JOIN stock_location dest_location + ON sm.location_dest_id = dest_location.id WHERE sm.state IN ('confirmed','assigned','waiting') AND sm.date_expected > CURRENT_DATE - AND ((dest_location.usage = 'internal' AND source_location.usage != 'internal') - OR (source_location.usage = 'internal' AND dest_location.usage != 'internal')) + AND ((dest_location.usage = 'internal' + AND source_location.usage != 'internal') + OR (source_location.usage = 'internal' + AND dest_location.usage != 'internal')) ) AS DATE_SEARCH) SUB ON (SUB.date IS NOT NULL) GROUP BY MAIN.product_id, SUB.date, MAIN.date, MAIN.categ_id, MAIN.sale_ok ) AS FINAL diff --git a/stock_move_status_change/__manifest__.py b/stock_move_status_change/__manifest__.py index dcc9c7fb..4afd7fad 100644 --- a/stock_move_status_change/__manifest__.py +++ b/stock_move_status_change/__manifest__.py @@ -5,7 +5,7 @@ "name": "Stock Move Status Change", "summary": "", "description": """ -Adds functions to change the status of stock move records to give users +Adds functions to change the status of stock move records to give users some options to adjust manufacturing order contents as necessary. """, "version": "10.0.1.1.0", diff --git a/stock_serial_number/__manifest__.py b/stock_serial_number/__manifest__.py index cc554c1c..ce906523 100644 --- a/stock_serial_number/__manifest__.py +++ b/stock_serial_number/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Stock Serial Number', 'version': '10.0.1.1.0', 'author': 'Quartile Limited', - 'website': 'https://www.odoo-asia.com', + 'website': 'https://www.quartile.co', 'category': 'Stock', 'license': "LGPL-3", 'description': "", diff --git a/stock_serial_number/models/sale_order.py b/stock_serial_number/models/sale_order.py index 07bf8b9b..81729de5 100644 --- a/stock_serial_number/models/sale_order.py +++ b/stock_serial_number/models/sale_order.py @@ -2,22 +2,21 @@ # Copyright 2017 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import models, fields, api, _ +from odoo import models, api, _ from odoo.exceptions import UserError class SaleOrder(models.Model): _inherit = "sale.order" - @api.multi def action_confirm(self): for order in self: if order.order_line: lot_ids = [] for l in order.order_line.filtered( - lambda l: l.lot_id != False and - l.product_id.tracking == 'serial'): + lambda l: l.lot_id != 'if cond is not False:' and + l.product_id.tracking == 'serial'): if l.product_uom_qty > 1.0: raise UserError(_('Quantity of SO line should be 1 ' 'for product %s.') diff --git a/stock_serial_number/models/sale_order_line.py b/stock_serial_number/models/sale_order_line.py index 30dba199..12b271dc 100644 --- a/stock_serial_number/models/sale_order_line.py +++ b/stock_serial_number/models/sale_order_line.py @@ -2,7 +2,7 @@ # Copyright 2017 Quartile Limited # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -from odoo import models, fields, api +from odoo import models, api class SaleOrderLine(models.Model): diff --git a/stock_serial_number/models/stock_move.py b/stock_serial_number/models/stock_move.py index bb24c8c7..f50437d3 100644 --- a/stock_serial_number/models/stock_move.py +++ b/stock_serial_number/models/stock_move.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -from openerp.osv import osv, fields -import openerp.addons.decimal_precision as dp +from openerp.osv import osv from openerp.tools.translate import _ @@ -13,11 +12,25 @@ def action_done(self, cr, uid, ids, context=None): if context is None: context = {} for move in self.browse(cr, uid, ids, context): - if move.product_id.product_tmpl_id.categ_id.enforce_qty_1 and move.product_qty > 1.0 and move.prodlot_id: - raise osv.except_osv(_('Error!'), _('Quantity of stock move should be 1 for product %s (enforce quantity 1).') - % move.product_id.name) - if move.sale_line_id and not move.sale_line_id.serial_id and move.prodlot_id: - self.pool.get('sale.order.line').write(cr, uid, [move.sale_line_id.id], {'serial_id': move.prodlot_id.id}, context) + if (move.product_id.product_tmpl_id.categ_id.enforce_qty_1 and + move.product_qty > 1.0 and + move.prodlot_id): + raise osv.except_osv( + _('Error!'), + _('Quantity of stock move should be 1 for product %s ' + '(enforce quantity 1).') + % move.product_id.name + ) + if (move.sale_line_id and + not move.sale_line_id.serial_id and + move.prodlot_id): + self.pool.get('sale.order.line').write( + cr, uid, [move.sale_line_id.id], + {'serial_id': move.prodlot_id.id}, context + ) invoice_line_ids = [line.id for line in move.sale_line_id.invoice_lines] - self.pool.get('account.invoice.line').write(cr, uid, invoice_line_ids, {'serial_id':move.prodlot_id.id}, context) + self.pool.get('account.invoice.line').write( + cr, uid, invoice_line_ids, {'serial_id': move.prodlot_id.id}, + context + ) return res diff --git a/stock_serial_number/models/stock_picking.py b/stock_serial_number/models/stock_picking.py index 3dc646e8..dbc2797e 100644 --- a/stock_serial_number/models/stock_picking.py +++ b/stock_serial_number/models/stock_picking.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -from openerp.osv import osv, fields -import openerp.addons.decimal_precision as dp +from openerp.osv import osv from openerp.tools.translate import _ @@ -19,9 +18,13 @@ def action_done(self, cr, uid, ids, context=None): serial_dict[move.prodlot_id.id] += 1 for serial in serial_dict: if serial_dict[serial] > 1: - serial_data = self.pool.get('stock.production.lot').browse(cr, uid, [serial], context)[0] - if serial_data.product_id.product_tmpl_id.categ_id.enforce_qty_1: + serial_data = self.pool.get('stock.production.lot').browse( + cr, uid, [serial], context + )[0] + if (serial_data.product_id.product_tmpl_id.categ_id + .enforce_qty_1): raise osv.except_osv(_('Error!'), - _('Sorry, You can not have serial number same for multiple move lines - [%s]') - % serial_data.name) + _('Sorry, You can not have serial number' + 'same for multiple' + 'move lines - [%s]') % serial_data.name) return super(stock_picking, self).action_done(cr, uid, ids, context=context) diff --git a/stock_serial_number/models/stock_production_lot.py b/stock_serial_number/models/stock_production_lot.py index 17f82b0e..5a9aa5bf 100644 --- a/stock_serial_number/models/stock_production_lot.py +++ b/stock_serial_number/models/stock_production_lot.py @@ -10,7 +10,6 @@ class StockProductionLot(models.Model): _inherit = "stock.production.lot" _order = 'sequence' - def _default_lb_unit(self): md = self.env['ir.model.data'] try: @@ -28,8 +27,6 @@ def _default_kg_unit(self): except ValueError: res = False return res - - name = fields.Char(copy=False) product_name = fields.Char( related='product_id.name', @@ -108,7 +105,6 @@ def _default_kg_unit(self): readonly=True, ) - @api.one @api.depends('product_id', 'ref', 'quant_ids.qty', 'quant_ids.location_id') def _compute_balance(self): diff --git a/stock_shipment_schedule_report/__manifest__.py b/stock_shipment_schedule_report/__manifest__.py index 327b22c5..0bdda9a0 100644 --- a/stock_shipment_schedule_report/__manifest__.py +++ b/stock_shipment_schedule_report/__manifest__.py @@ -6,7 +6,7 @@ "summary": "", "version": "10.0.1.1.0", "category": "Reporting", - "website": "https://www.odoo-asia.com/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "LGPL-3", "installable": True, diff --git a/stock_shipment_schedule_report/reports/shipment_schedule_report_compute.py b/stock_shipment_schedule_report/reports/shipment_schedule_report_compute.py index 55414210..50eaba8d 100644 --- a/stock_shipment_schedule_report/reports/shipment_schedule_report_compute.py +++ b/stock_shipment_schedule_report/reports/shipment_schedule_report_compute.py @@ -47,7 +47,7 @@ def _get_periods(self, dates): current_date = dates['current_date_utc'] threshold_date = dates['threshold_date_utc'] i = 0 - for _ in xrange(7): + for idx in xrange(7): if i == 0: # for "Shipment on Hold" for the 1st period (period 2) start = current_date - relativedelta(years=100) end = current_date @@ -86,7 +86,7 @@ def _get_header_periods(self, periods): end = datetime.strftime( periods[p]['end'].astimezone(tz) - relativedelta( days=1), '%Y-%m-%d') - title_vals['p' + `p`] = start + ' ~ ' + end + title_vals['p' + repr(p)] = start + ' ~ ' + end return title_vals def _get_product_ids(self, category_id): @@ -103,7 +103,7 @@ def _get_product_ids(self, category_id): if categ.child_id: for child_categ in categ.child_id: categs.append(child_categ) if child_categ not in \ - categs else categs + categs else categs categ_ids = [categ.id for categ in categs] domain.append(('categ_id', 'in', categ_ids)) if self.website_published: @@ -190,7 +190,7 @@ def _get_qty_data(self, products, periods, line_vals): loc_ids = tuple([l.id for l in self._get_locs()]) loc_ids_str = ', '.join(map(repr, loc_ids)) i = 0 - for _ in xrange(7): + for __ in xrange(7): date_from = fields.Datetime.to_string(periods[i]['start']) date_to = fields.Datetime.to_string(periods[i]['end']) in_params = ['NOT IN', loc_ids_str, 'IN', loc_ids_str, @@ -207,14 +207,16 @@ def _get_qty_data(self, products, periods, line_vals): qty_data = dict( Counter(move_qty_data) + Counter(quote_qty_data)) for k, v in qty_data.iteritems(): - line_vals[k][type + `i`] = v + line_vals[k][type + repr(i)] = v i += 1 for prod in line_vals: i = 2 # start from period "2" (period until threshold date) - for _ in xrange(5): - line_vals[prod]['bal' + `i`] \ - = line_vals[prod]['bal' + `i - 1`] + line_vals[prod][ - 'in' + `i`] - line_vals[prod]['out' + `i`] + for __ in xrange(5): + line_vals[prod]['bal' + repr(i)] = ( + line_vals[prod]['bal' + repr(i - 1)] + + line_vals[prod]['in' + repr(i)] - + line_vals[prod]['out' + repr(i)] + ) i += 1 res.append(line_vals) return res @@ -243,11 +245,11 @@ def _get_lines(self, periods, category_id): 'bal1': qoh, 'in0': 0.0, 'out0': 0.0, 'in1': 0.0, 'out1': 0.0, - 'in2': 0.0, 'out2': 0.0, 'bal2': 0.0, # first period in output - 'in3': 0.0, 'out3': 0.0, 'bal3': 0.0, # second period in output - 'in4': 0.0, 'out4': 0.0, 'bal4': 0.0, # third period in output - 'in5': 0.0, 'out5': 0.0, 'bal5': 0.0, # fourth period in output - 'in6': 0.0, 'out6': 0.0, 'bal6': 0.0, # fifth period in output + 'in2': 0.0, 'out2': 0.0, 'bal2': 0.0, # first period in output + 'in3': 0.0, 'out3': 0.0, 'bal3': 0.0, # second period in output + 'in4': 0.0, 'out4': 0.0, 'bal4': 0.0, # third period in output + 'in5': 0.0, 'out5': 0.0, 'bal5': 0.0, # fourth period in output + 'in6': 0.0, 'out6': 0.0, 'bal6': 0.0, # fifth period in output } lines = self._get_qty_data(products, periods, line_vals) for line in lines: # only append values (without key) to form the list diff --git a/stock_shipment_schedule_report/reports/shipment_schedule_xlsx.py b/stock_shipment_schedule_report/reports/shipment_schedule_xlsx.py index d7d77a48..4202ba50 100644 --- a/stock_shipment_schedule_report/reports/shipment_schedule_xlsx.py +++ b/stock_shipment_schedule_report/reports/shipment_schedule_xlsx.py @@ -4,7 +4,7 @@ from datetime import datetime -from odoo import models, fields, api, _ +from odoo import fields, _ from odoo.addons.abstract_report_xlsx.reports \ import stock_abstract_report_xlsx from odoo.report import report_sxw @@ -187,6 +187,7 @@ def _generate_report_content(self, workbook, report): for line in report.line_ids: self.write_line(line) + ShipmentScheduleXlsx( 'report.stock_shipment_schedule_report.shipment_schedule_report', 'shipment.schedule.report', diff --git a/stock_view_adj/__manifest__.py b/stock_view_adj/__manifest__.py index 3b7569fe..7caa7b44 100644 --- a/stock_view_adj/__manifest__.py +++ b/stock_view_adj/__manifest__.py @@ -9,8 +9,10 @@ 'category': 'Stock', 'license': "LGPL-3", 'description': """ -- Stock Inventory Security : Allow Inventory/User to see the Inventory/Report menu (Remove Access Rights from Inventory/Reports menu) -- Stock Inventory View : Display the validation button when operated by Manager and Users. +- Stock Inventory Security : Allow Inventory/User to see the Inventory/ +- Report menu (Remove Access Rights from Inventory/Reports menu) +- Stock Inventory View : Display the validation button +- when operated by Manager and Users. - Stock Picking View : Disable Force Availability. """, 'depends': [ diff --git a/website_order_invoice_automation/__manifest__.py b/website_order_invoice_automation/__manifest__.py index d80f85ac..ae839349 100644 --- a/website_order_invoice_automation/__manifest__.py +++ b/website_order_invoice_automation/__manifest__.py @@ -6,15 +6,15 @@ "summary": "", "description": """ This module provides automation of invoice operations for online sales order. -- Add Boolean field to crm.team to determine whether the invoice will be +- Add Boolean field to crm.team to determine whether the invoice will be automatically created and validated. -- Auto creating and validating invoice when the delivery order of sales +- Auto creating and validating invoice when the delivery order of sales order is confirmed - Add a scheduled action to perform the operation. """, "version": "10.0.1.0.1", "category": "Account", - "website": "https://www.odoo-asia.com/", + "website": "https://www.quartile.co", "author": "Quartile Limited", "license": "AGPL-3", "installable": True, diff --git a/website_order_invoice_automation/models/sale_order.py b/website_order_invoice_automation/models/sale_order.py index deb01f4d..78c62dd9 100644 --- a/website_order_invoice_automation/models/sale_order.py +++ b/website_order_invoice_automation/models/sale_order.py @@ -7,6 +7,7 @@ _logger = logging.getLogger(__name__) + class SaleOrder(models.Model): _inherit = 'sale.order' diff --git a/website_order_invoice_automation/models/sale_order_line.py b/website_order_invoice_automation/models/sale_order_line.py index d911fa2c..5d769b2a 100644 --- a/website_order_invoice_automation/models/sale_order_line.py +++ b/website_order_invoice_automation/models/sale_order_line.py @@ -2,14 +2,15 @@ # Copyright 2018 Quartile Limited # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import models, fields, api +from odoo import models, api class SaleOrderLine(models.Model): _inherit = 'sale.order.line' # Overwriting original _get_to_invoice_qty method - # Ref: https://github.com/odoo/odoo/blob/43bf9ff29d1897405a575fa8643b7f80b5112c24/addons/sale/models/sale.py#L746-L759 + # Ref: https://github.com/odoo/odoo/blob/43bf9ff29d1897405a575fa8643b7f80b5112c24/ + # addons/sale/models/sale.py#L746-L759 # Changes: Making the compute method depends on # order_id.team_invoice_policy # Allowing the invoice policy of the sales team has a higher @@ -23,13 +24,13 @@ def _get_to_invoice_qty(self): if line.product_id.type == 'service': invoice_policy = line.product_id.invoice_policy else: - invoice_policy = line.order_id.team_invoice_policy or \ - line.product_id.invoice_policy + invoice_policy = (line.order_id.team_invoice_policy or + line.product_id.invoice_policy) if invoice_policy == 'order': - line.qty_to_invoice = line.product_uom_qty - \ - line.qty_invoiced + line.qty_to_invoice = (line.product_uom_qty - + line.qty_invoiced) else: - line.qty_to_invoice = line.qty_delivered - \ - line.qty_invoiced + line.qty_to_invoice = (line.qty_delivered - + line.qty_invoiced) else: line.qty_to_invoice = 0 diff --git a/website_product_configurator/__manifest__.py b/website_product_configurator/__manifest__.py index 184a7da0..b43c2e7e 100644 --- a/website_product_configurator/__manifest__.py +++ b/website_product_configurator/__manifest__.py @@ -3,9 +3,9 @@ 'name': "Website Product Configurator", 'version': '10.0.1.0.0', 'summary': """Configure products in e-shop""", - 'author': "Pledra", + 'author': "Pledra,Quartile Limited", 'license': 'AGPL-3', - 'website': 'http://www.pledra.com/', + 'website': 'https://www.quartile.co', 'category': 'website', 'depends': ['website_sale', 'product_configurator'], diff --git a/website_product_configurator_mrp/__manifest__.py b/website_product_configurator_mrp/__manifest__.py index bc4c8379..7fa557c0 100755 --- a/website_product_configurator_mrp/__manifest__.py +++ b/website_product_configurator_mrp/__manifest__.py @@ -4,9 +4,9 @@ 'version': '10.0.1.0.0', 'category': 'Website', 'summary': 'Website integration of MRP', - 'author': 'Pledra', + 'author': 'Pledra,Quartile Limited', 'license': 'AGPL-3', - 'website': 'http://www.pledra.com/', + 'website': 'https://www.quartile.co', 'depends': [ 'product_configurator_mrp', 'website_product_configurator', diff --git a/website_sale_address_adj/__manifest__.py b/website_sale_address_adj/__manifest__.py index ab3329c6..252ea3be 100644 --- a/website_sale_address_adj/__manifest__.py +++ b/website_sale_address_adj/__manifest__.py @@ -7,8 +7,8 @@ "category": "Website", "author": "Quartile Limited", "license": "LGPL-3", - "website": "https://www.quartile.co/", - "depends": ["website_sale",], + "website": "https://www.quartile.co", + "depends": ["website_sale", ], "data": ["views/website_sale.xml"], "installable": True, } diff --git a/website_sale_view_adj/__manifest__.py b/website_sale_view_adj/__manifest__.py index 673c41ee..e86be84a 100644 --- a/website_sale_view_adj/__manifest__.py +++ b/website_sale_view_adj/__manifest__.py @@ -12,7 +12,7 @@ """, 'author': 'Quartile Limited', 'license': 'LGPL-3', - 'website': 'https://www.odoo-asia.com/', + 'website': 'https://www.quartile.co', 'depends': [ 'website_sale', ],