Browse Source

Merge PR #873 into 12.0

Signed-off-by NL66278
12.0
OCA-git-bot 5 years ago
parent
commit
53b42bb116
  1. 67
      partner_label/README.rst
  2. 1
      partner_label/__init__.py
  3. 18
      partner_label/__manifest__.py
  4. 205
      partner_label/i18n/cs_CZ.po
  5. 194
      partner_label/i18n/da.po
  6. 194
      partner_label/i18n/de.po
  7. 205
      partner_label/i18n/es.po
  8. 194
      partner_label/i18n/fr.po
  9. 195
      partner_label/i18n/hr.po
  10. 197
      partner_label/i18n/hr_HR.po
  11. 194
      partner_label/i18n/it.po
  12. 195
      partner_label/i18n/nl_NL.po
  13. 187
      partner_label/i18n/partner_label.pot
  14. 195
      partner_label/i18n/pt_BR.po
  15. 195
      partner_label/i18n/pt_PT.po
  16. 195
      partner_label/i18n/sl.po
  17. 2
      partner_label/models/__init__.py
  18. 41
      partner_label/models/res_company.py
  19. 66
      partner_label/models/res_config_settings.py
  20. 31
      partner_label/reports/res_partner.xml
  21. BIN
      partner_label/static/description/icon.png
  22. 1
      partner_label/tests/__init__.py
  23. 26
      partner_label/tests/test_partner_label.py
  24. 63
      partner_label/views/base_config_settings.xml

67
partner_label/README.rst

@ -0,0 +1,67 @@
.. 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 module was written to allow users to print address labels for partners.
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
#. you can preview your changes by pressing the `Preview` button
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/10.0
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/partner-contact/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.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
Contributors
------------
* Holger Brunn <hbrunn@therp.nl>
Do not contact contributors directly about help with questions or problems concerning this addon, but use the `community mailing list <mailto:community@mail.odoo.com>`_ or the `appropriate specialized mailinglist <https://odoo-community.org/groups>`_ for help, and the bug tracker linked in `Bug Tracker`_ above for technical issues.
Maintainer
----------
.. 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.

1
partner_label/__init__.py

@ -0,0 +1 @@
from . import models

18
partner_label/__manifest__.py

@ -0,0 +1,18 @@
# Copyright 2019 Therp BV <https://therp.nl>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Partner labels",
"version": "12.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Base",
"summary": "Print partner labels",
"depends": [
'base_setup',
],
"data": [
"views/base_config_settings.xml",
"reports/res_partner.xml",
],
"installable": True,
}

205
partner_label/i18n/cs_CZ.po

@ -0,0 +1,205 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-21 03:59+0000\n"
"PO-Revision-Date: 2018-02-21 03:59+0000\n"
"Last-Translator: Lukáš Spurný <lukasspurny8@gmail.com>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr "&lt;!DOCTYPE html&gt;"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Společnosti"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr "Výška"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr "Výška v milimetrech"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr "Konfigurace štítků"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr "Okraj"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
#, fuzzy
msgid "Margin Bottom"
msgstr "Okraj"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
#, fuzzy
msgid "Margin Left"
msgstr "Okraj"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
#, fuzzy
msgid "Margin Right"
msgstr "Okraj"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
#, fuzzy
msgid "Margin Top"
msgstr "Okraj"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
#, fuzzy
msgid "Margin bottom in millimeters"
msgstr "Okraj v milimetrech"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
#, fuzzy
msgid "Margin left in millimeters"
msgstr "Okraj v milimetrech"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
#, fuzzy
msgid "Margin right in millimeters"
msgstr "Okraj v milimetrech"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
#, fuzzy
msgid "Margin top in millimeters"
msgstr "Okraj v milimetrech"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr "Polstrování"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr "Padání v milimetrech"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr "Formát papíru"
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
#, fuzzy
msgid "Partner Labels"
msgstr "Štítky"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr "Náhled"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
#, fuzzy
msgid "Right"
msgstr "Výška"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr "Šířka"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr "Šířka v milimetrech"
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr "mm"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

