-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] commodity_trading: module for commodity trading
Tailored for commodity traders (e.g., soybeans, wheat) with comprehensive functions, including CRM, quality checks, and broker involvement for product quality and commissions. task-3460474
- Loading branch information
Showing
45 changed files
with
2,406 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# -*- coding: utf-8 -*- | ||
{ | ||
'name': 'Commodity Trading', | ||
'version': '1.0', | ||
'category': 'industry', | ||
'description': """ | ||
Tailored for commodity traders (e.g., soybeans, wheat) with comprehensive functions, | ||
including CRM, quality checks, and broker involvement for product quality and commissions. | ||
""", | ||
'author': 'Odoo S.A.', | ||
'depends': [ | ||
'account_edi_ubl_cii', | ||
'account_followup', | ||
'appointment_crm', | ||
'knowledge', | ||
'mrp_account', | ||
'product_expiry', | ||
'product_images', | ||
'purchase_mrp', | ||
'quality_control_worksheet', | ||
'quality_mrp', | ||
'quality_mrp_workorder', | ||
'sale_crm', | ||
'sale_mrp', | ||
'sale_planning', | ||
'sale_product_configurator', | ||
'sale_project', | ||
'stock_dropshipping', | ||
'stock_picking_batch', | ||
'website_appointment', | ||
'website_crm', | ||
'website_crm_partner_assign', | ||
], | ||
'data': [ | ||
'data/res_config_settings.xml', | ||
'data/ir_attachment_pre.xml', | ||
'data/ir_sequence.xml', | ||
'data/ir_model.xml', | ||
'data/ir_model_fields.xml', | ||
'data/ir_ui_view.xml', | ||
'data/ir_actions_act_window.xml', | ||
'data/ir_actions_report.xml', | ||
'data/ir_ui_menu.xml', | ||
'data/ir_model_access.xml', | ||
'data/ir_rule.xml', | ||
'data/product_category.xml', | ||
'data/worksheet_template.xml', | ||
'data/product_template.xml', | ||
'data/product_product.xml', | ||
'data/knowledge_cover.xml', | ||
'data/knowledge_article.xml', | ||
'data/knowledge_article_member.xml', | ||
'data/quality_point.xml', | ||
'data/mrp_bom.xml', | ||
'data/mrp_bom_line.xml', | ||
'data/mrp_workcenter.xml', | ||
'data/mrp_routing_workcenter.xml', | ||
], | ||
'demo': [ | ||
'demo/weighing_scale_maste.xml', | ||
'demo/res_partner.xml', | ||
'demo/product_supplierinfo.xml', | ||
'demo/stock_lot.xml', | ||
'demo/purchase_order.xml', | ||
'demo/purchase_order_line.xml', | ||
'demo/purchase_order_post.xml', | ||
'demo/mrp_production.xml', | ||
'demo/mrp_production_post.xml', | ||
'demo/sale_order.xml', | ||
'demo/sale_order_line.xml', | ||
'demo/sale_order_post.xml', | ||
], | ||
'application': False, | ||
'license': 'OPL-1', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo> | ||
<record id="stock_picking_batch.stock_add_to_wave_action_stock_picking" model="ir.actions.act_window"> | ||
<field name="name">Select for GRN</field> | ||
</record> | ||
|
||
<record id="stock_picking_batch.action_picking_tree_wave" model="ir.actions.act_window"> | ||
<field name="name">Weighing Scale/GRN Details</field> | ||
<field name="res_model">stock.picking.batch</field> | ||
<field name="context">{'search_default_draft': True, 'search_default_in_progress': True}</field> | ||
<field name="domain">[('is_wave', '=', True)]</field> | ||
<field name="search_view_id" ref="stock_picking_batch.stock_picking_batch_filter" /> | ||
<field name="view_mode">tree,kanban,form</field> | ||
<field name="help"> | ||
<![CDATA[ | ||
<p class="o_view_nocontent_smiling_face"> | ||
Create a new wave transfer | ||
</p> | ||
<p> | ||
The goal of the wave transfer is to group operations from different | ||
transfer | ||
together in order to increase their efficiency. | ||
It may also be useful to assign jobs (one person = one batch) or | ||
help the timing management of operations (tasks to be done at 1pm). | ||
</p> | ||
]]> | ||
</field> | ||
</record> | ||
<record id="commodity_trading.weighing_scale_grn_d_ea2764e4-60b8-432d-bd17-02849e20b98d" model="ir.actions.act_window"> | ||
<field name="name">Weighing Scale/GRN Details</field> | ||
<field name="res_model">x_weighing_scale_grn_d</field> | ||
<field name="help"> | ||
<![CDATA[ | ||
<p class="o_view_nocontent_smiling_face"> | ||
This is your new action. | ||
</p> | ||
<p>By default, it contains a list and a form view and possibly | ||
other view types depending on the options you chose for your model. | ||
</p> | ||
<p> | ||
You can start customizing these screens by clicking on the Studio | ||
icon on the | ||
top right corner (you can also customize this help message there). | ||
</p> | ||
]]> | ||
</field> | ||
</record> | ||
<record id="commodity_trading.weighing_scale_maste_e7af5017-c788-442d-9f4a-0924d50c4bcb" model="ir.actions.act_window"> | ||
<field name="name">Weighing Scale Master</field> | ||
<field name="res_model">x_weighing_scale_maste</field> | ||
<field name="help"> | ||
<![CDATA[ | ||
<p class="o_view_nocontent_smiling_face"> | ||
This is your new action. | ||
</p> | ||
<p>By default, it contains a list and a form view and possibly | ||
other view types depending on the options you chose for your model. | ||
</p> | ||
<p> | ||
You can start customizing these screens by clicking on the Studio | ||
icon on the | ||
top right corner (you can also customize this help message there). | ||
</p> | ||
]]> | ||
</field> | ||
</record> | ||
<record id="x_quality_check_worksheet_template_1_studio_ir_actions_act_window_1" model="ir.actions.act_window"> | ||
<field name="name">Worksheets</field> | ||
<field name="res_model">x_quality_check_worksheet_template_1_studio</field> | ||
<field name="context">{'edit': False, 'create': False, 'delete': False, 'duplicate': False}</field> | ||
<field name="search_view_id" ref="x_quality_check_worksheet_template_1_studio_ir_ui_view_3" /> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo> | ||
<record id="commodity_trading.batch_transfer_4343f31d-e19a-4401-bde1-4db037a5a3f8" model="ir.actions.report"> | ||
<field name="name">Batch Transfer</field> | ||
<field name="model">stock.picking.batch</field> | ||
<field name="binding_model_id" ref="stock_picking_batch.model_stock_picking_batch"/> | ||
<field name="report_name">stock_picking_batch.report_picking_batch_copy_1</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo noupdate="1"> | ||
<record id="ir_attachment_430" model="ir.attachment"> | ||
<field name="name">unsplash_c9OfrVeD_tQ_.jpg</field> | ||
<field name="datas" type="base64" file="commodity_trading/static/src/binary/ir_attachment/430-unsplash_c9OfrVeD_tQ_.jpg"/> | ||
<field name="url">/unsplash/c9OfrVeD_tQ/.jpg</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo> | ||
<record id="weighing_scale_grn_d_dbe9d797-c8ff-4765-b66e-10f3a908bc6c" model="ir.model"> | ||
<field name="name">Weighing Scale/GRN Details</field> | ||
<field name="model">x_weighing_scale_grn_d</field> | ||
<field name="is_mail_thread" eval="True" /> | ||
<field name="is_mail_activity" eval="True" /> | ||
</record> | ||
<record id="weighing_scale_maste_b6974a0c-edff-419e-94a0-73674e16bdf9" model="ir.model"> | ||
<field name="name">Weighing Scale Master</field> | ||
<field name="model">x_weighing_scale_maste</field> | ||
<field name="is_mail_thread" eval="True" /> | ||
<field name="is_mail_activity" eval="True" /> | ||
</record> | ||
<record id="x_quality_check_worksheet_template_1_studio_ir_model_1" model="ir.model"> | ||
<field name="name">Inward checking</field> | ||
<field name="model">x_quality_check_worksheet_template_1_studio</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo> | ||
<record id="weighing_scale_grn_d_1985cad8-13a7-491a-b7c9-0f9175a999be" model="ir.model.access"> | ||
<field name="name">Weighing Scale/GRN Details group_user</field> | ||
<field name="model_id" ref="commodity_trading.weighing_scale_grn_d_dbe9d797-c8ff-4765-b66e-10f3a908bc6c" /> | ||
<field name="group_id" ref="base.group_user" /> | ||
<field name="perm_create" eval="True" /> | ||
<field name="perm_read" eval="True" /> | ||
<field name="perm_write" eval="True" /> | ||
</record> | ||
<record id="weighing_scale_grn_d_aa2fdac5-0120-49a2-9889-007dc15f3585" model="ir.model.access"> | ||
<field name="name">Weighing Scale/GRN Details group_system</field> | ||
<field name="model_id" ref="commodity_trading.weighing_scale_grn_d_dbe9d797-c8ff-4765-b66e-10f3a908bc6c" /> | ||
<field name="group_id" ref="base.group_system" /> | ||
<field name="perm_create" eval="True" /> | ||
<field name="perm_read" eval="True" /> | ||
<field name="perm_write" eval="True" /> | ||
<field name="perm_unlink" eval="True" /> | ||
</record> | ||
<record id="weighing_scale_maste_5be704bd-43b1-4e8e-ae95-41fa2a037844" model="ir.model.access"> | ||
<field name="name">Weighing Scale Master group_user</field> | ||
<field name="model_id" ref="commodity_trading.weighing_scale_maste_b6974a0c-edff-419e-94a0-73674e16bdf9" /> | ||
<field name="group_id" ref="base.group_user" /> | ||
<field name="perm_create" eval="True" /> | ||
<field name="perm_read" eval="True" /> | ||
<field name="perm_write" eval="True" /> | ||
</record> | ||
<record id="weighing_scale_maste_f52d4110-b4be-43bd-9386-d319307d5d0c" | ||
model="ir.model.access"> | ||
<field name="name">Weighing Scale Master group_system</field> | ||
<field name="model_id" ref="commodity_trading.weighing_scale_maste_b6974a0c-edff-419e-94a0-73674e16bdf9" /> | ||
<field name="group_id" ref="base.group_system" /> | ||
<field name="perm_create" eval="True" /> | ||
<field name="perm_read" eval="True" /> | ||
<field name="perm_write" eval="True" /> | ||
<field name="perm_unlink" eval="True" /> | ||
</record> | ||
<record id="ir_model_access_1211" model="ir.model.access"> | ||
<field name="name">x_quality_check_worksheet_template_1_studio_manager_access</field> | ||
<field name="model_id" ref="x_quality_check_worksheet_template_1_studio_ir_model_1" /> | ||
<field name="group_id" ref="quality.group_quality_manager" /> | ||
<field name="perm_create" eval="True" /> | ||
<field name="perm_read" eval="True" /> | ||
<field name="perm_write" eval="True" /> | ||
<field name="perm_unlink" eval="True" /> | ||
</record> | ||
<record id="ir_model_access_1212" model="ir.model.access"> | ||
<field name="name">x_quality_check_worksheet_template_1_studio_user_access</field> | ||
<field name="model_id" ref="x_quality_check_worksheet_template_1_studio_ir_model_1" /> | ||
<field name="group_id" ref="quality.group_quality_user" /> | ||
<field name="perm_create" eval="True" /> | ||
<field name="perm_read" eval="True" /> | ||
<field name="perm_write" eval="True" /> | ||
<field name="perm_unlink" eval="True" /> | ||
</record> | ||
</odoo> |
Oops, something went wrong.