-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #241 from AbrahamTrey/11.0-mig-website_sale_hide_p…
…rice 11.0 mig website sale hide price
- Loading branch information
Showing
61 changed files
with
2,270 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.. 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/10.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> | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 Tecnativa - David Vidal | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
'name': 'Website Sale Hide Price', | ||
'version': '11.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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: ar\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 "Partner" | ||
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: bg\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 "Partner" | ||
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: bs\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 "Partner" | ||
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: ca\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 "Partner" | ||
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: cs\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 "Partner" | ||
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: da\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 "Partner" | ||
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 "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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: German (https://www.transifex.com/oca/teams/23907/de/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Language: de\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 "Partner" | ||
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 "Webseite" | ||
|
||
#. 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 "" |
Oops, something went wrong.