Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
69 changes: 69 additions & 0 deletions product_price_category/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

======================
Product Price Category
======================

This module adds a field Price Category on Product Template
and allow Pricelist to be applied on this field.

Usage
=====

In Pricelist Form (Sales -> Configuration -> Pricelist), you can add or modify
an item ("Manage Pricelist Items" access should be checked in the user settings)
and select "Price Category" in "Applied on".
Then you have to choose on which price category should it be applied.

.. image:: static/pricelist_price_category.png


Product price category can be modified in product form -> General Information.

.. image:: static/product_price_category.png


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

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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/sale-workflow/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
------------

* Cyril Gaudin <[email protected]>
* Akim Juillerat <[email protected]>

Do not contact contributors directly about support or help with 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 change: 1 addition & 0 deletions product_price_category/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions product_price_category/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2016 Camptocamp SA
# Copyright 2023 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Product Price Category",
"summary": "Add Price Category field on product and allow to apply "
"a pricelist on this field.",
"version": "18.0.1.0.0",
"author": "Camptocamp SA, Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Product",
"depends": ["sale_stock"],
"website": "https://github.com/OCA/sale-workflow",
"data": [
"security/ir.model.access.csv",
"views/product_pricelist.xml",
"views/product_template.xml",
],
"maintainers": ["sbejaoui"],
"installable": True,
}
111 changes: 111 additions & 0 deletions product_price_category/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_price_category
#
# Translators:
# OCA Transbot <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-27 03:52+0000\n"
"PO-Revision-Date: 2018-01-27 03:52+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2018\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\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: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_pricelist_item__applied_on
msgid "Apply On"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__create_date
msgid "Created on"
msgstr "Creado en"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__display_name
msgid "Display Name"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__id
msgid "ID"
msgstr "ID"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category____last_update
msgid "Last Modified on"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__name
msgid "Name"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_pricelist_item__price_category_id
#: model:ir.model.fields,field_description:product_price_category.field_product_product__price_category_id
#: model:ir.model.fields,field_description:product_price_category.field_product_template__price_category_id
#: model:ir.model.fields.selection,name:product_price_category.selection__product_pricelist_item__applied_on__2b_product_price_category
msgid "Price Category"
msgstr ""

#. module: product_price_category
#. odoo-python
#: code:addons/product_price_category/models/product_pricelist_item.py:0
#, python-format
msgid "Price Category: %s"
msgstr ""

#. module: product_price_category
#: model:ir.model,name:product_price_category.model_product_pricelist
msgid "Pricelist"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,help:product_price_category.field_product_pricelist_item__applied_on
msgid "Pricelist Item applicable on selected option"
msgstr ""

#. module: product_price_category
#: model:ir.model,name:product_price_category.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr ""

#. module: product_price_category
#: model:ir.model,name:product_price_category.model_product_template
msgid "Product"
msgstr ""

#. module: product_price_category
#: model:ir.model,name:product_price_category.model_product_price_category
msgid "Product Price Category"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,help:product_price_category.field_product_pricelist_item__price_category_id
msgid ""
"Specify a product price category if this rule only applies to one price "
"category. Keep empty otherwise."
msgstr ""
112 changes: 112 additions & 0 deletions product_price_category/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_price_category
#
# Translators:
# OCA Transbot <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-27 03:52+0000\n"
"PO-Revision-Date: 2018-01-27 03:52+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2018\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: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_pricelist_item__applied_on
msgid "Apply On"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__create_uid
msgid "Created by"
msgstr "أنشئ بواسطة"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__create_date
msgid "Created on"
msgstr "أنشئ في"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__display_name
msgid "Display Name"
msgstr "اسم العرض"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__id
msgid "ID"
msgstr "المعرف"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category____last_update
msgid "Last Modified on"
msgstr "آخر تعديل في"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__write_uid
msgid "Last Updated by"
msgstr "آخر تحديث بواسطة"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__write_date
msgid "Last Updated on"
msgstr "آخر تحديث في"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_price_category__name
msgid "Name"
msgstr "الاسم"

#. module: product_price_category
#: model:ir.model.fields,field_description:product_price_category.field_product_pricelist_item__price_category_id
#: model:ir.model.fields,field_description:product_price_category.field_product_product__price_category_id
#: model:ir.model.fields,field_description:product_price_category.field_product_template__price_category_id
#: model:ir.model.fields.selection,name:product_price_category.selection__product_pricelist_item__applied_on__2b_product_price_category
msgid "Price Category"
msgstr ""

#. module: product_price_category
#. odoo-python
#: code:addons/product_price_category/models/product_pricelist_item.py:0
#, python-format
msgid "Price Category: %s"
msgstr ""

#. module: product_price_category
#: model:ir.model,name:product_price_category.model_product_pricelist
msgid "Pricelist"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,help:product_price_category.field_product_pricelist_item__applied_on
msgid "Pricelist Item applicable on selected option"
msgstr ""

#. module: product_price_category
#: model:ir.model,name:product_price_category.model_product_pricelist_item
msgid "Pricelist Rule"
msgstr ""

#. module: product_price_category
#: model:ir.model,name:product_price_category.model_product_template
msgid "Product"
msgstr ""

#. module: product_price_category
#: model:ir.model,name:product_price_category.model_product_price_category
msgid "Product Price Category"
msgstr ""

#. module: product_price_category
#: model:ir.model.fields,help:product_price_category.field_product_pricelist_item__price_category_id
msgid ""
"Specify a product price category if this rule only applies to one price "
"category. Keep empty otherwise."
msgstr ""
Loading