Skip to content

Commit 6ec9ed6

Browse files
committed
[ADD] vineyard: add industry test
1 parent 20a1b87 commit 6ec9ed6

15 files changed

+274
-214
lines changed

vineyard/__init__.py

Whitespace-only changes.

vineyard/__manifest__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
'demo/project_project.xml',
6565
'demo/stock_picking.xml',
6666
'demo/stock_move.xml',
67-
'demo/stock_picking_post.xml',
6867
'demo/mrp_production.xml',
68+
'demo/mrp_eco_stage.xml',
6969
'demo/mrp_eco.xml',
7070
'demo/ir_attachment_post.xml',
7171
'demo/project_tags.xml',
@@ -79,7 +79,6 @@
7979
'demo/website_view.xml',
8080
'demo/website.xml',
8181
],
82-
'license': 'OPL-1',
8382
'cloc_exclude': [
8483
'data/knowledge_article.xml',
8584
'data/ir_actions_server.xml',
@@ -88,4 +87,7 @@
8887
'images': [
8988
'images/main.png',
9089
],
90+
'license': 'OPL-1',
91+
'url': "https://www.odoo.com/trial?industry&selected_app=vineyard",
92+
'website': "https://www.odoo.com/industries/vineyard",
9193
}

vineyard/data/ir_ui_view.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,16 @@
315315
<xpath expr="//field[@name='name']" position="after">
316316
<field name="x_control_point_title" optional="show"/>
317317
</xpath>
318+
<xpath expr="//field[@name='title']" position="attributes">
319+
<attribute name="optional">hide</attribute>
320+
</xpath>
318321
<xpath expr="//field[@name='lot_ids']" position="attributes">
319322
<attribute name="optional">hide</attribute>
320323
</xpath>
321-
<xpath expr="//field[@name='user_id']" position="after">
324+
<xpath expr="//field[@name='finished_lot_ids']" position="attributes">
325+
<attribute name="optional">show</attribute>
326+
</xpath>
327+
<xpath expr="//field[@name='control_date']" position="before">
322328
<field name="x_recipe_iteration" optional="show"/>
323329
</xpath>
324330
<xpath expr="//field[@name='user_id']" position="attributes">

vineyard/data/knowledge_article.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<p><strong>Track orders</strong> from sale to delivery.</p>
121121
</li>
122122
</ul>
123-
<p><a href="https://www.odoo.com/documentation/latest/applications/websites/website.html" class="btn btn-secondary">🎓 Website</a><a href="https://www.odoo.com/documentation/latest/applications/websites/ecommerce.html" class="btn btn-secondary">🎓 eCommerce</a></p>
123+
<p><a href="https://www.odoo.com/documentation/latest/applications/websites/website.html" class="btn btn-secondary">🎓 Website</a> <a href="https://www.odoo.com/documentation/latest/applications/websites/ecommerce.html" class="btn btn-secondary">🎓 eCommerce</a></p>
124124
<p><br/></p>
125125
<h2 data-heading-link-id="1096965982633"><strong>Field Service 🚜</strong></h2>
126126
<p>Schedule vineyard maintenance tasks and track execution in real time, whether done by in-house staff or contractors.</p>
@@ -180,7 +180,7 @@
180180
<p>You now have available malbec must for some assemblages!;</p>
181181
</div>
182182
</div>
183-
<p><a class="btn btn-secondary" href="https://www.odoo.com/documentation/latest/applications/inventory_and_mrp/manufacturing.html">🎓 Manufacturing</a><a class="btn btn-secondary" href="https://www.odoo.com/documentation/latest/applications/inventory_and_mrp/inventory.html">🎓 Inventory</a></p>
183+
<p><a class="btn btn-secondary" href="https://www.odoo.com/documentation/latest/applications/inventory_and_mrp/manufacturing.html">🎓 Manufacturing</a> <a class="btn btn-secondary" href="https://www.odoo.com/documentation/latest/applications/inventory_and_mrp/inventory.html">🎓 Inventory</a></p>
184184
<p><br/></p>
185185
<h2 data-heading-link-id="756424972770"><strong>Quality ✅</strong></h2>
186186
<p>Monitor and document wine quality, from grape reception to bottled product release.</p>
@@ -315,7 +315,7 @@
315315
<p><strong>Review history</strong> for audits.</p>
316316
</li>
317317
</ul>
318-
<p><a class="btn btn-secondary" href="https://vineyard.odoo.com/apps/modules/saas-18.4/excise_management">🎓 Excise Management</a></p>
318+
<p><a class="btn btn-secondary" href="https://apps.odoo.com/apps/modules/19.0/excise_management">🎓 Excise Management</a></p>
319319
<p><br/></p>
320320
<h2 data-heading-link-id="727075169307"><strong>Harvest Management 🌾</strong></h2>
321321
<p>Monitor harvest performance year after year.</p>

vineyard/data/mrp_bom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,46 @@
33
<record id="mrp_bom_4" model="mrp.bom">
44
<field name="code">BLENDING Structured &amp; Bold</field>
55
<field name="product_tmpl_id" ref="product_template_15"/>
6+
<field name="product_uom_id" ref="excise_management.uom_hl"/>
67
</record>
78
<record id="mrp_bom_5" model="mrp.bom">
89
<field name="code">BLENDING Smooth &amp; Juicy</field>
910
<field name="product_tmpl_id" ref="product_template_16"/>
11+
<field name="product_uom_id" ref="excise_management.uom_hl"/>
1012
</record>
1113
<record id="mrp_bom_6" model="mrp.bom">
1214
<field name="code">BLENDING Spicy &amp; Rich</field>
1315
<field name="product_tmpl_id" ref="product_template_17"/>
16+
<field name="product_uom_id" ref="excise_management.uom_hl"/>
1417
</record>
1518
<record id="mrp_bom_7" model="mrp.bom">
1619
<field name="code">MUSTING Malbec</field>
1720
<field name="product_tmpl_id" ref="product_template_14"/>
21+
<field name="product_uom_id" ref="excise_management.uom_hl"/>
1822
</record>
1923
<record id="mrp_bom_8" model="mrp.bom">
2024
<field name="code">MUSTING Cabernet Franc</field>
2125
<field name="product_tmpl_id" ref="product_template_12"/>
26+
<field name="product_uom_id" ref="excise_management.uom_hl"/>
2227
</record>
2328
<record id="mrp_bom_9" model="mrp.bom">
2429
<field name="code">MUSTING Syrah</field>
2530
<field name="product_tmpl_id" ref="product_template_13"/>
31+
<field name="product_uom_id" ref="excise_management.uom_hl"/>
2632
</record>
2733
<record id="mrp_bom_13" model="mrp.bom">
2834
<field name="code">BOTTLING Structured &amp; Bold</field>
2935
<field name="product_tmpl_id" ref="product_template_27"/>
36+
<field name="product_uom_id" ref="uom.product_uom_unit"/>
3037
</record>
3138
<record id="mrp_bom_14" model="mrp.bom">
3239
<field name="code">BOTTLING Spicy &amp; Rich</field>
3340
<field name="product_tmpl_id" ref="product_template_25"/>
41+
<field name="product_uom_id" ref="uom.product_uom_unit"/>
3442
</record>
3543
<record id="mrp_bom_15" model="mrp.bom">
3644
<field name="code">BOTTLING Smooth &amp; Juicy</field>
3745
<field name="product_tmpl_id" ref="product_template_26"/>
46+
<field name="product_uom_id" ref="uom.product_uom_unit"/>
3847
</record>
3948
</odoo>

0 commit comments

Comments
 (0)