Skip to content

Commit 9375af5

Browse files
dhrs-odoovava-odoo
authored andcommitted
[ADD] wine_merchant: Wine Merchant
This industry package includes everything for a small wine merchant looking to manage sales, purchases, inventory, events & website.  Basics - The CRM App helps you manage client interactions and track potential leads - The Sales App streamlines quotations  - The Point of Sale App allows you to easily sell in your store - The Ecommerce App showcases your different wines and allow customers to buy them online - The Event App will allow your clients to participate to different events around wine  - The Inventory App help you manage your warehouse in a structured way    - The Purchase App gathers all the different purchase orders you have made                                                                                                                                                               Customisations - This industry relies only on standard Odoo features and does not include any customization. Task-4604101 closes #898 X-original-commit: b6a6d7b Signed-off-by: Vallaeys Valentin (vava) <[email protected]>
1 parent d30ec7e commit 9375af5

File tree

79 files changed

+3544
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+3544
-0
lines changed

.tx/config

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,15 @@ resource_name = wellness_practitioner
613613
replace_edited_strings = false
614614
keep_translations = false
615615

616+
[o:odoo:p:odoo-s18-4:r:wine_merchant]
617+
file_filter = wine_merchant/i18n/<lang>.po
618+
source_file = wine_merchant/i18n/wine_merchant.pot
619+
type = PO
620+
minimum_perc = 0
621+
resource_name = wine_merchant
622+
replace_edited_strings = false
623+
keep_translations = false
624+
616625
[o:odoo:p:odoo-s18-4:r:yoga_pilates]
617626
file_filter = yoga_pilates/i18n/<lang>.po
618627
source_file = yoga_pilates/i18n/yoga_pilates.pot

wine_merchant/__manifest__.py

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
'name': 'Wine Merchant',
3+
'version': '1.0',
4+
'category': 'Retail',
5+
'author': 'Odoo S.A.',
6+
'depends': [
7+
'base_industry_data',
8+
'hr',
9+
'knowledge',
10+
'pos_event',
11+
'pos_loyalty',
12+
'pos_online_payment',
13+
'sale_crm',
14+
'sale_purchase_stock',
15+
'spreadsheet_sale_management',
16+
'website_crm',
17+
'website_event_sale',
18+
'website_sale_loyalty',
19+
'website_sale_stock',
20+
],
21+
'data': [
22+
'data/res_config_settings.xml',
23+
'data/pos_category.xml',
24+
'data/product_public_category.xml',
25+
'data/product_template.xml',
26+
'data/product_attribute.xml',
27+
'data/product_attribute_value.xml',
28+
'data/product_template_attribute_line.xml',
29+
'data/product_template_attribute_value.xml',
30+
'data/product_product.xml',
31+
'data/ir_attachment.xml',
32+
'data/event_event.xml',
33+
'data/event_event_ticket.xml',
34+
'data/knowledge_cover.xml',
35+
'data/knowledge_article.xml',
36+
'data/pos_payment_method.xml',
37+
'data/pos_config.xml',
38+
'data/product_pricelist.xml',
39+
'data/product_pricelist_item.xml',
40+
'data/sale_order_template.xml',
41+
'data/sale_order_template_line.xml',
42+
'data/mail_message.xml',
43+
'data/knowledge_article_favorite.xml',
44+
],
45+
'demo': [
46+
'demo/loyalty_program.xml',
47+
'demo/event_event.xml',
48+
'demo/product_template.xml',
49+
'demo/website.xml',
50+
'demo/loyalty_rule.xml',
51+
'demo/website_view.xml',
52+
'demo/hr_department.xml',
53+
'demo/pos_session.xml',
54+
'demo/res_partner.xml',
55+
'demo/crm_lead.xml',
56+
'demo/calendar_event.xml',
57+
'demo/purchase_order.xml',
58+
'demo/purchase_order_line.xml',
59+
'demo/pos_order.xml',
60+
'demo/loyalty_reward.xml',
61+
'demo/pos_order_line.xml',
62+
'demo/sale_order.xml',
63+
'demo/ir_attachment_post.xml',
64+
'demo/sale_order_line.xml',
65+
'demo/stock_quant.xml',
66+
'demo/mail_activity.xml',
67+
'demo/website_page.xml',
68+
'demo/website_menu.xml',
69+
'demo/hr_employee.xml',
70+
'demo/website_theme_apply.xml',
71+
'demo/sale_order_confirm.xml',
72+
'demo/product_supplierinfo.xml',
73+
'demo/payment_provider_demo.xml',
74+
],
75+
'license': 'OPL-1',
76+
'cloc_exclude': [
77+
'data/knowledge_article.xml',
78+
'demo/website_view.xml',
79+
],
80+
'images': [
81+
'images/main.png',
82+
],
83+
}

