diff --git a/carpenter/__manifest__.py b/carpenter/__manifest__.py new file mode 100644 index 000000000..e2e942f4a --- /dev/null +++ b/carpenter/__manifest__.py @@ -0,0 +1,66 @@ +{ + 'name': 'Carpenter', + 'version': '1.0', + 'category': 'Retail', + 'description': """ +""", + 'depends': [ + 'base_automation', + 'contacts', + 'knowledge', + 'project', + 'purchase', + 'sale_management', + 'sale_timesheet', + 'stock', + 'web_studio', + ], + 'data': [ + 'data/res_config_settings.xml', + 'data/ir_model_fields.xml', + 'data/report_view.xml', + 'data/ir_actions_report.xml', + 'data/mail_template.xml', + 'data/ir_actions_server.xml', + 'data/ir_ui_view.xml', + 'data/base_automation.xml', + 'data/ir_attachment_pre.xml', + 'data/project_task_type.xml', + 'data/project_tags.xml', + 'data/project_project.xml', + 'data/project_task.xml', + 'data/product_product.xml', + 'data/sale_order_spreadsheet.xml', + 'data/sale_order_template.xml', + 'data/sale_order_template_line.xml', + 'data/knowledge_cover.xml', + 'data/knowledge_article.xml', + 'data/knowledge_article_favorite.xml', + 'data/mail_message.xml', + 'data/knowledge_tour.xml', + ], + 'demo': [ + 'demo/res_partner.xml', + 'demo/res_user.xml', + 'demo/product_supplierinfo.xml', + 'demo/sale_order.xml', + 'demo/sale_order_line.xml', + 'demo/sale_order_confirm.xml', + 'demo/purchase_order.xml', + 'demo/purchase_order_line.xml', + 'demo/purchase_order_confirm.xml', + ], + 'license': 'OPL-1', + 'assets': { + 'web.assets_backend': [ + 'carpenter/static/src/js/my_tour.js', + ] + }, + 'author': 'Odoo S.A.', + "cloc_exclude": [ + "data/knowledge_article.xml", + "data/ir_ui_view.xml", + "static/src/js/my_tour.js", + ], + 'images': ['images/main.png'], +} diff --git a/carpenter/data/base_automation.xml b/carpenter/data/base_automation.xml new file mode 100644 index 000000000..d88bbdeec --- /dev/null +++ b/carpenter/data/base_automation.xml @@ -0,0 +1,9 @@ + + + + + + on_create_or_write + Modify Portal + + diff --git a/carpenter/data/ir_actions_report.xml b/carpenter/data/ir_actions_report.xml new file mode 100644 index 000000000..3017465e8 --- /dev/null +++ b/carpenter/data/ir_actions_report.xml @@ -0,0 +1,16 @@ + + + + + sale.order + Simplified Report + carpenter.simplified_sales_order + + + + account.move + Simplified Report + carpenter.simplified_invoice + True + + diff --git a/carpenter/data/ir_actions_server.xml b/carpenter/data/ir_actions_server.xml new file mode 100644 index 000000000..a23bf141e --- /dev/null +++ b/carpenter/data/ir_actions_server.xml @@ -0,0 +1,31 @@ + + + + + + code + Execute Code + + + + + + + + + + code + Execute Code + base_automation + + diff --git a/carpenter/data/ir_attachment_pre.xml b/carpenter/data/ir_attachment_pre.xml new file mode 100644 index 000000000..580e8d288 --- /dev/null +++ b/carpenter/data/ir_attachment_pre.xml @@ -0,0 +1,7 @@ + + + + unsplash_iZgQKxuMRHc_.jpg + + + diff --git a/carpenter/data/ir_model_fields.xml b/carpenter/data/ir_model_fields.xml new file mode 100644 index 000000000..975d7af2b --- /dev/null +++ b/carpenter/data/ir_model_fields.xml @@ -0,0 +1,31 @@ + + + + float + product_id.standard_price + Unit Cost + + x_studio_unit_cost + + + + + + boolean + + Simplified SO + + x_simplify_so + + + + + many2one + invoice_template_pdf_report_id + Report + + x_report + ir.actions.report + + + diff --git a/carpenter/data/ir_ui_view.xml b/carpenter/data/ir_ui_view.xml new file mode 100644 index 000000000..41b8ba869 --- /dev/null +++ b/carpenter/data/ir_ui_view.xml @@ -0,0 +1,144 @@ + + + + res.config.settings.inherit.sale.view + res.config.settings + extension + + + + +
+
+ +
+
+
+
+
+
+
+ + + + + + + + + + extension + res.partner + + Odoo Studio: res.partner.form customization + 360 + form + + + + + +