Skip to content

Commit

Permalink
[ADD] agriculture: WIP cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrs-odoo committed Jan 19, 2024
1 parent b0094aa commit 9184cae
Show file tree
Hide file tree
Showing 12 changed files with 248 additions and 244 deletions.
22 changes: 11 additions & 11 deletions agriculture/data/ir_model_fields.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,38 @@
<field name="name">x_binary_field_product_template</field>
<field name="model">product.template</field>
<field name="ttype">binary</field>
<field name="model_id" ref="product.model_product_template" />
<field name="model_id" ref="product.model_product_template"/>
<field name="field_description">Product Making Story - QR Code</field>
<field name="copied" eval="True" />
<field name="on_delete" eval="False" />
<field name="copied" eval="True"/>
<field name="on_delete" eval="False"/>
</record>
<record id="new_many2one_lead_survey" model="ir.model.fields">
<field name="name">x_survey</field>
<field name="ttype">many2one</field>
<field name="model">crm.lead</field>
<field name="model_id" ref="crm.model_crm_lead" />
<field name="model_id" ref="crm.model_crm_lead"/>
<field name="field_description">Survey</field>
<field name="copied" eval="True" />
<field name="copied" eval="True"/>
<field name="relation">survey.survey</field>
</record>
<record id="new_many2one_lead_answer" model="ir.model.fields">
<field name="name">x_answer</field>
<field name="ttype">many2one</field>
<field name="model">crm.lead</field>
<field name="model_id" ref="crm.model_crm_lead" />
<field name="model_id" ref="crm.model_crm_lead"/>
<field name="field_description">Answer</field>
<field name="copied" eval="True" />
<field name="copied" eval="True"/>
<field name="relation">survey.user_input</field>
</record>
<record id="new_related_field_product_story" model="ir.model.fields">
<field name="name">x_product_story</field>
<field name="ttype">binary</field>
<field name="model">account.move.line</field>
<field name="model_id" ref="account.model_account_move_line" />
<field name="model_id" ref="account.model_account_move_line"/>
<field name="field_description">Product Story</field>
<field name="on_delete" eval="False" />
<field name="readonly" eval="True" />
<field name="on_delete" eval="False"/>
<field name="readonly" eval="True"/>
<field name="related">product_id.x_binary_field_product_template</field>
<field name="store" eval="False" />
<field name="store" eval="False"/>
</record>
</odoo>
207 changes: 106 additions & 101 deletions agriculture/data/knowledge_article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,107 +7,112 @@
<field name="cover_image_id" ref="knowledge_cover_6"/>
<field name="is_article_visible_by_everyone" eval="True"/>
<field name="is_locked" eval="True"/>
<field name="body"><![CDATA[<p>
<span style="font-size: 36px;"><strong>Agricultural Retail </strong></span>
</p>
<p>
<font color="#343541">
Tailored setup for agricultural retail businesses engaged in B2B and B2C sales of farming products. Point of Sale (POS) stores & website offer categorised items such as seeds, pesticides, plant nutrition, and farming equipment.
</font>
</p>
<p>
<span style="color: rgb(52, 53, 65); font-style: normal; font-weight: 400;">
They utilize a suite of modules including Point of Sale, Inventory, Sales, Purchase, Survey,Accounting, Contact, Dashboard, Barcode, and Documents. Expanding into the online realm, a website and E-commerce applications can
significantly aid their growth in the agricultural retail sector.
</span>
</p>
<div data-oe-protected="true" class="o_knowledge_behavior_anchor o_knowledge_behavior_type_toc">
<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">​Setup</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">​Business Flows </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_1">Flow 1: Purchase</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 2: Sales from Website (B2B / B2C) </a>
<a href="#" data-oe-nodeid="4" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_1">Flow 3: Sales from POS </a>
<a href="#" data-oe-nodeid="5" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_1">Flow 4: Opportunity from Website (B2B) and Survey fill</a>
</div>
</div>
<h1>​Setup</h1>
<p>
<font style="color: var(--color) !important;">
<span style="color: var(--color) !important; background-color: transparent; font-weight: 400; font-style: normal; text-decoration: none; font-size: 18px;"><span style="font-size: 14px;">The setup includes:</span></span>
</font>
</p>
<ul>
<li><font style="background-color: inherit;">Pricelists: B2B</font></li>
<li><font style="background-color: inherit;">Expiry date of Lot</font></li>
<li>Discount & Loyalty</li>
<li><font style="background-color: inherit;">Point of Sale </font></li>
<li><font style="background-color: inherit;">Payment Acquire</font></li>
<li>
<font style="background-color: inherit;">Survey - (new button-"</font><font style="background-color: inherit; color: rgb(57, 132, 198);"><strong>Survey Start</strong></font>
<font style="background-color: inherit;">" added through HTML and two fields "</font><font style="color: rgb(255, 214, 99);" class="bg-o-color-4"><strong>Survey</strong></font><font style="background-color: inherit;">", "</font>
<font style="background-color: inherit; color: rgb(255, 214, 99);"><strong>Answer</strong></font>
<font style="background-color: inherit;">
" on Opportunity).<br />
<br />
</font>
</li>
</ul>
<h1>​Business Flows<br /></h1>
<h2 style="margin-bottom: 0px;"><font class="text-o-color-5">Flow 1: Purchase</font></h2>
<p style="margin-bottom: 0px;"><br /></p>
<ul style="margin-bottom: 0px;">
<li>
Create RFQ for product "<font style="color: rgb(57, 132, 198);"><strong>Onion Seeds</strong></font>" for vendor "<span style="color: rgb(57, 132, 198); font-size: 0.9625rem;"><strong>Gloster Organics</strong></span>
<span style="color: rgb(17, 24, 39); font-size: 0.9625rem;">"</span>
</li>
<li>
Create other RFQ for same product with vendor "<font style="color: rgb(57, 132, 198);"><strong>Astron Agro</strong></font>"
</li>
<li>Compare RFQs</li>
<li>Confirm RFQ based on best price</li>
<li><font style="color: var(--color) !important;">Validate the reception for all quantities at once. </font></li>
</ul>
<h2 style="margin-bottom: 0px;">
<font class="text-black"><strong>Flow 2: Sales from Website (B2B / B2C) </strong></font>
</h2>
<p style="margin-bottom: 0px;"><br /></p>
<p>If the Customer is selling their Products from the website.</p>
<p>To do that,</p>
<ul>
<li>Visit Website and choose pricelist</li>
<li>Go to Shop Section and Choose Products</li>
<li>Process Check Out</li>
<li>
Add Promocode "<strong><font style="color: rgb(57, 132, 198);">AGROFARMA10</font></strong>"
</li>
<li>Make Payment<font class="text-o-color-5">​</font></li>
</ul>
<h2 style="margin-bottom: 0px;">Flow 3: Sales from POS</h2>
<p style="margin-bottom: 0px;"><br /></p>
<p style="margin-bottom: 0px;">For Small Products, customers place orders and make payments at the shop.</p>
<p style="margin-bottom: 0px;"><br /></p>
<ul style="margin-bottom: 0px;">
<li>Create a POS order with required product</li>
<li>
Add a Promocode "<font style="color: rgb(57, 132, 198);"><strong>AGROFARMA10</strong></font>"
</li>
<li>Receive Payment</li>
</ul>
<h2 style="margin-bottom: 0px;"><font class="text-black">Flow 4: Opportunity from Website (B2B) and Survey fill</font></h2>
<p style="margin-bottom: 0px;"><br /></p>
<p style="margin-bottom: 0px;">Receive the opportunities through a website. <br /></p>
<p style="margin-bottom: 0px;"><br /></p>
<ul style="margin-bottom: 0px;">
<li>
​Prospect will go to website and fill the "<font style="color: rgb(57, 132, 198);"><strong>Contact us</strong></font>" form.
</li>
<li>Once form is submitted, opportunity will be created in the system.</li>
<li>Sales person visit the farmer and fill survey(According to Farmer's Input).</li>
<li>Sales person shares quotation and confirm the order.</li>
<li>Make Invoice.</li>
</ul>
]]>
<field name="body">
<![CDATA[
<p>
<span style="font-size: 36px;"><strong>Agricultural Retail </strong></span>
</p>
<p>
<font color="#343541">
Tailored setup for agricultural retail businesses engaged in B2B and B2C sales of farming products. Point of Sale (POS) stores & website offer categorised items such as seeds, pesticides, plant nutrition, and farming equipment.
</font>
</p>
<p>
<span style="color: rgb(52, 53, 65); font-style: normal; font-weight: 400;">
They utilize a suite of modules including Point of Sale, Inventory, Sales, Purchase, Survey, Accounting, Contact, Dashboard, Barcode, and Documents. Expanding into the online realm, a website and E-commerce applications can significantly aid their growth in the agricultural retail sector.
</span>
</p>
<div data-oe-protected="true" class="o_knowledge_behavior_anchor o_knowledge_behavior_type_toc">
<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">​Setup</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">​Business Flows </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_1">Flow 1: Purchase</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 2: Sales from Website (B2B / B2C) </a>
<a href="#" data-oe-nodeid="4" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_1">Flow 3: Sales from POS </a>
<a href="#" data-oe-nodeid="5" class="oe_unremovable o_no_link_popover d-block o_knowledge_toc_link o_knowledge_toc_link_depth_1">Flow 4: Opportunity from Website (B2B) and Survey fill</a>
</div>
</div>
<h1>​Setup</h1>
<p>
<font style="color: var(--color) !important;">
<span style="color: var(--color) !important; background-color: transparent; font-weight: 400; font-style: normal; text-decoration: none; font-size: 18px;">
<span style="font-size: 14px;">The setup includes:</span>
</span>
</font>
</p>
<ul>
<li><font style="background-color: inherit;">Pricelists: B2B</font></li>
<li><font style="background-color: inherit;">Expiry date of Lot</font></li>
<li>Discount & Loyalty</li>
<li><font style="background-color: inherit;">Point of Sale </font></li>
<li><font style="background-color: inherit;">Payment Acquire</font></li>
<li>
<font style="background-color: inherit;">Survey - (new button-"</font>
<font style="background-color: inherit; color: rgb(57, 132, 198);"><strong>Survey Start</strong></font>
<font style="background-color: inherit;">" added through HTML and two fields "</font>
<font style="color: rgb(255, 214, 99);" class="bg-o-color-4"><strong>Survey</strong></font>
<font style="background-color: inherit;">", "</font>
<font style="background-color: inherit; color: rgb(255, 214, 99);"><strong>Answer</strong></font>
<font style="background-color: inherit;">" on Opportunity).<br/>
<br/>
</font>
</li>
</ul>
<h1>​Business Flows<br/></h1>
<h2 style="margin-bottom: 0px;"><font class="text-o-color-5">Flow 1: Purchase</font></h2>
<p style="margin-bottom: 0px;"><br/></p>
<ul style="margin-bottom: 0px;">
<li>
Create RFQ for product "<font style="color: rgb(57, 132, 198);"><strong>Onion Seeds</strong></font>" for vendor "<span style="color: rgb(57, 132, 198); font-size: 0.9625rem;"><strong>Gloster Organics</strong></span>"
<span style="color: rgb(17, 24, 39); font-size: 0.9625rem;">"</span>
</li>
<li>
Create other RFQ for same product with vendor "<font style="color: rgb(57, 132, 198);"><strong>Astron Agro</strong></font>"
</li>
<li>Compare RFQs</li>
<li>Confirm RFQ based on best price</li>
<li><font style="color: var(--color) !important;">Validate the reception for all quantities at once. </font></li>
</ul>
<h2 style="margin-bottom: 0px;">
<font class="text-black"><strong>Flow 2: Sales from Website (B2B / B2C) </strong></font>
</h2>
<p style="margin-bottom: 0px;"><br/></p>
<p>If the Customer is selling their Products from the website.</p>
<p>To do that,</p>
<ul>
<li>Visit Website and choose pricelist</li>
<li>Go to Shop Section and Choose Products</li>
<li>Process Check Out</li>
<li>
Add Promocode "<strong><font style="color: rgb(57, 132, 198);">AGROFARMA10</font></strong>"
</li>
<li>Make Payment<font class="text-o-color-5">​</font></li>
</ul>
<h2 style="margin-bottom: 0px;">Flow 3: Sales from POS</h2>
<p style="margin-bottom: 0px;"><br/></p>
<p style="margin-bottom: 0px;">For Small Products, customers place orders and make payments at the shop.</p>
<p style="margin-bottom: 0px;"><br/></p>
<ul style="margin-bottom: 0px;">
<li>Create a POS order with required product</li>
<li>
Add a Promocode "<font style="color: rgb(57, 132, 198);"><strong>AGROFARMA10</strong></font>"
</li>
<li>Receive Payment</li>
</ul>
<h2 style="margin-bottom: 0px;"><font class="text-black">Flow 4: Opportunity from Website (B2B) and Survey fill</font></h2>
<p style="margin-bottom: 0px;"><br/></p>
<p style="margin-bottom: 0px;">Receive the opportunities through a website. <br/></p>
<p style="margin-bottom: 0px;"><br/></p>
<ul style="margin-bottom: 0px;">
<li>
​Prospect will go to website and fill the "<font style="color: rgb(57, 132, 198);"><strong>Contact us</strong></font>" form.
</li>
<li>Once form is submitted, opportunity will be created in the system.</li>
<li>Sales person visit the farmer and fill survey(According to Farmer's Input).</li>
<li>Sales person shares quotation and confirm the order.</li>
<li>Make Invoice.</li>
</ul>
]]>
</field>
</record>
</odoo>

0 comments on commit 9184cae

Please sign in to comment.