194
partner_label/i18n/da.po

@ -0,0 +1,194 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Virksomheder"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

194
partner_label/i18n/de.po

@ -0,0 +1,194 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Unternehmen"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

205
partner_label/i18n/es.po

@ -0,0 +1,205 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# enjolras <yo@miguelrevilla.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-21 03:59+0000\n"
"PO-Revision-Date: 2018-02-21 03:59+0000\n"
"Last-Translator: enjolras <yo@miguelrevilla.com>, 2018\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr "&lt;!DOCTYPE html&gt;"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Compañías"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr "Alto"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr "Alto en milímetros"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr "Configuración de etiquetas"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr "Margen"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
#, fuzzy
msgid "Margin Bottom"
msgstr "Margen"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
#, fuzzy
msgid "Margin Left"
msgstr "Margen"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
#, fuzzy
msgid "Margin Right"
msgstr "Margen"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
#, fuzzy
msgid "Margin Top"
msgstr "Margen"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
#, fuzzy
msgid "Margin bottom in millimeters"
msgstr "Margen en milímetros"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
#, fuzzy
msgid "Margin left in millimeters"
msgstr "Margen en milímetros"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
#, fuzzy
msgid "Margin right in millimeters"
msgstr "Margen en milímetros"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
#, fuzzy
msgid "Margin top in millimeters"
msgstr "Margen en milímetros"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr "Espaciado"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr "Espaciado en milímetros"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr "Formato del papel"
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
#, fuzzy
msgid "Partner Labels"
msgstr "Etiquetas"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr "Previsualizar"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
#, fuzzy
msgid "Right"
msgstr "Alto"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr "Ancho"
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr "Ancho en milímetros"
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr "mm"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

194
partner_label/i18n/fr.po

@ -0,0 +1,194 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Sociétés"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

195
partner_label/i18n/hr.po

@ -0,0 +1,195 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# Bole <bole@dajmi5.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-21 03:59+0000\n"
"PO-Revision-Date: 2018-02-21 03:59+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2018\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Tvrtke"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

197
partner_label/i18n/hr_HR.po

@ -0,0 +1,197 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Bole <bole@dajmi5.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/"
"hr_HR/)\n"
"Language: hr_HR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Poduzeća"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

194
partner_label/i18n/it.po

@ -0,0 +1,194 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Aziende"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

195
partner_label/i18n/nl_NL.po

@ -0,0 +1,195 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# Peter Hageman <hageman.p@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
"teams/23907/nl_NL/)\n"
"Language: nl_NL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Bedrijven"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr "base.config.settings"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

187
partner_label/i18n/partner_label.pot

@ -0,0 +1,187 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm,\n"
" Right:"
msgstr ""

195
partner_label/i18n/pt_BR.po

@ -0,0 +1,195 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
"teams/23907/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Empresas"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

195
partner_label/i18n/pt_PT.po

@ -0,0 +1,195 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# Tiago Baptista <tiago@baptista.net>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: Tiago Baptista <tiago@baptista.net>, 2017\n"
"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/"
"teams/23907/pt_PT/)\n"
"Language: pt_PT\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Empresas"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

195
partner_label/i18n/sl.po

@ -0,0 +1,195 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_label
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-26 15:33+0000\n"
"PO-Revision-Date: 2017-12-26 15:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 3);\n"
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_res_partner_label
msgid "&lt;!DOCTYPE html&gt;"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_res_company
msgid "Companies"
msgstr "Družbe"
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_height
msgid "Height"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_height
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_height
msgid "Height in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Labels configuration"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Left"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Margin"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin Bottom"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin Left"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin Right"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin Top"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_bottom
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_bottom
msgid "Margin bottom in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_left
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_left
msgid "Margin left in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_right
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_right
msgid "Margin right in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_margin_top
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_margin_top
msgid "Margin top in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_padding
msgid "Padding"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_padding
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_padding
msgid "Padding in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_paperformat_id
msgid "Paperformat"
msgstr ""
#. module: partner_label
#: model:ir.actions.report.xml,name:partner_label.report_res_partner_label
msgid "Partner Labels"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Preview"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Right"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "Top:"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,field_description:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,field_description:partner_label.field_res_company_partner_labels_width
msgid "Width"
msgstr ""
#. module: partner_label
#: model:ir.model.fields,help:partner_label.field_base_config_settings_partner_labels_width
#: model:ir.model.fields,help:partner_label.field_res_company_partner_labels_width
msgid "Width in millimeters"
msgstr ""
#. module: partner_label
#: model:ir.model,name:partner_label.model_base_config_settings
msgid "base.config.settings"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid "mm"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Bottom:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Left:"
msgstr ""
#. module: partner_label
#: model:ir.ui.view,arch_db:partner_label.view_general_configuration
msgid ""
"mm,\n"
" Right:"
msgstr ""

