Skip to content

Commit 3b0cd1a

Browse files
committed
[IMP]delivery_auto_refresh: Adapt to OCA guidelines
1 parent cb8914e commit 3b0cd1a

File tree

5 files changed

+23
-0
lines changed

5 files changed

+23
-0
lines changed

delivery_auto_refresh/README.rst

+8
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ This module automates the delivery price handling for the following cases:
3737
* If you deliver a different quantity than the ordered one, the delivery price
3838
is adjusted on the linked SO when the picking is transferred.
3939

40+
Part of this module is a backport from Odoo SA and as such, it is not included in the OCA CLA.
41+
That means we do not have a copy of the copyright on it like all other OCA modules.
42+
4043
**Table of contents**
4144

4245
.. contents::
@@ -98,6 +101,11 @@ Contributors
98101

99102
* Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
100103

104+
* Odoo SA <odoo@odoo.com>
105+
106+
* Ooops404 <https://www.ooops404.com/>:
107+
* Eduard Brahas <eduardbrhas@outlook.it>
108+
101109
Maintainers
102110
~~~~~~~~~~~
103111

delivery_auto_refresh/models/sale_order.py

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def _is_auto_add_delivery_line(self):
7979
return False
8080
return self.company_id.sale_auto_add_delivery_line
8181

82+
# Part of Odoo. See LICENSE file for full copyright and licensing details.
8283
def _prepare_delivery_line_vals(self, carrier, price_unit):
8384
context = {}
8485
if self.partner_id:
@@ -118,6 +119,7 @@ def _prepare_delivery_line_vals(self, carrier, price_unit):
118119
values['sequence'] = self.order_line[-1].sequence + 1
119120
del context
120121
return values
122+
# end of the odoo part
121123

122124
def _update_delivery_line(self, delivery_line, price_unit):
123125
"""Update the existing delivery line"""

delivery_auto_refresh/readme/CONTRIBUTORS.rst

+5
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@
88
* Simone Orsi
99

1010
* Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
11+
12+
* Odoo SA <odoo@odoo.com>
13+
14+
* Ooops404 <https://www.ooops404.com/>:
15+
* Eduard Brahas <eduardbrhas@outlook.it>

delivery_auto_refresh/readme/DESCRIPTION.rst

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ This module automates the delivery price handling for the following cases:
66
auto-added when creating/saving.
77
* If you deliver a different quantity than the ordered one, the delivery price
88
is adjusted on the linked SO when the picking is transferred.
9+
10+
Part of this module is a backport from Odoo SA and as such, it is not included in the OCA CLA.
11+
That means we do not have a copy of the copyright on it like all other OCA modules.

delivery_auto_refresh/static/description/index.html

+5
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@ <h1 class="title">Auto-refresh delivery</h1>
379379
<li>If you deliver a different quantity than the ordered one, the delivery price
380380
is adjusted on the linked SO when the picking is transferred.</li>
381381
</ul>
382+
<p>Part of this module is a backport from Odoo SA and as such, it is not included in the OCA CLA.
383+
That means we do not have a copy of the copyright on it like all other OCA modules.</p>
382384
<p><strong>Table of contents</strong></p>
383385
<div class="contents local topic" id="contents">
384386
<ul class="simple">
@@ -445,6 +447,9 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
445447
* Maksym Yankin
446448
* Simone Orsi</li>
447449
<li>Jacques-Etienne Baudoux (BCIM) &lt;<a class="reference external" href="mailto:je&#64;bcim.be">je&#64;bcim.be</a>&gt;</li>
450+
<li>Odoo SA &lt;<a class="reference external" href="mailto:odoo&#64;odoo.com">odoo&#64;odoo.com</a>&gt;</li>
451+
<li>Ooops404 &lt;<a class="reference external" href="https://www.ooops404.com/">https://www.ooops404.com/</a>&gt;:
452+
* Eduard Brahas &lt;<a class="reference external" href="mailto:eduardbrhas&#64;outlook.it">eduardbrhas&#64;outlook.it</a>&gt;</li>
448453
</ul>
449454
</div>
450455
<div class="section" id="maintainers">

0 commit comments

Comments
 (0)