Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] website_sale_hide_price: Migration to 12.0 #339

Merged
merged 13 commits into from
Feb 20, 2020
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions website_sale_hide_price/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
.. 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

=======================
Website Sale Hide Price
=======================

This module allows to have hidden product prices on the website store.

Configuration
=============

#. Go to *Customers* and choose one.
#. Go to *Sales and Purchases* tab.
#. In *Sales* group set *Show prices on website* on or off so this customer can
see them or not. The default value is `True`, so every partner website user
can see the prices.
#. If you wanted to have the prices hidden by default when no user is logged
in you should go to Public User's partner and set *Show prices on website*
off.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/113/12.0

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/e-commerce/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing 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
------------

* David Vidal <david.vidal@tecnativa.com>
* Abraham González <abraham@trey.es>
* Juanjo Algaz <jalgaz@gmail.com>

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 change: 1 addition & 0 deletions website_sale_hide_price/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions website_sale_hide_price/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2017 Tecnativa - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Website Sale Hide Price',
'version': '12.0.1.0.0',
'category': 'Website',
'author': 'Tecnativa, '
'Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/e-commerce',
'license': 'AGPL-3',
'summary': 'Hide product prices on the shop',
'depends': [
'website_sale',
],
'data': [
'views/partner_view.xml',
'views/website_sale_template.xml'
],
'installable': True,
}
41 changes: 41 additions & 0 deletions website_sale_hide_price/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# 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-16 01:57+0000\n"
"PO-Revision-Date: 2017-12-16 01:57+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner_website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users_website_show_price
msgid "Show prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "الموقع"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website_website_show_price
msgid "Website Show Price"
msgstr ""
40 changes: 40 additions & 0 deletions website_sale_hide_price/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# 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-16 01:57+0000\n"
"PO-Revision-Date: 2017-12-16 01:57+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner_website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users_website_show_price
msgid "Show prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "Уеб-страница"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website_website_show_price
msgid "Website Show Price"
msgstr ""
41 changes: 41 additions & 0 deletions website_sale_hide_price/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# 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-16 01:57+0000\n"
"PO-Revision-Date: 2017-12-16 01:57+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\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: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner_website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users_website_show_price
msgid "Show prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "Web stranica"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website_website_show_price
msgid "Website Show Price"
msgstr ""
40 changes: 40 additions & 0 deletions website_sale_hide_price/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# 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-16 01:57+0000\n"
"PO-Revision-Date: 2017-12-16 01:57+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\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: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner_website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users_website_show_price
msgid "Show prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "Lloc web"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website_website_show_price
msgid "Website Show Price"
msgstr ""
40 changes: 40 additions & 0 deletions website_sale_hide_price/i18n/cs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# 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-16 01:57+0000\n"
"PO-Revision-Date: 2017-12-16 01:57+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/cs/)\n"
"Language: cs\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: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner_website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users_website_show_price
msgid "Show prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "Webová stránka"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website_website_show_price
msgid "Website Show Price"
msgstr ""
40 changes: 40 additions & 0 deletions website_sale_hide_price/i18n/da.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# 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-16 01:57+0000\n"
"PO-Revision-Date: 2017-12-16 01:57+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: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner_website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users_website_show_price
msgid "Show prices on website"
msgstr ""

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "Hjemmeside"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website_website_show_price
msgid "Website Show Price"
msgstr ""
41 changes: 41 additions & 0 deletions website_sale_hide_price/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_hide_price
#
# 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-16 01:57+0000\n"
"PO-Revision-Date: 2018-08-28 20:23+0000\n"
"Last-Translator: Axel-G <git@r5d.de>\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"
"X-Generator: Weblate 3.1.1\n"

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_res_partner
msgid "Contact"
msgstr "Kontakt"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_partner_website_show_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_res_users_website_show_price
msgid "Show prices on website"
msgstr "Preise auf Website anzeigen"

#. module: website_sale_hide_price
#: model:ir.model,name:website_sale_hide_price.model_website
msgid "Website"
msgstr "Website"

#. module: website_sale_hide_price
#: model:ir.model.fields,field_description:website_sale_hide_price.field_website_website_show_price
msgid "Website Show Price"
msgstr ""
Loading