2
partner_label/models/__init__.py

@ -0,0 +1,2 @@
from . import res_company
from . import res_config_settings

41
partner_label/models/res_company.py

@ -0,0 +1,41 @@
# Copyright 2017-2019 Therp BV <https://therp.nl>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class ResCompany(models.Model):
_inherit = 'res.company'
partner_labels_width = fields.Float(
'Width', default=60, help='Width in millimeters', required=True,
)
partner_labels_height = fields.Float(
'Height', default=42.3, help='Height in millimeters', required=True,
)
partner_labels_padding = fields.Float(
'Padding', default=5, help='Padding in millimeters', required=True,
)
partner_labels_margin_top = fields.Float(
string="Margin Top",
default=1,
help="Margin top in millimeters",
required=True,
)
partner_labels_margin_bottom = fields.Float(
string="Margin Bottom",
default=1,
help="Margin bottom in millimeters",
required=True,
)
partner_labels_margin_left = fields.Float(
string="Margin Left",
default=1,
help="Margin left in millimeters",
required=True,
)
partner_labels_margin_right = fields.Float(
string="Margin Right",
default=1,
help="Margin right in millimeters",
required=True,
)

66
partner_label/models/res_config_settings.py

@ -0,0 +1,66 @@
# Copyright 2017-2019 Therp BV <https://therp.nl>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
partner_labels_width = fields.Float(
related='company_id.partner_labels_width', required=True,
readonly=False,
)
partner_labels_height = fields.Float(
related='company_id.partner_labels_height', required=True,
readonly=False,
)
partner_labels_padding = fields.Float(
related='company_id.partner_labels_padding', required=True,
readonly=False,
)
partner_labels_margin_top = fields.Float(
related='company_id.partner_labels_margin_top',
required=True, readonly=False,
)
partner_labels_margin_bottom = fields.Float(
related='company_id.partner_labels_margin_bottom',
required=True, readonly=False,
)
partner_labels_margin_left = fields.Float(
related='company_id.partner_labels_margin_left',
required=True, readonly=False,
)
partner_labels_margin_right = fields.Float(
related='company_id.partner_labels_margin_right',
required=True, readonly=False,
)
partner_labels_paperformat_id = fields.Many2one(
'report.paperformat', string='Paperformat', required=True,
default=lambda self: self.env.ref(
'partner_label.report_res_partner_label'
).paperformat_id,
compute='_compute_partner_labels_paperformat_id',
inverse='_inverse_partner_labels_paperformat_id',
)
@api.multi
def _compute_partner_labels_paperformat_id(self):
for this in self:
this.partner_labels_paperformat_id = self.env.ref(
'partner_label.report_res_partner_label'
).paperformat_id
@api.multi
def _inverse_partner_labels_paperformat_id(self):
for this in self:
self.env.ref(
'partner_label.report_res_partner_label'
).paperformat_id = this.partner_labels_paperformat_id
@api.multi
def action_partner_labels_preview(self):
return self.env.ref(
'partner_label.report_res_partner_label'
).report_action(
self.env['res.partner'].search([], limit=100),
)

