diff --git a/.weblate.json b/.weblate.json index a409be6523..accbe27b41 100644 --- a/.weblate.json +++ b/.weblate.json @@ -1,6 +1,11 @@ { "projects": { "odoo-s18-4": [ + { + "name": "3pl_logistic_company", + "filemask": "3pl_logistic_company/i18n/*.po", + "new_base": "3pl_logistic_company/i18n/logistic_company.pot" + }, { "name": "accounting_firm", "filemask": "accounting_firm/i18n/*.po", diff --git a/3pl_logistic_company/__manifest__.py b/3pl_logistic_company/__manifest__.py new file mode 100644 index 0000000000..95efb93b9d --- /dev/null +++ b/3pl_logistic_company/__manifest__.py @@ -0,0 +1,86 @@ +{ + 'name': '3PL Logistic Company', + 'author': 'Odoo S.A.', + 'version': '1.0', + 'category': 'Services', + 'depends': [ + 'base_industry_data', + 'crm_sale_subscription', + 'documents_hr', + 'knowledge', + 'product_expiry', + 'purchase', + 'quality_control', + 'quality_mrp', + 'sale_management', + 'sale_service', + 'sale_subscription', + 'stock', + 'web_studio', + 'website', + ], + 'data': [ + 'data/ir_model.xml', + 'data/ir_model_access.xml', + 'data/ir_attachment_pre.xml', + 'data/knowledge_cover.xml', + 'data/knowledge_article.xml', + 'data/knowledge_article_favorite.xml', + 'data/ir_model_fields.xml', + 'data/ir_actions_act_window.xml', + 'data/portal_templates.xml', + 'data/ir_actions_server.xml', + 'data/base_automation.xml', + 'data/x_fee_rate.xml', + 'data/product_category.xml', + 'data/uom_uom.xml', + 'data/product_template.xml', + 'data/product_product.xml', + 'data/product_pricelist_item.xml', + 'data/stock_package_type.xml', + 'data/sale_order_template.xml', + 'data/sale_order_template_line.xml', + 'data/stock_storage_category.xml', + 'data/stock_location.xml', + 'data/ir_ui_menu.xml', + 'data/ir_ui_view.xml', + 'data/ir_cron.xml', + 'data/qweb_view.xml', + 'data/website_page.xml', + 'data/website_menu.xml', + 'data/stock_warehouse.xml', + 'data/res_config_settings.xml', + 'data/spreadsheet_dashboard.xml', + 'data/mail_message.xml', + 'data/website.xml', + ], + 'demo': [ + 'demo/quality_point.xml', + 'demo/res_partner.xml', + 'demo/product_template.xml', + 'demo/mrp_bom.xml', + 'demo/mrp_bom_line.xml', + 'demo/stock_lot.xml', + 'demo/stock_quant.xml', + 'demo/x_stock_history.xml', + 'demo/website_theme_apply.xml', + 'demo/crm_lead.xml', + 'demo/stock_package.xml', + 'demo/sale_order.xml', + 'demo/sale_order_line.xml', + 'demo/sale_order_confirm.xml', + 'demo/account_move.xml', + 'demo/stock_picking.xml', + 'demo/stock_move.xml', + 'demo/stock_move_line.xml', + 'demo/quality_check.xml', + ], + 'cloc_exclude': [ + 'data/ir_cron.xml', + 'data/knowledge_article.xml', + 'data/portal_templates.xml', + 'data/qweb_view.xml', + ], + 'license': 'OPL-1', + 'images': ['images/main.png'], +} diff --git a/3pl_logistic_company/data/base_automation.xml b/3pl_logistic_company/data/base_automation.xml new file mode 100644 index 0000000000..e218e7809a --- /dev/null +++ b/3pl_logistic_company/data/base_automation.xml @@ -0,0 +1,25 @@ + + + + On Owner Set On Product + + + + [('x_owner_id', '!=', False)] + on_change + + + + On Move Line Created + + + on_create + + + + On Stock Move Create + + on_create + + + diff --git a/3pl_logistic_company/data/ir_actions_act_window.xml b/3pl_logistic_company/data/ir_actions_act_window.xml new file mode 100644 index 0000000000..fa04731283 --- /dev/null +++ b/3pl_logistic_company/data/ir_actions_act_window.xml @@ -0,0 +1,25 @@ + + + + Fee rate list view + x_fee_rate + list,form + + + Partner related products view + product.template + list,form + [('x_owner_id', '=', active_id)] + + + Stock Occupation + sale.order.line + [('x_subscription_state', '=', '3_progress')] + pivot,list + + + Stock History + x_stock_history + list,pivot + + diff --git a/3pl_logistic_company/data/ir_actions_server.xml b/3pl_logistic_company/data/ir_actions_server.xml new file mode 100644 index 0000000000..cb5c07e91b --- /dev/null +++ b/3pl_logistic_company/data/ir_actions_server.xml @@ -0,0 +1,42 @@ + + + + Route displaying products + + code + True + products + + + + + + code + Execute Code + + + + + code + Execute Code + + + + + code + Execute Code + + diff --git a/3pl_logistic_company/data/ir_attachment_pre.xml b/3pl_logistic_company/data/ir_attachment_pre.xml new file mode 100644 index 0000000000..a831645722 --- /dev/null +++ b/3pl_logistic_company/data/ir_attachment_pre.xml @@ -0,0 +1,14 @@ + + + + ir_attachment_1.jpg + + /ir_attachment_1.jpg + + + ir_attachment_2.jpg + + /ir_attachment_2.jpg + + + diff --git a/3pl_logistic_company/data/ir_cron.xml b/3pl_logistic_company/data/ir_cron.xml new file mode 100644 index 0000000000..ce25739b49 --- /dev/null +++ b/3pl_logistic_company/data/ir_cron.xml @@ -0,0 +1,25 @@ + + + + Stock History-Create Daily Records + 1 + days + + + code + + + diff --git a/3pl_logistic_company/data/ir_model.xml b/3pl_logistic_company/data/ir_model.xml new file mode 100644 index 0000000000..715aa3b2ac --- /dev/null +++ b/3pl_logistic_company/data/ir_model.xml @@ -0,0 +1,11 @@ + + + + Fee Rate + x_fee_rate + + + Stock History + x_stock_history + + diff --git a/3pl_logistic_company/data/ir_model_access.xml b/3pl_logistic_company/data/ir_model_access.xml new file mode 100644 index 0000000000..22a3d1ff87 --- /dev/null +++ b/3pl_logistic_company/data/ir_model_access.xml @@ -0,0 +1,39 @@ + + + + + + x_fee_rate_user_access + + + + + + + + + x_stock_history_user_access + + + + + + + + + x_stock_history_admin_access + + + + + + + + + ir_ui_view_portal_access + + + + + + diff --git a/3pl_logistic_company/data/ir_model_fields.xml b/3pl_logistic_company/data/ir_model_fields.xml new file mode 100644 index 0000000000..b1e81dedda --- /dev/null +++ b/3pl_logistic_company/data/ir_model_fields.xml @@ -0,0 +1,168 @@ + + + + x_location_fee_rate_id + Fee Rate + + many2one + x_fee_rate + + + + x_name + Name + + char + + + + x_owner_id + Owner + + many2one + res.partner + + + + x_partner_related_products + Products + + one2many + product.template + x_owner_id + + + + x_subscription_state + Subscription State + selection + order_id.subscription_state + + + + + x_point_id_title + Control Point Title + char + point_id.title + + + + x_quality_check_owner + Owner + many2one + res.partner + + + move_line_id, picking_id + + + + x_stored_picking_type_id + Operation Type + many2one + stock.picking.type + picking_type_id + + + + x_package_type + Package Type + many2one + stock.package.type + result_package_id.package_type_id + + + + + + x_date + Date + + date + + + x_history_owner_id + Owner + + many2one + res.partner + + + x_location_id + Location + + many2one + stock.location + + + x_history_fee_rate_id + Fee Rate + + many2one + x_fee_rate + + + x_product_id + Product + + many2one + product.template + + + x_package_id + Package + + many2one + stock.package + + + x_package_type + Package type + + char + + + x_stock_lot_id + Lot/SN + + many2one + stock.lot + + + x_quantity + Quantity + + integer + + + x_package_master_container_id + Package Master Container + many2one + stock.package + + x_package_id,x_package_id.parent_package_id + + + + char + picking_type_id.name + operation type + + x_operation_type + + + + diff --git a/3pl_logistic_company/data/ir_ui_menu.xml b/3pl_logistic_company/data/ir_ui_menu.xml new file mode 100644 index 0000000000..4c8a218ab3 --- /dev/null +++ b/3pl_logistic_company/data/ir_ui_menu.xml @@ -0,0 +1,50 @@ + + + + Fee Rate + + + + + Stock Occupation + + + + + Stock History + + + + + + + 1 + + + 2 + + + 3 + + + 4 + + + 5 + + + 6 + + + 7 + + + 9 + + + 10 + + + 11 + + diff --git a/3pl_logistic_company/data/ir_ui_view.xml b/3pl_logistic_company/data/ir_ui_view.xml new file mode 100644 index 0000000000..615e686cda --- /dev/null +++ b/3pl_logistic_company/data/ir_ui_view.xml @@ -0,0 +1,233 @@ + + + + stock.location.form.custo.logistic.company + stock.location + + extension + + + + + + + + + + product.template.form.custo.logistic.company + product.template + + extension + + + + + + + + + + res.partner.form.custo.logistic.company + res.partner + + extension + + + + + + + + + + quality.check.form.custo.logistic.company + quality.check + + extension + + + + + + + + + + + stock.storage.category.form.custo.logistic.company + x_fee_rate + form + + +
+ +

+ +

+
+
+
+
+ + stock.storage.category.form.custo.logistic.company + x_fee_rate + list + + + + + + + + + + default.stock.occupation.pivot.view + sale.order.line + pivot + + + + + + + + + + default.stock.occupation.list.view + sale.order.line + list + + + + + + + + + + + + + + extension.stock.occupation.search.view + sale.order.line + search + extension + + + + + + + + + + + + + + + + + + default.stock.history.pivot.view + x_stock_history + pivot + + + + + + + + + default.stock.history.list.view + x_stock_history + list + + + + + + + + + + + + + + + + + default.stock.history.search.view + x_stock_history + search + + + + + + + + + {'search_default_current_month': 1} + + + + + + + + + + + extension + stock.move.line + Odoo Studio: stock.move.line.list customization + 160 + + list + + + + + + + + + + + + + + extension + stock.move.line + Odoo Studio: stock.move.line.form customization + 10000 + + form + + + + + + x_owner_id + + + + + extension + product.template + product extension + 10000 + + kanban + +
diff --git a/3pl_logistic_company/data/knowledge_article.xml b/3pl_logistic_company/data/knowledge_article.xml new file mode 100644 index 0000000000..57072ba6ce --- /dev/null +++ b/3pl_logistic_company/data/knowledge_article.xml @@ -0,0 +1,839 @@ + + + + + Logistic Company + + ๐Ÿ“ข + write + + + + diff --git a/3pl_logistic_company/data/knowledge_article_favorite.xml b/3pl_logistic_company/data/knowledge_article_favorite.xml new file mode 100644 index 0000000000..3d5b6471e4 --- /dev/null +++ b/3pl_logistic_company/data/knowledge_article_favorite.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/3pl_logistic_company/data/knowledge_cover.xml b/3pl_logistic_company/data/knowledge_cover.xml new file mode 100644 index 0000000000..9bddcdfa29 --- /dev/null +++ b/3pl_logistic_company/data/knowledge_cover.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/3pl_logistic_company/data/mail_message.xml b/3pl_logistic_company/data/mail_message.xml new file mode 100644 index 0000000000..10ca15091d --- /dev/null +++ b/3pl_logistic_company/data/mail_message.xml @@ -0,0 +1,15 @@ + + + + discuss.channel + + email + + + ๐Ÿš€ Get started with Odoo Logistic Company + + + diff --git a/3pl_logistic_company/data/portal_templates.xml b/3pl_logistic_company/data/portal_templates.xml new file mode 100644 index 0000000000..a4afbc290d --- /dev/null +++ b/3pl_logistic_company/data/portal_templates.xml @@ -0,0 +1,52 @@ + + + + + + diff --git a/3pl_logistic_company/data/product_category.xml b/3pl_logistic_company/data/product_category.xml new file mode 100644 index 0000000000..33487a73b2 --- /dev/null +++ b/3pl_logistic_company/data/product_category.xml @@ -0,0 +1,7 @@ + + + + Goods FEFO + + + diff --git a/3pl_logistic_company/data/product_pricelist_item.xml b/3pl_logistic_company/data/product_pricelist_item.xml new file mode 100644 index 0000000000..4807ea895e --- /dev/null +++ b/3pl_logistic_company/data/product_pricelist_item.xml @@ -0,0 +1,31 @@ + + + + + + + 1_product + 11.0 + + + + + + 1_product + 11.0 + + + + + + 1_product + 9.0 + + + + + + 1_product + 11.0 + + diff --git a/3pl_logistic_company/data/product_product.xml b/3pl_logistic_company/data/product_product.xml new file mode 100644 index 0000000000..c93c7992b8 --- /dev/null +++ b/3pl_logistic_company/data/product_product.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/3pl_logistic_company/data/product_template.xml b/3pl_logistic_company/data/product_template.xml new file mode 100644 index 0000000000..5d0fbe976a --- /dev/null +++ b/3pl_logistic_company/data/product_template.xml @@ -0,0 +1,181 @@ + + + + Christmas Tree Waterfall Lights + + + lot + receive + manual + order + + + Energy Bar + + + + lot + + 120 + receive + manual + order + + + Energy Pack + + + + lot + receive + manual + order + + + Energy Packaging + + + + receive + manual + order + + + Extra Quality Check + service + 0.1 + + + purchase + manual + delivery + + + Extra's + service + + purchase + manual + delivery + + + Handling Charges Input + service + + purchase + manual + delivery + + + Handling Charges Output + service + + purchase + manual + delivery + + + Hydrate powder + + + + lot + + 180 + receive + manual + order + + + Reserved Warehouse Space - Ground + service + 0.35 + + + purchase + manual + delivery + + + + Reserved Warehouse Space - High-Bay + service + 0.4 + + + purchase + manual + delivery + + + + Shampoo + + + + lot + receive + manual + order + + + Soap + + + + lot + receive + manual + order + + + Sports Gel + + + + lot + + 180 + receive + manual + order + + + Storage - Ground + service + 0.35 + + + purchase + manual + delivery + + + Storage - High-Bay + service + 0.4 + + + purchase + manual + order + + + Toothpaste + + + + lot + receive + manual + order + + + Transport + service + + purchase + manual + order + + diff --git a/3pl_logistic_company/data/qweb_view.xml b/3pl_logistic_company/data/qweb_view.xml new file mode 100644 index 0000000000..864afeec63 --- /dev/null +++ b/3pl_logistic_company/data/qweb_view.xml @@ -0,0 +1,186 @@ + + + + + + + + +