From 10187b8aed507063f10569b4de884be8b4f779f1 Mon Sep 17 00:00:00 2001 From: Alexei Rivera Date: Sun, 28 Mar 2021 18:34:27 -0400 Subject: [PATCH] [MIG] partner_label: Migration to 14.0 --- partner_label/README.rst | 69 ++- partner_label/__manifest__.py | 3 +- .../{CONTRIBUTERS.rst => CONTRIBUTORS.rst} | 1 + partner_label/readme/DESCRIPTION.rst | 1 + partner_label/reports/res_partner.xml | 17 +- partner_label/static/description/index.html | 439 ++++++++++++++++++ 6 files changed, 497 insertions(+), 33 deletions(-) rename partner_label/readme/{CONTRIBUTERS.rst => CONTRIBUTORS.rst} (64%) create mode 100644 partner_label/readme/DESCRIPTION.rst create mode 100644 partner_label/static/description/index.html diff --git a/partner_label/README.rst b/partner_label/README.rst index 1e87a9e32..97fc2fae3 100644 --- a/partner_label/README.rst +++ b/partner_label/README.rst @@ -1,18 +1,40 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ============== Partner labels ============== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |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%2Fpartner--contact-lightgray.png?logo=github + :target: https://github.com/OCA/partner-contact/tree/14.0/partner_label + :alt: OCA/partner-contact +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-partner_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/134/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module was written to allow users to print address labels for partners. +**Table of contents** + +.. contents:: + :local: + Configuration ============= -To configure this module, you need to: - #. go to `Settings / General settings` #. scroll to header `Labels configuration` #. change width, height, padding and margin to fit your label stickers, if necessary change the paper format @@ -24,45 +46,44 @@ Usage #. mark partners #. print your labels -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/13.0 - Bug Tracker =========== -Bugs are tracked on `GitHub 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. +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* Therp BV Contributors ------------- +~~~~~~~~~~~~ * Holger Brunn * Druidoo +* Alexei Rivera -Do not contact contributors directly about help with questions or problems concerning this addon, but use the `community mailing list `_ or the `appropriate specialized mailinglist `_ for help, and the bug tracker linked in `Bug Tracker`_ above for technical issues. +Maintainers +~~~~~~~~~~~ -Maintainer ----------- +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/partner-contact `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/partner_label/__manifest__.py b/partner_label/__manifest__.py index 3e1e24064..031107552 100644 --- a/partner_label/__manifest__.py +++ b/partner_label/__manifest__.py @@ -3,8 +3,9 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Partner labels", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "author": "Therp BV,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/partner-contact", "license": "AGPL-3", "category": "Base", "summary": "Print partner labels", diff --git a/partner_label/readme/CONTRIBUTERS.rst b/partner_label/readme/CONTRIBUTORS.rst similarity index 64% rename from partner_label/readme/CONTRIBUTERS.rst rename to partner_label/readme/CONTRIBUTORS.rst index a70c0eece..ac32d1c76 100644 --- a/partner_label/readme/CONTRIBUTERS.rst +++ b/partner_label/readme/CONTRIBUTORS.rst @@ -1,2 +1,3 @@ * Holger Brunn * Druidoo +* Alexei Rivera diff --git a/partner_label/readme/DESCRIPTION.rst b/partner_label/readme/DESCRIPTION.rst new file mode 100644 index 000000000..77b7686b1 --- /dev/null +++ b/partner_label/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module was written to allow users to print address labels for partners. diff --git a/partner_label/reports/res_partner.xml b/partner_label/reports/res_partner.xml index 743585e7e..f8417f0b2 100644 --- a/partner_label/reports/res_partner.xml +++ b/partner_label/reports/res_partner.xml @@ -25,12 +25,13 @@ - + + Partner Labels + res.partner + qweb-pdf + partner_label.view_res_partner_label + + report + + diff --git a/partner_label/static/description/index.html b/partner_label/static/description/index.html new file mode 100644 index 000000000..ab6a69b73 --- /dev/null +++ b/partner_label/static/description/index.html @@ -0,0 +1,439 @@ + + + + + + +Partner labels + + + +
+

Partner labels

+ + +

Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runbot

+

This module was written to allow users to print address labels for partners.

+

Table of contents

+ +
+

Configuration

+
    +
  1. go to Settings / General settings
  2. +
  3. scroll to header Labels configuration
  4. +
  5. change width, height, padding and margin to fit your label stickers, if necessary change the paper format
  6. +
  7. you can preview your changes by pressing the Preview button
  8. +
+
+
+

Usage

+
    +
  1. mark partners
  2. +
  3. print your labels
  4. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Therp BV
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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/partner-contact project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ +