Skip to content

Commit 8919f8b

Browse files
manuelregidorBhaveshHeliconia
authored andcommittedFeb 25, 2025
[MIG]delivery_carrier_manual_weight: Migration to 17.0
1 parent 28d0fdc commit 8919f8b

File tree

6 files changed

+25
-22
lines changed

6 files changed

+25
-22
lines changed
 

‎delivery_carrier_manual_weight/README.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Delivery Carrier Manual Weight
77
!! This file is generated by oca-gen-addon-readme !!
88
!! changes will be overwritten. !!
99
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:ebda64e7d4f91aed1f58e703f1305f3fca450004a002b7c0008b4b027aa4ab83
10+
!! source digest: sha256:cb7ec31b8da17884fe4d5613b5dc090c793371ad7f11e667d830d58cb03b4047
1111
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
1313
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -64,8 +64,9 @@ Authors
6464
Contributors
6565
------------
6666

67-
- Jordi Masvidal <jordi.masvidal@forgeflow.com>
68-
- Marina Alapont <marina.alapont@forgeflow.com>
67+
- Jordi Masvidal <jordi.masvidal@forgeflow.com>
68+
- 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,

‎delivery_carrier_manual_weight/i18n/delivery_carrier_manual_weight.pot

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 16.0\n"
7+
"Project-Id-Version: Odoo Server 17.0\n"
88
"Report-Msgid-Bugs-To: \n"
99
"Last-Translator: \n"
1010
"Language-Team: \n"
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

+9-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1516
1617
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718
customize this style sheet.
@@ -274,7 +275,7 @@
274275
margin-left: 2em ;
275276
margin-right: 2em }
276277

277-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
278279
pre.code, code { background-color: #eeeeee }
279280
pre.code .comment, code .comment { color: #5C6576 }
280281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
300301
span.pre {
301302
white-space: pre }
302303

303-
span.problematic {
304+
span.problematic, pre.problematic {
304305
color: red }
305306

306307
span.section-subtitle {
@@ -366,7 +367,7 @@ <h1 class="title">Delivery Carrier Manual Weight</h1>
366367
!! This file is generated by oca-gen-addon-readme !!
367368
!! changes will be overwritten. !!
368369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369-
!! source digest: sha256:ebda64e7d4f91aed1f58e703f1305f3fca450004a002b7c0008b4b027aa4ab83
370+
!! source digest: sha256:cb7ec31b8da17884fe4d5613b5dc090c793371ad7f11e667d830d58cb03b4047
370371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371372
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/delivery-carrier/tree/17.0/delivery_carrier_manual_weight"><img alt="OCA/delivery-carrier" src="https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-delivery_carrier_manual_weight"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372373
<p>This module adds a flag in Shipping Methods to allow to set manually the
@@ -411,12 +412,15 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
411412
<ul class="simple">
412413
<li>Jordi Masvidal &lt;<a class="reference external" href="mailto:jordi.masvidal&#64;forgeflow.com">jordi.masvidal&#64;forgeflow.com</a>&gt;</li>
413414
<li>Marina Alapont &lt;<a class="reference external" href="mailto:marina.alapont&#64;forgeflow.com">marina.alapont&#64;forgeflow.com</a>&gt;</li>
415+
<li>Manuel Regidor &lt;<a class="reference external" href="mailto:manuel.regidor&#64;sygel.es">manuel.regidor&#64;sygel.es</a>&gt;</li>
414416
</ul>
415417
</div>
416418
<div class="section" id="maintainers">
417419
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
418420
<p>This module is maintained by the OCA.</p>
419-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
421+
<a class="reference external image-reference" href="https://odoo-community.org">
422+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
423+
</a>
420424
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
421425
mission is to support the collaborative development of Odoo features and
422426
promote its widespread use.</p>

‎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)