odoo-addon-delivery-ups-oca 17.0.1.0.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. odoo/addons/delivery_ups_oca/README.rst +147 -0
  2. odoo/addons/delivery_ups_oca/__init__.py +3 -0
  3. odoo/addons/delivery_ups_oca/__manifest__.py +26 -0
  4. odoo/addons/delivery_ups_oca/data/stock_package_type_data.xml +120 -0
  5. odoo/addons/delivery_ups_oca/i18n/delivery_ups_oca.pot +399 -0
  6. odoo/addons/delivery_ups_oca/i18n/it.po +471 -0
  7. odoo/addons/delivery_ups_oca/models/__init__.py +5 -0
  8. odoo/addons/delivery_ups_oca/models/delivery_carrier.py +213 -0
  9. odoo/addons/delivery_ups_oca/models/stock_package_type.py +9 -0
  10. odoo/addons/delivery_ups_oca/models/stock_picking.py +14 -0
  11. odoo/addons/delivery_ups_oca/models/ups_request.py +415 -0
  12. odoo/addons/delivery_ups_oca/readme/CONFIGURE.md +17 -0
  13. odoo/addons/delivery_ups_oca/readme/CONTRIBUTORS.md +9 -0
  14. odoo/addons/delivery_ups_oca/readme/DESCRIPTION.md +10 -0
  15. odoo/addons/delivery_ups_oca/readme/ROADMAP.md +2 -0
  16. odoo/addons/delivery_ups_oca/readme/USAGE.md +12 -0
  17. odoo/addons/delivery_ups_oca/static/description/icon.png +0 -0
  18. odoo/addons/delivery_ups_oca/static/description/index.html +498 -0
  19. odoo/addons/delivery_ups_oca/tests/__init__.py +3 -0
  20. odoo/addons/delivery_ups_oca/tests/test_delivery_ups.py +165 -0
  21. odoo/addons/delivery_ups_oca/views/delivery_carrier_view.xml +84 -0
  22. odoo/addons/delivery_ups_oca/views/stock_picking_view.xml +24 -0
  23. odoo_addon_delivery_ups_oca-17.0.1.0.0.2.dist-info/METADATA +166 -0
  24. odoo_addon_delivery_ups_oca-17.0.1.0.0.2.dist-info/RECORD +26 -0
  25. odoo_addon_delivery_ups_oca-17.0.1.0.0.2.dist-info/WHEEL +5 -0
  26. odoo_addon_delivery_ups_oca-17.0.1.0.0.2.dist-info/top_level.txt +1 -0
