forked from OCA/delivery-carrier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REFactor base_deliv_carr_label: always use package
- Loading branch information
Showing
6 changed files
with
123 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,14 +13,17 @@ Base module for carrier labels | |
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery_carrier-lightgray.png?logo=github | ||
:target: https://github.com/OCA/delivery_carrier/tree/12.0/base_delivery_carrier_label | ||
:alt: OCA/delivery_carrier | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github | ||
:target: https://github.com/OCA/delivery-carrier/tree/12.0/base_delivery_carrier_label | ||
:alt: OCA/delivery-carrier | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/delivery_carrier-12-0/delivery_carrier-12-0-base_delivery_carrier_label | ||
:target: https://translation.odoo-community.org/projects/delivery-carrier-12-0/delivery-carrier-12-0-base_delivery_carrier_label | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/99/12.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| | ||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds a button on delivery orders to generate a label as an | ||
attachement. This module doesn't do anything by itself, it serves as a | ||
|
@@ -31,13 +34,29 @@ base module for other carrier-specific modules. | |
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
** How does it works ? ** | ||
|
||
|
||
In picking UI a button "Shipping label" trigger label generation | ||
calling `action_generate_carrier_label()` in models/stock.picking.py | ||
|
||
|
||
** How to implement my own carrier ? ** | ||
|
||
|
||
Override `generate_shipping_labels()` which is called by previous method | ||
in the same file. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery_carrier/issues>`_. | ||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/delivery_carrier/issues/new?body=module:%20base_delivery_carrier_label%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20base_delivery_carrier_label%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
|
@@ -60,6 +79,7 @@ Contributors | |
* Angel Moya <[email protected]> | ||
* Ismael Calvo <[email protected]> | ||
* Dave Lasley <[email protected]> | ||
* Timothée Ringeard <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
@@ -74,6 +94,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose | |
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/delivery_carrier <https://github.com/OCA/delivery_carrier/tree/12.0/base_delivery_carrier_label>`_ project on GitHub. | ||
This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/12.0/base_delivery_carrier_label>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
** How does it works ? ** | ||
|
||
|
||
In picking UI a button "Shipping label" trigger label generation | ||
calling `action_generate_carrier_label()` in models/stock.picking.py | ||
|
||
|
||
** How to implement my own carrier ? ** | ||
|
||
|
||
Override `generate_shipping_labels()` which is called by previous method | ||
in the same file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters