-
-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
17 changed files
with
733 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...e_sale_attribute_filter_form_submit/odoo/addons/website_sale_attribute_filter_form_submit
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 @@ | ||
../../../../website_sale_attribute_filter_form_submit |
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,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=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,104 @@ | ||
================================ | ||
Website manual attribute filters | ||
================================ | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github | ||
:target: https://github.com/OCA/e-commerce/tree/14.0/website_sale_attribute_filter_form_submit | ||
:alt: OCA/e-commerce | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/e-commerce-14-0/e-commerce-14-0-website_sale_attribute_filter_form_submit | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/113/14.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows to configure the website filters in an no automatic way, so the | ||
filters aren't applied until the user explicitly validate them. It can be set on | ||
any needed website. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to: | ||
|
||
#. Go to the frontend /shop url of the website you want to set the manual filters into. | ||
#. Hit the Configure menu and enable the option *Manual filters*. | ||
|
||
.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/14.0/website_sale_attribute_filter_form_submit/static/description/manual_filter_configuration.png | ||
:alt: To enable the manual filters | ||
:width: 600 px | ||
|
||
Usage | ||
===== | ||
|
||
When manual filter are active, the user can set as many filters as desired and then | ||
hit the submit button to apply them. This allows to set several filters at once, which | ||
isn't always possible with the automatic behavior. | ||
|
||
.. figure:: https://raw.githubusercontent.com/OCA/e-commerce/14.0/website_sale_attribute_filter_form_submit/static/description/manual_filter_usage.gif | ||
:alt: To enable the manual filters | ||
:width: 600 px | ||
|
||
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 smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/e-commerce/issues/new?body=module:%20website_sale_attribute_filter_form_submit%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Studio73 | ||
* Tecnativa | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* `Studio73 <https://www.studio73.es>`_: | ||
|
||
* Miguel Gandia | ||
* `Tecnativa <https://www.tecnativa.com>`_: | ||
|
||
* David Vidal | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
This module is part of the `OCA/e-commerce <https://github.com/OCA/e-commerce/tree/14.0/website_sale_attribute_filter_form_submit>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright 2021 Studio73 - Miguel Gandia | ||
# Copyright 2021 Tecnativa - David Vidal | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Website manual attribute filters", | ||
"version": "15.0.1.0.0", | ||
"category": "E-Commerce", | ||
"summary": "Allow to apply manually the filters on the e-commerce", | ||
"license": "AGPL-3", | ||
"depends": ["website_sale"], | ||
"data": [ | ||
"views/website_sale.xml", | ||
], | ||
"assets": { | ||
"web.assets_frontend": [ | ||
"website_sale_attribute_filter_form_submit/static/src/js/website_sale.js" | ||
], | ||
}, | ||
"author": "Studio73, Tecnativa, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/e-commerce", | ||
"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,21 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_sale_attribute_filter_form_submit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 12.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2021-05-10 15:58+0000\n" | ||
"PO-Revision-Date: 2021-05-10 15:58+0000\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: website_sale_attribute_filter_form_submit | ||
#: model_terms:ir.ui.view,arch_db:website_sale_attribute_filter_form_submit.products_attributes_filter_manual | ||
msgid "Apply" | ||
msgstr "Aplicar" |
19 changes: 19 additions & 0 deletions
19
website_sale_attribute_filter_form_submit/i18n/website_sale_attribute_filter_form_submit.pot
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,19 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * website_sale_attribute_filter_form_submit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.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: website_sale_attribute_filter_form_submit | ||
#: model_terms:ir.ui.view,arch_db:website_sale_attribute_filter_form_submit.products_attributes_filter_manual | ||
msgid "Apply" | ||
msgstr "" |
8 changes: 8 additions & 0 deletions
8
website_sale_attribute_filter_form_submit/readme/CONFIGURE.rst
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,8 @@ | ||
To configure this module, you need to: | ||
|
||
#. Go to the frontend /shop url of the website you want to set the manual filters into. | ||
#. Hit the Configure menu and enable the option *Manual filters*. | ||
|
||
.. figure:: ../static/description/manual_filter_configuration.png | ||
:alt: To enable the manual filters | ||
:width: 600 px |
6 changes: 6 additions & 0 deletions
6
website_sale_attribute_filter_form_submit/readme/CONTRIBUTORS.rst
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,6 @@ | ||
* `Studio73 <https://www.studio73.es>`_: | ||
|
||
* Miguel Gandia | ||
* `Tecnativa <https://www.tecnativa.com>`_: | ||
|
||
* David Vidal |
3 changes: 3 additions & 0 deletions
3
website_sale_attribute_filter_form_submit/readme/DESCRIPTION.rst
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,3 @@ | ||
This module allows to configure the website filters in an no automatic way, so the | ||
filters aren't applied until the user explicitly validate them. It can be set on | ||
any needed website. |
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,7 @@ | ||
When manual filter are active, the user can set as many filters as desired and then | ||
hit the submit button to apply them. This allows to set several filters at once, which | ||
isn't always possible with the automatic behavior. | ||
|
||
.. figure:: ../static/description/manual_filter_usage.gif | ||
:alt: To enable the manual filters | ||
:width: 600 px |
Binary file added
BIN
+9.23 KB
website_sale_attribute_filter_form_submit/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.