Skip to content

Commit 6486d1d

Browse files
manuelregidorBhaveshHeliconia
authored andcommitted
[MIG]delivery_carrier_manual_weight: Migration to 17.0
1 parent a9ebd34 commit 6486d1d

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

delivery_carrier_manual_weight/README.rst

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Contributors
6666

6767
- Jordi Masvidal <jordi.masvidal@forgeflow.com>
6868
- Marina Alapont <marina.alapont@forgeflow.com>
69+
- Manuel Regidor <manuel.regidor@sygel.es>
6970

7071
Maintainers
7172
-----------

delivery_carrier_manual_weight/__manifest__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
Allow setting weight and shipping weight in stock transfers manually
99
based on carrier.
1010
""",
11-
"version": "16.0.1.0.0",
11+
"version": "17.0.1.0.0",
1212
"category": "Delivery",
1313
"website": "https://github.com/OCA/delivery-carrier",
1414
"author": "ForgeFlow,Odoo Community Association (OCA)",
1515
"license": "AGPL-3",
1616
"depends": [
17-
"delivery",
17+
"stock_delivery",
1818
],
1919
"data": ["views/delivery_view.xml"],
2020
"application": False,
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
- Jordi Masvidal \<<jordi.masvidal@forgeflow.com>\>
22
- Marina Alapont \<<marina.alapont@forgeflow.com>\>
3+
- Manuel Regidor \<<manuel.regidor@sygel.es>\>

delivery_carrier_manual_weight/static/description/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
411411
<ul class="simple">
412412
<li>Jordi Masvidal &lt;<a class="reference external" href="mailto:jordi.masvidal&#64;forgeflow.com">jordi.masvidal&#64;forgeflow.com</a>&gt;</li>
413413
<li>Marina Alapont &lt;<a class="reference external" href="mailto:marina.alapont&#64;forgeflow.com">marina.alapont&#64;forgeflow.com</a>&gt;</li>
414+
<li>Manuel Regidor &lt;<a class="reference external" href="mailto:manuel.regidor&#64;sygel.es">manuel.regidor&#64;sygel.es</a>&gt;</li>
414415
</ul>
415416
</div>
416417
<div class="section" id="maintainers">

delivery_carrier_manual_weight/views/delivery_view.xml

+8-11
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
<record id="view_picking_withcarrier_out_form" model="ir.ui.view">
1616
<field name="name">stock.picking.form - delivery_carrier_manual_weight</field>
1717
<field name="model">stock.picking</field>
18-
<field name="inherit_id" ref="delivery.view_picking_withcarrier_out_form" />
18+
<field
19+
name="inherit_id"
20+
ref="stock_delivery.view_picking_withcarrier_out_form"
21+
/>
1922
<field name="arch" type="xml">
2023
<label for="weight" position="before">
2124
<field name="is_manual_weight" invisible="1" />
22-
<label
23-
for="weight_manual"
24-
attrs="{'invisible': [('is_manual_weight', '=', False)]}"
25-
/>
26-
<div attrs="{'invisible': [('is_manual_weight', '=', False)]}">
25+
<label for="weight_manual" invisible="not is_manual_weight" />
26+
<div invisible="not is_manual_weight">
2727
<field name="weight_manual" class="oe_inline" />
2828
<field
2929
name="weight_uom_name"
@@ -32,11 +32,8 @@
3232
style="margin-left:5px"
3333
/>
3434
</div>
35-
<label
36-
for="shipping_weight_manual"
37-
attrs="{'invisible': [('is_manual_weight', '=', False)]}"
38-
/>
39-
<div attrs="{'invisible': [('is_manual_weight', '=', False)]}">
35+
<label for="shipping_weight_manual" invisible="not is_manual_weight" />
36+
<div invisible="not is_manual_weight">
4037
<field name="shipping_weight_manual" class="oe_inline" />
4138
<field
4239
name="weight_uom_name"

0 commit comments

Comments
 (0)