Skip to content

Commit

Permalink
fix minor format and code
Browse files Browse the repository at this point in the history
  • Loading branch information
assi-odoo committed Feb 9, 2024
1 parent 1b69035 commit 99d9701
Show file tree
Hide file tree
Showing 34 changed files with 290 additions and 485 deletions.
2 changes: 1 addition & 1 deletion electronic_store/data/documents_folder.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo>
<odoo noupdate="1">
<record id="documents_folder_7" model="documents.folder">
<field name="name">Air Conditioner Installation</field>
<field name="parent_folder_id" ref="documents_project.documents_project_folder"/>
Expand Down
4 changes: 2 additions & 2 deletions electronic_store/data/ir_actions_act_window.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo>
<record id="industry_fsm_report.x_project_task_worksheet_template_1_ir_actions_act_window_1" model="ir.actions.act_window">
<record id="x_project_task_worksheet_template_1_ir_actions_act_window_1" model="ir.actions.act_window">
<field name="name">Worksheets</field>
<field name="res_model">x_project_task_worksheet_template_1</field>
<field name="search_view_id" ref="industry_fsm_report.x_project_task_worksheet_template_1_ir_ui_view_3"/>
<field name="search_view_id" ref="x_project_task_worksheet_template_1_ir_ui_view_3"/>
</record>
</odoo>
2 changes: 1 addition & 1 deletion electronic_store/data/ir_attachment_pre.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo>
<odoo noupdate="1">
<record id="ir_attachment_749" model="ir.attachment">
<field name="name">Cover page.jpg</field>
<field name="datas" type="base64" file="electronic_store/static/src/binary/ir_attachment/749-Coverpage.jpg"/>
Expand Down
9 changes: 0 additions & 9 deletions electronic_store/data/ir_model_access.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo>
<record id="ir_model_access_1319" model="ir.model.access">
<field name="name">x_project_task_worksheet_template_1_manager_access</field>
<field name="model_id" ref="industry_fsm_report.x_project_task_worksheet_template_1_ir_model_1"/>
<field name="group_id" ref="project.group_project_manager"/>
<field name="perm_create" eval="True"/>
<field name="perm_read" eval="True"/>
<field name="perm_unlink" eval="True"/>
<field name="perm_write" eval="True"/>
</record>
<record id="ir_model_access_1320" model="ir.model.access">
<field name="name">x_project_task_worksheet_template_1_user_access</field>
<field name="model_id" ref="industry_fsm_report.x_project_task_worksheet_template_1_ir_model_1"/>
Expand Down
5 changes: 2 additions & 3 deletions electronic_store/data/ir_model_fields.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,16 @@
<field name="model_id" ref="industry_fsm_report.x_project_task_worksheet_template_1_ir_model_1"/>
<field name="ttype">many2many</field>
<field name="related">x_project_task_id.user_ids</field>
<field name="relation_table">x_res_users_x_project_task_worksheet_template_1_rel</field>
<field name="relation">res.users</field>
</record>
<record id="field_product" model="ir.model.fields">
<record id="field_product_id_worksheet_template" model="ir.model.fields">
<field name="name">x_product</field>
<field name="field_description">Product</field>
<field name="model_id" ref="industry_fsm_report.x_project_task_worksheet_template_1_ir_model_1"/>
<field name="ttype">boolean</field>
<field name="related">x_project_task_id.allow_material</field>
</record>
<record id="field_products" model="ir.model.fields">
<record id="field_products_id_worksheet_template" model="ir.model.fields">
<field name="name">x_products</field>
<field name="field_description">Products</field>
<field name="model_id" ref="industry_fsm_report.x_project_task_worksheet_template_1_ir_model_1"/>
Expand Down
2 changes: 1 addition & 1 deletion electronic_store/data/ir_rule.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo>
<odoo noupdate="1">
<record id="ir_rule_350" model="ir.rule">
<field name="name">x_project_task_worksheet_template_1_own</field>
<field name="model_id" ref="industry_fsm_report.x_project_task_worksheet_template_1_ir_model_1"/>
Expand Down
14 changes: 7 additions & 7 deletions electronic_store/data/ir_ui_view.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo>
<record id="industry_fsm_report.report_custom_x_project_task_worksheet_template_1" model="ir.ui.view">
<record id="report_custom_x_project_task_worksheet_template_1" model="ir.ui.view">
<field name="name">x_project_task_worksheet_template_1</field>
<field name="type">qweb</field>
<field name="key">gen_key.295a43</field>
Expand Down Expand Up @@ -66,13 +66,13 @@
<xpath expr="//field[@name='default_code']" position="attributes">
<attribute name="string">Model Number</attribute>
</xpath>
<xpath expr="//page[@name='inventory']//group[@name='expiry_and_lots']/label" position="attributes">
<xpath expr="//field[@name='expiration_time']" position="attributes">
<attribute name="string">Warranty Date</attribute>
</xpath>
</data>
</field>
</record>
<record id="industry_fsm_report.x_project_task_worksheet_template_1_ir_ui_view_1" model="ir.ui.view">
<record id="x_project_task_worksheet_template_1_ir_ui_view_1" model="ir.ui.view">
<field name="name">template_view_Default_Worksheet</field>
<field name="type">form</field>
<field name="model">x_project_task_worksheet_template_1</field>
Expand All @@ -95,7 +95,7 @@
<field name="model">x_project_task_worksheet_template_1</field>
<field name="mode">extension</field>
<field name="priority">99</field>
<field name="inherit_id" ref="industry_fsm_report.x_project_task_worksheet_template_1_ir_ui_view_1"/>
<field name="inherit_id" ref="x_project_task_worksheet_template_1_ir_ui_view_1"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='x_comments']" position="before">
Expand All @@ -108,7 +108,7 @@
</data>
</field>
</record>
<record id="industry_fsm_report.x_project_task_worksheet_template_1_ir_ui_view_2" model="ir.ui.view">
<record id="x_project_task_worksheet_template_1_ir_ui_view_2" model="ir.ui.view">
<field name="name">tree_view_Default_Worksheet</field>
<field name="type">tree</field>
<field name="model">x_project_task_worksheet_template_1</field>
Expand All @@ -119,15 +119,15 @@
</tree>
</field>
</record>
<record id="industry_fsm_report.x_project_task_worksheet_template_1_ir_ui_view_3" model="ir.ui.view">
<record id="x_project_task_worksheet_template_1_ir_ui_view_3" model="ir.ui.view">
<field name="name">search_view_Default_Worksheet</field>
<field name="type">search</field>
<field name="model">x_project_task_worksheet_template_1</field>
<field name="arch" type="xml">
<search>
<field name="x_name"/>
<filter string="Created on" date="create_date" name="create_date"/>
<filter name="group_by_month" string="Created on" context="{'group_by': 'create_date:month'}"/>
<filter name="group_by_month" string="Created on" context="{'group_by': 'create_date: month'}"/>
</search>
</field>
</record>
Expand Down
21 changes: 10 additions & 11 deletions electronic_store/data/knowledge_article.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">
<odoo>
<record id="knowledge_article_8" model="knowledge.article">
<field name="name">ELECTRONICS STORE</field>
<field name="icon">📺</field>
Expand All @@ -11,19 +11,19 @@
<field name="is_locked" eval="True"/>
<field name="body">
<![CDATA[
<h1>KB ELECTRONICS STORE</h1>
<h1>ELECTRONICS STORE</h1>
<p>
This Business setup for Electronics store where they can sell their electronics items like Home Appliances, Kitchen Appliances, etc...
</p>
<p>
Customer is coming directly visiting their store and looking for great offers and discounts in cheapest cost.
</p>
<p>
They Generally require below apps to manage their business workflow.
They generally require the below apps to manage their business workflow.
</p>
<div class="o_knowledge_behavior_anchor o_knowledge_behavior_type_toc" data-oe-protected="true">
<div class="o_knowledge_toc_content">
<a href="#" data-oe-nodeid="0" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_0">KB ELECTRONICS STORE</a>
<a href="#" data-oe-nodeid="0" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_0">ELECTRONICS STORE</a>
<a href="#" data-oe-nodeid="1" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_0">Setup</a>
<a href="#" data-oe-nodeid="2" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_0">Business Flow</a>
<a href="#" data-oe-nodeid="3" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_1">Flow 1. Purchase </a>
Expand All @@ -42,7 +42,7 @@
<li>Warranty Tracking On Delivery Date (<font style="color: rgb(156, 0, 255);">Automated Action</font>)</li>
<li>Installation Report - Worksheet Template (<font style="color: rgb(156, 0, 255);">Studio Customisation</font>)</li>
<li>Payment Acquirer</li>
<li>Website- Shop/Complaint</li>
<li>Website - Shop/Complaint</li>
</ul>
<h1>Business Flow</h1>
<h2>
Expand All @@ -52,7 +52,7 @@
Let's buy some items that are tracked by serial numbers.
</p>
<ul>
<li>Create the Purchase Order</li>
<li>Create the purchase Order</li>
<li class="oe-nested">
<ul>
<li>
Expand Down Expand Up @@ -96,7 +96,7 @@
Once the order is confirmed:
</p>
<ul>
<li>Odoo will generate 1 task for the Air Conditioner Installation.</li>
<li>Odoo will generate 1 task for the Air Conditioner installation.</li>
<li>The delivery order will be created for the LG Dual Inverter</li>
<li class="oe-nested">
<ul>
Expand Down Expand Up @@ -134,10 +134,10 @@
<li>Use the magnifier 🔎 icon to select tasks to assign</li>
</ul>
<p>
Field Service Engineer checking daily activity with Mobile App :
Field service engineer checking daily activity with mobile app :
</p>
<ul>
<li>Go to Mobile Odoo App "Air Conditioner Installation"</li>
<li>Go to mobile odoo app "Air Conditioner Installation"</li>
<li>Check with My Task</li>
<li>Plan the visit customer location</li>
<li>After completion work update the remarks</li>
Expand Down Expand Up @@ -172,8 +172,7 @@
<ul>
<li>support ticket will be created from backend.</li>
<li>
open the ticket from backend , system will be displayed Warranty Date('<font style="color: rgb(156, 0, 255);">17/08/2026</font>') of that selected serial number(<font style="color: rgb(156, 0, 255);">through Studi</font>
<font style="color: rgb(156, 0, 255);" class="bg-o-color-3">o</font>).
open the ticket from backend, system will be displayed Warranty Date('<font style="color: rgb(156, 0, 255);">17/08/2026</font>') of that selected serial number(<font style="color: rgb(156, 0, 255);">through studio</font>
</li>
</ul>
]]>
Expand Down
2 changes: 2 additions & 0 deletions electronic_store/data/product_category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
<odoo noupdate="1">
<record id="product_category_308" model="product.category">
<field name="name">Kitchen Appliance</field>
<field name="parent_id" ref="product.product_category_all"/>
</record>
<record id="product_category_309" model="product.category">
<field name="name">Home Appliance</field>
<field name="parent_id" ref="product.product_category_all"/>
</record>
<record id="product_category_310" model="product.category">
<field name="name">Refrigerators</field>
Expand Down

0 comments on commit 99d9701

Please sign in to comment.