Skip to content

Commit

Permalink
[MIG] stock_dock: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimkhoi3010 committed Jan 8, 2025
1 parent 66deb2b commit 2d5760e
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 18 deletions.
7 changes: 5 additions & 2 deletions stock_dock/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Contributors
- `Trobz <https://trobz.com>`__:

- Dung Tran <[email protected]>
- Khoi (Kien Kim) <[email protected]>

Design
~~~~~~
Expand All @@ -75,8 +76,10 @@ Other credits
- Cosanum
- Camptocamp R&D

The migration of this module from 13.0 to 14.0 was financially supported
by Camptocamp
The migration of this module from 13.0 to 14.0 and then from 16.0 to
18.0 was financially supported by:

- Camptocamp

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion stock_dock/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "Loading Dock",
"summary": "Manage the loading docks of your warehouse.",
"version": "16.0.1.0.1",
"version": "18.0.1.0.1",
"author": "Camptocamp, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-transport",
"category": "Warehouse Management",
Expand Down
1 change: 0 additions & 1 deletion stock_dock/models/stock_dock.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class StockDock(models.Model):
comodel_name="res.company",
string="Company",
related="warehouse_id.company_id",
readonly=True,
store=True,
index=True,
)
Expand Down
1 change: 1 addition & 0 deletions stock_dock/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- Sébastien Alix \<<[email protected]>\>
- [Trobz](https://trobz.com):
- Dung Tran \<<[email protected]>\>
- Khoi (Kien Kim) \<<[email protected]>\>

## Design

Expand Down
5 changes: 3 additions & 2 deletions stock_dock/readme/CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
- Cosanum
- Camptocamp R&D

The migration of this module from 13.0 to 14.0 was financially supported
by Camptocamp
The migration of this module from 13.0 to 14.0 and then from 16.0 to 18.0 was financially supported by:

- Camptocamp
8 changes: 6 additions & 2 deletions stock_dock/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ <h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
<li>Sébastien Alix &lt;<a class="reference external" href="mailto:sebastien.alix&#64;camptocamp.com">sebastien.alix&#64;camptocamp.com</a>&gt;</li>
<li><a class="reference external" href="https://trobz.com">Trobz</a>:<ul>
<li>Dung Tran &lt;<a class="reference external" href="mailto:dungtd&#64;trobz.com">dungtd&#64;trobz.com</a>&gt;</li>
<li>Khoi (Kien Kim) &lt;<a class="reference external" href="mailto:khoikk&#64;trobz.com">khoikk&#64;trobz.com</a>&gt;</li>
</ul>
</li>
</ul>
Expand All @@ -427,8 +428,11 @@ <h2><a class="toc-backref" href="#toc-entry-6">Other credits</a></h2>
<li>Cosanum</li>
<li>Camptocamp R&amp;D</li>
</ul>
<p>The migration of this module from 13.0 to 14.0 was financially supported
by Camptocamp</p>
<p>The migration of this module from 13.0 to 14.0 and then from 16.0 to
18.0 was financially supported by:</p>
<ul class="simple">
<li>Camptocamp</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
Expand Down
14 changes: 4 additions & 10 deletions stock_dock/views/stock_dock.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
invisible="active"
/>
<label for="name" class="oe_edit_only" />
<h1>
Expand All @@ -24,31 +24,25 @@
groups="stock.group_stock_multi_warehouses"
/>
<field name="company_id" groups="base.group_multi_company" />
<field
name="company_id"
groups="!base.group_multi_company"
invisible="1"
/>
<field name="barcode" />
<field name="active" invisible="1" />
</group>
</sheet>
</form>
</field>
</record>
<record id="stock_dock_view_tree" model="ir.ui.view">
<field name="name">stock.dock.tree</field>
<field name="name">stock.dock.list</field>
<field name="model">stock.dock</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="name" />
<field name="barcode" />
<field
name="warehouse_id"
groups="stock.group_stock_multi_warehouses"
/>
<field name="company_id" groups="base.group_multi_company" />
</tree>
</list>
</field>
</record>
<record id="stock_dock_view_search" model="ir.ui.view">
Expand Down

0 comments on commit 2d5760e

Please sign in to comment.