31
partner_label/reports/res_partner.xml

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<template id="view_res_partner_label">
<t t-call="web.basic_layout">
<t t-foreach="docs.with_context(show_address=True)" t-as="this">
<div t-attf-style="height: {{this.company_id.partner_labels_height}}mm;
width: {{this.company_id.partner_labels_width}}mm;
padding: {{this.company_id.partner_labels_padding}}mm;
margin-top: {{this.company_id.partner_labels_margin_top}}mm;
margin-bottom: {{this.company_id.partner_labels_margin_bottom}}mm;
margin-left: {{this.company_id.partner_labels_margin_left}}mm;
margin-right: {{this.company_id.partner_labels_margin_right}}mm;
display: inline-block;
overflow: hidden;
float:left;
page-break-inside: avoid;">
<address t-field="this.self"
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
/>
</div>
</t>
</t>
</template>
<report id="report_res_partner_label"
string="Partner Labels"
model="res.partner"
name="partner_label.view_res_partner_label"
report_type="qweb-pdf"
paperformat="base.paperformat_euro"
/>
</odoo>

BIN
partner_label/static/description/icon.png

After

Width: 128  |  Height: 128  |  Size: 9.2 KiB

1
partner_label/tests/__init__.py

@ -0,0 +1 @@
from . import test_partner_label

26
partner_label/tests/test_partner_label.py

@ -0,0 +1,26 @@
# Copyright 2017 Therp BV <https://therp.nl>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo.tests.common import TransactionCase
class TestPartnerLabel(TransactionCase):
def test_partner_label(self):
settings = self.env['res.config.settings'].create({})
settings.refresh()
self.assertItemsEqual(
settings.action_partner_labels_preview()['context']['active_ids'],
self.env['res.partner'].search([], limit=100).ids,
)
self.assertEqual(
settings.partner_labels_paperformat_id,
self.env.ref('partner_label.report_res_partner_label')
.paperformat_id
)
settings.partner_labels_paperformat_id = self.env.ref(
'base.paperformat_us'
).id,
self.assertEqual(
self.env.ref('partner_label.report_res_partner_label')
.paperformat_id,
self.env.ref('base.paperformat_us')
)

63
partner_label/views/base_config_settings.xml

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_general_configuration" model="ir.ui.view">
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='business_documents']" position="after">
<div id="partner_labels">
<h2>Labels configuration</h2>
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_right_pane">
<div class="content-group">
<div class="mt16 row">
<label for="partner_labels_width" class="col-3 col-lg-3 o_light_label"/>
<field name="partner_labels_width" class="oe_inline" />mm
</div>
<div class="mt16 row">
<label for="partner_labels_height" class="col-3 col-lg-3 o_light_label"/>
<field name="partner_labels_height" class="oe_inline" />mm
</div>
<div class="mt16 row">
<label for="partner_labels_padding" class="col-3 col-lg-3 o_light_label"/>
<field name="partner_labels_padding" class="oe_inline" />mm
</div>
<div class="mt16 row">
<label for="partner_labels_paperformat_id" class="col-3 col-lg-3 o_light_label"/>
<field name="partner_labels_paperformat_id" class="oe_inline" />
</div>
<div class="mt16">
<button type="object" name="action_partner_labels_preview" string="Preview" class="oe_link" />
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_right_pane">
<div class="content-group">
<div class="mt16 row">
<label for="partner_labels_margin_top" class="col-3 col-lg-3 o_light_label"/>
<field name="partner_labels_margin_top" class="oe_inline" />mm
</div>
<div class="mt16 row">
<label for="partner_labels_margin_bottom" class="col-3 col-lg-3 o_light_label"/>
<field name="partner_labels_margin_bottom" class="oe_inline" />mm
</div>
<div class="mt16 row">
<label for="partner_labels_margin_left" class="col-3 col-lg-3 o_light_label"/>
<field name="partner_labels_margin_left" class="oe_inline" />mm
</div>
<div class="mt16 row">
<label for="partner_labels_margin_right" class="col-3 col-lg-3 o_light_label"/>
<field name="partner_labels_margin_right" class="oe_inline" />mm
</div>
</div>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>
Loading…
Cancel
Save