wine_merchant/data/event_event.xml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<odoo noupdate="1">
3+
<record id="event_event_1" model="event.event">
4+
<field name="name">Wine Tasting - Bordeaux</field>
5+
<field name="cover_properties"><![CDATA[{"background-image":"url(/web/image/wine_merchant.ir_attachment_1161)","background_color_class":"o_cc3 o_cc","opacity":"0.4","resize_class":"o_half_screen_height o_record_has_cover"}]]></field>
6+
<field name="description"><![CDATA[<section class="s_text_block o_colored_level" data-name="Text">
7+
<h5>Join us for this exclusive event</h5>
8+
<p>Join us for an enchanting evening of wine exploration at our Bordeaux Bliss wine tasting event! Immerse yourself in the rich heritage and exquisite flavors of one of the world’s most celebrated wine regions. </p><p>On April 8, from 17:30pm, we invite wine enthusiasts and novices alike to gather at our winery for a delightful experience that will transport you straight to the sun-drenched vineyards of Bordeaux, France. </p><p>As you sip on a carefully curated selection of Bordeaux wines, ranging from the robust reds of the Left Bank to the elegant whites of the Right Bank, our expert sommelier will guide you through the unique characteristics and stories behind each bottle. Learn about the renowned grape varieties, the art of blending, and the influence of terroir that make Bordeaux wines so exceptional.</p><p>The evening will feature:</p><ul><li>A tasting of [insert number] exquisite Bordeaux wines, including iconic châteaux and hidden gems.</li><li>Pairing of artisanal cheeses and gourmet bites that complement the wines perfectly.</li><li>Engaging discussions and insights into the history and culture of Bordeaux winemaking.</li><li>A chance to mingle with fellow wine lovers and share your own experiences.</li></ul><p>Whether you’re a seasoned connoisseur or just beginning your wine journey, Bordeaux Bliss promises to be an unforgettable evening filled with flavor, knowledge, and camaraderie. </p><p>Reserve your spot today and raise a glass to the timeless elegance of Bordeaux!</p><p>We look forward to sharing this exquisite experience with you! Cheers!</p>
9+
</section>]]></field>
10+
<field name="user_id" ref="base.user_admin"/>
11+
<field name="stage_id" ref="event.event_stage_done"/>
12+
<field name="date_tz">Europe/Brussels</field>
13+
<field name="date_begin" model="res.users" eval="
14+
pytz.timezone(obj().env.user.tz or 'UTC').localize(
15+
DateTime.now().replace(hour=15, minute=30) + relativedelta(months=4, weekday=2)
16+
).astimezone(pytz.UTC).replace(tzinfo=None)
17+
"/>
18+
<field name="date_end" model="res.users" eval="
19+
pytz.timezone(obj().env.user.tz or 'UTC').localize(
20+
DateTime.now().replace(hour=19, minute=30) + relativedelta(months=4, weekday=2)
21+
).astimezone(pytz.UTC).replace(tzinfo=None)
22+
"/>
23+
<field name="country_id" ref="base.be"/>
24+
<field name="image_1024" type="base64" file="wine_merchant/static/src/binary/event_event/1-image_1024"/>
25+
</record>
26+
<record id="event_event_2" model="event.event">
27+
<field name="name">Oenology Class</field>
28+
<field name="cover_properties"><![CDATA[{"background-image":"url(/web/image/wine_merchant.ir_attachment_1161)","background_color_class":"o_cc3 o_cc","opacity":"0.4","resize_class":"o_half_screen_height o_record_has_cover"}]]></field>
29+
<field name="description"><![CDATA[<section class="s_text_block o_colored_level" data-name="Text">
30+
<h5>Join us for this brand new class!</h5><p>Unlock the secrets of wine with our comprehensive 6-month Oenology class! Designed for both beginners and enthusiasts, this immersive program will take you on a journey through the fascinating world of wine production, tasting, and appreciation.</p><p>**Course Highlights:**</p><ul><li>**In-Depth Curriculum:** Explore the science of viticulture, fermentation processes, and the art of blending. Each module is crafted to provide a thorough understanding of the wine-making journey from grape to glass.</li><li>**Hands-On Experience:** Participate in practical workshops, vineyard visits, and tastings that will enhance your sensory skills and deepen your appreciation for different wine styles and regions.</li><li>**Expert Instructors:** Learn from seasoned professionals in the field, including winemakers, sommeliers, and viticulturists, who will share their knowledge and passion for wine.</li><li>**Networking Opportunities:** Connect with fellow wine lovers and industry professionals, expanding your network and enhancing your learning experience.</li></ul><p>**Who Should Enroll:**</p><p>This class is perfect for anyone interested in wine, whether you’re a novice looking to learn the basics or a seasoned enthusiast wanting to deepen your knowledge. No prior experience is necessary!</p><p>Don’t miss this opportunity to elevate your wine knowledge and skills! Secure your spot today and embark on a flavorful journey through the world of oenology. For more information and to register, please visit [Insert Website] or contact us at [Insert Contact Information]. Cheers to your wine education!artners' case studies, methodology or developments. Be there and see directly from the source the features of the new version!</p>
31+
</section>]]></field>
32+
<field name="user_id" ref="base.user_admin"/>
33+
<field name="date_tz">Europe/Brussels</field>
34+
<field name="date_begin" model="res.users" eval="
35+
pytz.timezone(obj().env.user.tz or 'UTC').localize(
36+
DateTime.now().replace(hour=16, minute=30) + relativedelta(months=1, weekday=2)
37+
).astimezone(pytz.UTC).replace(tzinfo=None)
38+
"/>
39+
<field name="date_end" model="res.users" eval="
40+
pytz.timezone(obj().env.user.tz or 'UTC').localize(
41+
DateTime.now().replace(hour=15, minute=30) + relativedelta(months=6, weekday=1)
42+
).astimezone(pytz.UTC).replace(tzinfo=None)
43+
"/>
44+
<field name="country_id" ref="base.be"/>
45+
<field name="image_1024" type="base64" file="wine_merchant/static/src/binary/event_event/1-image_1024"/>
46+
</record>
47+
</odoo>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<odoo noupdate="1">
3+
<record id="event_event_ticket_2" model="event.event.ticket">
4+
<field name="name">Registration for Oenology Class</field>
5+
<field name="seats_max">30</field>
6+
<field name="price">300.0</field>
7+
<field name="event_id" ref="event_event_2"/>
8+
</record>
9+
<record id="event_event_ticket_1" model="event.event.ticket">
10+
<field name="name">Registration for Wine Tasting - Bordeaux</field>
11+
<field name="seats_max">200</field>
12+
<field name="price">20.0</field>
13+
<field name="event_id" ref="event_event_1"/>
14+
</record>
15+
</odoo>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<odoo noupdate="1">
3+
<record id="ir_attachment_1161" model="ir.attachment">
4+
<field name="name">Wine Tasting</field>
5+
<field name="datas" type="base64" file="wine_merchant/static/src/binary/ir_attachment/1141-unsplash_hErgu3X7gvY_wine tasting.jpg"/>
6+
<field name="public" eval="True"/>
7+
</record>
8+
<record id="ir_attachment_1061" model="ir.attachment">
9+
<field name="name">photo-1672835423473-a70011cf49de.jpeg</field>
10+
<field name="datas" type="base64" file="wine_merchant/static/src/binary/ir_attachment/1061-photo-1672835423473-a70011cf49de.jpeg"/>
11+
</record>
12+
</odoo>

0 commit comments

Comments
 (0)