@@ -0,0 +1,84 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <!--
3
+ Copyright 2021 Tecnativa - Víctor Martínez
4
+ Copyright 2024 Sygel - Manuel Regidor
5
+ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
6
+ -->
7
+ <odoo>
8
+ <record id="view_delivery_carrier_form" model="ir.ui.view">
9
+ <field name="model">delivery.carrier</field>
10
+ <field name="inherit_id" ref="delivery.view_delivery_carrier_form" />
11
+ <field name="arch" type="xml">
12
+ <xpath expr="//notebook" position="inside">
13
+ <page
14
+ string="UPS"
15
+ name="configuration_ups_oca"
16
+ invisible="delivery_type != 'ups'"
17
+ >
18
+ <group>
19
+ <group string="Service">
20
+ <field
21
+ name="ups_service_code"
22
+ required="delivery_type == 'ups'"
23
+ />
24
+ </group>
25
+ <group string="Misc">
26
+ <field
27
+ name="ups_shipper_number"
28
+ required="delivery_type == 'ups'"
29
+ />
30
+ <field
31
+ name="ups_default_packaging_id"
32
+ required="delivery_type == 'ups'"
33
+ context="{'default_package_carrier_type': 'ups'}"
34
+ />
35
+ <field name="ups_use_packages_from_picking" />
36
+ <field
37
+ name="ups_package_dimension_code"
38
+ required="delivery_type == 'ups'"
39
+ />
40
+ <field
41
+ name="ups_package_weight_code"
42
+ required="delivery_type == 'ups'"
43
+ />
44
+ <field name="ups_tracking_state_update_sync" />
45
+ </group>
46
+ <group string="Credentials">
47
+ <field
48
+ name="ups_client_id"
49
+ required="delivery_type == 'ups'"
50
+ />
51
+ <field
52
+ name="ups_client_secret"
53
+ password="True"
54
+ required="delivery_type == 'ups'"
55
+ />
56
+ <button
57
+ name="ups_update_token"
58
+ string="Update Token"
59
+ type="object"
60
+ groups="stock.group_stock_manager"
61
+ />
62
+ </group>
63
+ <group string="Label">
64
+ <field
65
+ name="ups_file_format"
66
+ required="delivery_type == 'ups'"
67
+ />
68
+ </group>
69
+ </group>
70
+ <group>
71
+ <group string="Cash On Delivery">
72
+ <field name="ups_cash_on_delivery" />
73
+ <field
74
+ name="ups_cod_funds_code"
75
+ invisible="not ups_cash_on_delivery"
76
+ required="delivery_type == 'ups' and ups_cash_on_delivery"
77
+ />
78
+ </group>
79
+ </group>
80
+ </page>
81
+ </xpath>
82
+ </field>
83
+ </record>
84
+ </odoo>
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <!--
3
+ Copyright 2022 Tecnativa - Víctor Martínez
4
+ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
5
+ -->
6
+ <odoo>
7
+ <record id="view_picking_withcarrier_out_form" model="ir.ui.view">
8
+ <field name="model">stock.picking</field>
9
+ <field
10
+ name="inherit_id"
11
+ ref="stock_delivery.view_picking_withcarrier_out_form"
12
+ />
13
+ <field name="arch" type="xml">
14
+ <xpath expr="//button[@name='print_return_label']/.." position='inside'>
15
+ <button
16
+ name="ups_get_label"
17
+ string="UPS Label"
18
+ type="object"
19
+ invisible="not carrier_tracking_ref or delivery_type != 'ups' or state != 'done'"
20
+ />
21
+ </xpath>
22
+ </field>
23
+ </record>
24
+ </odoo>
@@ -0,0 +1,166 @@
1
+ Metadata-Version: 2.1
2
+ Name: odoo-addon-delivery_ups_oca
3
+ Version: 17.0.1.0.0.2
4
+ Requires-Python: >=3.10
5
+ Requires-Dist: odoo-addon-delivery_package_number>=17.0dev,<17.1dev
6
+ Requires-Dist: odoo-addon-delivery_price_method>=17.0dev,<17.1dev
7
+ Requires-Dist: odoo-addon-delivery_state>=17.0dev,<17.1dev
8
+ Requires-Dist: odoo>=17.0a,<17.1dev
9
+ Summary: Integrate UPS webservice
10
+ Home-page: https://github.com/OCA/delivery-carrier
11
+ License: AGPL-3
12
+ Author: Hunki Enterprises BV, Tecnativa, ForgeFlow, Odoo Community Association (OCA)
13
+ Author-email: support@odoo-community.org
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Framework :: Odoo
16
+ Classifier: Framework :: Odoo :: 17.0
17
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
18
+ Classifier: Development Status :: 4 - Beta
19
+
20
+ .. image:: https://odoo-community.org/readme-banner-image
21
+ :target: https://odoo-community.org/get-involved?utm_source=readme
22
+ :alt: Odoo Community Association
23
+
24
+ ================
25
+ Delivery UPS OCA
26
+ ================
27
+
28
+ ..
29
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30
+ !! This file is generated by oca-gen-addon-readme !!
31
+ !! changes will be overwritten. !!
32
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
33
+ !! source digest: sha256:5c5c1b09dfe20724c425c5b6c39f037b475f251b53e312baa365316b53fad92d
34
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
35
+
36
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
37
+ :target: https://odoo-community.org/page/development-status
38
+ :alt: Beta
39
+ .. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
40
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
41
+ :alt: License: AGPL-3
42
+ .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github
43
+ :target: https://github.com/OCA/delivery-carrier/tree/17.0/delivery_ups_oca
44
+ :alt: OCA/delivery-carrier
45
+ .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
46
+ :target: https://translation.odoo-community.org/projects/delivery-carrier-17-0/delivery-carrier-17-0-delivery_ups_oca
47
+ :alt: Translate me on Weblate
48
+ .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
49
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=17.0
50
+ :alt: Try me on Runboat
51
+
52
+ |badge1| |badge2| |badge3| |badge4| |badge5|
53
+
54
+ This module adds `UPS <https://ups.com>`__ to the available carriers.
55
+
56
+ It allows you to register shippings, generate labels, get rates from
57
+ order, read shipping states and cancel shipments using UPS webservice,
58
+ so no need of exchanging any kind of file.
59
+
60
+ When a sales order is created in Odoo and the UPS carrier is assigned,
61
+ the shipping price that will be obtained will be the price that the UPS
62
+ webservice estimates according to the order information (address and
63
+ products).
64
+
65
+ **Table of contents**
66
+
67
+ .. contents::
68
+ :local:
69
+
70
+ Configuration
71
+ =============
72
+
73
+ To configure this module, you need to:
74
+
75
+ 1. Add a Shipping Method with Provider ``UPS`` and fill in your UPS
76
+ credentials (Client ID and Client Secret)
77
+ 2. Configure in Odoo all required fields of the UPS tab with your
78
+ account data https://wwwapps.ups.com/ppc/ppc.html (Shipper number,
79
+ Default Packaging, Package Dimension Code, Package Weight Code and
80
+ File Format).
81
+ 3. If yo have "Tracking state update sync" checked all delivery orders
82
+ state check will be done querying UPS services.
83
+ 4. It is possible to create a UPS carrier for cash on delivery parcels.
84
+ Select the ``ups`` delivery type and check the "Cash on Delivery"
85
+ checkbox under the "UPS" tab. It is required to select the "UPS COD
86
+ Funds Code" when the "Cash on Delivery" option is selected.
87
+
88
+ **NOTE** You need to add an APP from https://developer.ups.com/ for
89
+ using the webservice.
90
+
91
+ Usage
92
+ =====
93
+
94
+ You have to set the created shipping method in the delivery order to
95
+ ship:
96
+
97
+ - When the picking is 'Transferred', a *Create Shipping Label* button
98
+ appears. Just click on it, and if all went well, the label will be
99
+ 'attached'.
100
+ - If the shipment creation process fails, a validation error will appear
101
+ displaying UPS error.
102
+ - When the delivery order is cancelled, it's automatically cancelled too
103
+ in UPS.
104
+ - If you have "Tracking state update sync" checked in the shipping
105
+ method, a periodical state check will be done querying UPS services.
106
+
107
+ Known issues / Roadmap
108
+ ======================
109
+
110
+ - Support international forms
111
+ - Support package service options
112
+
113
+ Bug Tracker
114
+ ===========
115
+
116
+ Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/issues>`_.
117
+ In case of trouble, please check there if your issue has already been reported.
118
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
119
+ `feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20delivery_ups_oca%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
120
+
121
+ Do not contact contributors directly about support or help with technical issues.
122
+
123
+ Credits
124
+ =======
125
+
126
+ Authors
127
+ -------
128
+
129
+ * Hunki Enterprises BV
130
+ * Tecnativa
131
+ * ForgeFlow
132
+
133
+ Contributors
134
+ ------------
135
+
136
+ - Holger Brunn <mail@hunki-enterprises.nl>
137
+ (https://hunki-enterprises.nl)
138
+ - `Tecnativa <https://www.tecnativa.com>`__:
139
+
140
+ - Víctor Martínez
141
+ - Pedro M. Baeza
142
+
143
+ - `ForgeFlow <https://www.forgeflow.com>`__:
144
+
145
+ - Jordi Ballester
146
+
147
+ - `Sygel <https://www.sygel.es>`__:
148
+
149
+ - Manuel Regidor
150
+
151
+ Maintainers
152
+ -----------
153
+
154
+ This module is maintained by the OCA.
155
+
156
+ .. image:: https://odoo-community.org/logo.png
157
+ :alt: Odoo Community Association
158
+ :target: https://odoo-community.org
159
+
160
+ OCA, or the Odoo Community Association, is a nonprofit organization whose
161
+ mission is to support the collaborative development of Odoo features and
162
+ promote its widespread use.
163
+
164
+ This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/17.0/delivery_ups_oca>`_ project on GitHub.
165
+
166
+ You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -0,0 +1,26 @@
1
+ odoo/addons/delivery_ups_oca/README.rst,sha256=8rBIYzMyymUxo8nHD-pOuguEYb5JuzVsfOHv_mqEbJQ,5291
2
+ odoo/addons/delivery_ups_oca/__init__.py,sha256=eShEGRadAlxopoLqIQ4-N42FM7MWPSuBe0h_l1cXTPM,87
3
+ odoo/addons/delivery_ups_oca/__manifest__.py,sha256=YsB6Xukwk7WoqkTSicRQ2s1SuOdL9LeBmWDxLTg5a2A,845
4
+ odoo/addons/delivery_ups_oca/data/stock_package_type_data.xml,sha256=PhFMtGKBmbdaokX8F3gasubzAIIOgmxoa0lwkwbetEw,5691
5
+ odoo/addons/delivery_ups_oca/i18n/delivery_ups_oca.pot,sha256=X6zrMobX0kOQX9m-zRw74GQbmUdZDgC3w985a1isYQ4,13026
6
+ odoo/addons/delivery_ups_oca/i18n/it.po,sha256=0a-GQajssF_Zs4BZDROEzL4KX3uWhRxUuToTbM8VMfA,18049
7
+ odoo/addons/delivery_ups_oca/models/__init__.py,sha256=yuukCOHXALZomJz8kz97Y1mbp_uXm6h8wNc3UqbOcVU,183
8
+ odoo/addons/delivery_ups_oca/models/delivery_carrier.py,sha256=-4gHbfS8itvPAP8nXSlHf6RIH8fQF5jmwNj_iuzldbE,8090
9
+ odoo/addons/delivery_ups_oca/models/stock_package_type.py,sha256=nraw8nT02RRIRbP1ulh_6vqYnorPaWOzcSemzqdmEDs,283
10
+ odoo/addons/delivery_ups_oca/models/stock_picking.py,sha256=TNroETJZ0JJAP5Nttvv0qZWeetHZ7ZuUzxXGgmZsGm8,446
11
+ odoo/addons/delivery_ups_oca/models/ups_request.py,sha256=trYb58tL9llfUXdbzdO5Uul7GbCi8xEr6uMz7o0eLVo,16720
12
+ odoo/addons/delivery_ups_oca/readme/CONFIGURE.md,sha256=mDViGpGJ8BtEC-Gm60D47C5tmaUUvG_lZZRPfUqkmlI,878
13
+ odoo/addons/delivery_ups_oca/readme/CONTRIBUTORS.md,sha256=5rRwa8H463CvvXeLURAeGnmMrb0eWAHTyutPGXbr-0A,279
14
+ odoo/addons/delivery_ups_oca/readme/DESCRIPTION.md,sha256=i8wS58sFjqj3r0AkEFUAeg3_q54AQQaO3LvMMTnxNf4,475
15
+ odoo/addons/delivery_ups_oca/readme/ROADMAP.md,sha256=lx0aOESEhWHxzdOlvp4giX3Py3izFcSxk3XIY_eUD00,64
16
+ odoo/addons/delivery_ups_oca/readme/USAGE.md,sha256=aqWOcJ4GIbsoxkXOpJJAIOWwbvAfSEnsqDG-NGjfTbE,547
17
+ odoo/addons/delivery_ups_oca/static/description/icon.png,sha256=KYPV9VXO6IFBW-uC3sbMyoLtQGvPtl3b7O8W1VgikwA,38594
18
+ odoo/addons/delivery_ups_oca/static/description/index.html,sha256=AbMLf93CF8HFfIbWjs0zOEVufDaqKEMCZSS5sfe8qoY,15910
19
+ odoo/addons/delivery_ups_oca/tests/__init__.py,sha256=RRkl0Vake-JsHRO2NhaW2M3itoAWIp2MnZeQ2Uq4vs0,98
20
+ odoo/addons/delivery_ups_oca/tests/test_delivery_ups.py,sha256=KTTrObhWl7TctbnhHQRsZKZnxI1Wlq7mW26CSoeZWG0,6304
21
+ odoo/addons/delivery_ups_oca/views/delivery_carrier_view.xml,sha256=YIG7BbpZFr7Jc3uAz3lYu-U37n_EYWGmBdz1NxHF1sI,3734
22
+ odoo/addons/delivery_ups_oca/views/stock_picking_view.xml,sha256=OeasGlIKNxTUNLAzNXXM7TPSeUdCm5Sxt2ZQrzmxy90,851
23
+ odoo_addon_delivery_ups_oca-17.0.1.0.0.2.dist-info/METADATA,sha256=9DGinc6SBK4MRhin9qwVgcp7y9ykBCdI8axFEQvdRtk,6080
24
+ odoo_addon_delivery_ups_oca-17.0.1.0.0.2.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
25
+ odoo_addon_delivery_ups_oca-17.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
26
+ odoo_addon_delivery_ups_oca-17.0.1.0.0.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: Whool 1.2
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+