File tree 4 files changed +9
-3
lines changed
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Delivery CTT Express
7
7
!! This file is generated by oca-gen-addon-readme !!
8
8
!! changes will be overwritten. !!
9
9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:efe5b3f4a10b36fe4716430005bf493c7dff939003e6298cdd8839f2a9f5687d
10
+ !! source digest: sha256:99cdf17bfe832d52ac72ec2c8b8f2b3a96b0b1a518fce0c0b1d3725c424311fd
11
11
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
13
13
.. |badge1 | image :: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -132,6 +132,8 @@ Contributors
132
132
133
133
* David Vidal
134
134
135
+ * Michael Tietz (MT Software) <mtietz@mt-software.de>
136
+
135
137
Other credits
136
138
~~~~~~~~~~~~~
137
139
Original file line number Diff line number Diff line change 1
1
# Copyright 2022 Tecnativa - David Vidal
2
+ # Copyright 2024 Michael Tietz (MT Software) <mtietz@mt-software.de>
2
3
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3
4
from odoo import _ , api , fields , models
4
5
from odoo .exceptions import UserError
@@ -168,7 +169,7 @@ def _prepare_cttexpress_shipping(self, picking):
168
169
return {
169
170
"ClientReference" : reference , # Optional
170
171
"ClientDepartmentCode" : None , # Optional (no core field matches)
171
- "ItemsCount" : picking .number_of_packages ,
172
+ "ItemsCount" : picking .number_of_packages or 1 ,
172
173
"IsClientPodScanRequired" : None , # Optional
173
174
"RecipientAddress" : recipient .street ,
174
175
"RecipientCountry" : recipient .country_id .code ,
Original file line number Diff line number Diff line change 1
1
* `Tecnativa <https://www.tecnativa.com >`_:
2
2
3
3
* David Vidal
4
+
5
+ * Michael Tietz (MT Software) <mtietz@mt-software.de>
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ <h1 class="title">Delivery CTT Express</h1>
367
367
!! This file is generated by oca-gen-addon-readme !!
368
368
!! changes will be overwritten. !!
369
369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:efe5b3f4a10b36fe4716430005bf493c7dff939003e6298cdd8839f2a9f5687d
370
+ !! source digest: sha256:99cdf17bfe832d52ac72ec2c8b8f2b3a96b0b1a518fce0c0b1d3725c424311fd
371
371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
< 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/14.0/delivery_cttexpress "> < 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-14-0/delivery-carrier-14-0-delivery_cttexpress "> < 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&target_branch=14.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373
373
< p > CTT Express Iberic Web Services API intration with Odoo. Valid for Portugal and Spain.</ p >
@@ -479,6 +479,7 @@ <h2><a class="toc-backref" href="#toc-entry-8">Contributors</a></h2>
479
479
< li > David Vidal</ li >
480
480
</ ul >
481
481
</ li >
482
+ < li > Michael Tietz (MT Software) << a class ="reference external " href ="mailto:mtietz@mt-software.de "> mtietz@mt-software.de</ a > ></ li >
482
483
</ ul >
483
484
</ div >
484
485
< div class ="section " id ="other-credits ">
You can’t perform that action at this time.
0 commit comments