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
79 changes: 79 additions & 0 deletions product_sale_description/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
========================
Product Sale Description
========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:74dcdfb09d6222d23eec7c9867278abf6557e25eeb7ffc30c3ab729877a458db
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/18.0/product_sale_description
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_sale_description
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Adds two fields: short and long (html) sale description on products.

Example of use case: need to publish the produts on external services
like an e-commerce or marketplace.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_sale_description%0Aversion:%2018.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
-------

* Akretion

Contributors
------------

- Raphaël Reverdy <raphael.reverdy@akretion.com>

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/product-attribute <https://github.com/OCA/product-attribute/tree/18.0/product_sale_description>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions product_sale_description/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions product_sale_description/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2023 Akretion (https://www.akretion.com).
# @author Raphaël Reverdy<raphael.reverdy@akretion.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Product Sale Description",
"summary": "Long and short description for products",
"version": "18.0.1.0.0",
"website": "https://github.com/OCA/product-attribute",
"author": "Akretion,Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"product",
],
"data": [
"views/product_template.xml",
],
}
51 changes: 51 additions & 0 deletions product_sale_description/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_sale_description
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-12-29 17:34+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\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"
"X-Generator: Weblate 4.17\n"

#. module: product_sale_description
#: model:ir.model.fields,help:product_sale_description.field_product_product__description_sale_long
#: model:ir.model.fields,help:product_sale_description.field_product_template__description_sale_long
msgid ""
"A long description of the Product that you want to communicate to your "
"customers. "
msgstr ""
"Una descripción larga del Producto que quiere comunicar a sus clientes. "

#. module: product_sale_description
#: model:ir.model.fields,help:product_sale_description.field_product_product__description_sale_short
#: model:ir.model.fields,help:product_sale_description.field_product_template__description_sale_short
msgid ""
"A short description of the Product that you want to communicate to your "
"customers. "
msgstr "Una breve descripción del Producto que desea comunicar a sus clientes. "

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

#. module: product_sale_description
#: model:ir.model.fields,field_description:product_sale_description.field_product_product__description_sale_long
#: model:ir.model.fields,field_description:product_sale_description.field_product_template__description_sale_long
msgid "Sales Description Long"
msgstr "Descripción de Ventas Larga"

#. module: product_sale_description
#: model:ir.model.fields,field_description:product_sale_description.field_product_product__description_sale_short
#: model:ir.model.fields,field_description:product_sale_description.field_product_template__description_sale_short
msgid "Sales Description Short"
msgstr "Descripción de Ventas Breve"
50 changes: 50 additions & 0 deletions product_sale_description/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_sale_description
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-29 15:40+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\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"
"X-Generator: Weblate 4.17\n"

#. module: product_sale_description
#: model:ir.model.fields,help:product_sale_description.field_product_product__description_sale_long
#: model:ir.model.fields,help:product_sale_description.field_product_template__description_sale_long
msgid ""
"A long description of the Product that you want to communicate to your "
"customers. "
msgstr "Una descrizione lunga del prodotto che si vuole comunicare ai clienti. "

#. module: product_sale_description
#: model:ir.model.fields,help:product_sale_description.field_product_product__description_sale_short
#: model:ir.model.fields,help:product_sale_description.field_product_template__description_sale_short
msgid ""
"A short description of the Product that you want to communicate to your "
"customers. "
msgstr "Una descrizione corta del prodotto che si vuole comunicare ai clienti. "

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

#. module: product_sale_description
#: model:ir.model.fields,field_description:product_sale_description.field_product_product__description_sale_long
#: model:ir.model.fields,field_description:product_sale_description.field_product_template__description_sale_long
msgid "Sales Description Long"
msgstr "Descrizione vendite lunga"

#. module: product_sale_description
#: model:ir.model.fields,field_description:product_sale_description.field_product_product__description_sale_short
#: model:ir.model.fields,field_description:product_sale_description.field_product_template__description_sale_short
msgid "Sales Description Short"
msgstr "Descrizione vendite corta"
47 changes: 47 additions & 0 deletions product_sale_description/i18n/product_sale_description.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_sale_description
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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: product_sale_description
#: model:ir.model.fields,help:product_sale_description.field_product_product__description_sale_long
#: model:ir.model.fields,help:product_sale_description.field_product_template__description_sale_long
msgid ""
"A long description of the Product that you want to communicate to your "
"customers. "
msgstr ""

#. module: product_sale_description
#: model:ir.model.fields,help:product_sale_description.field_product_product__description_sale_short
#: model:ir.model.fields,help:product_sale_description.field_product_template__description_sale_short
msgid ""
"A short description of the Product that you want to communicate to your "
"customers. "
msgstr ""

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

#. module: product_sale_description
#: model:ir.model.fields,field_description:product_sale_description.field_product_product__description_sale_long
#: model:ir.model.fields,field_description:product_sale_description.field_product_template__description_sale_long
msgid "Sales Description Long"
msgstr ""

#. module: product_sale_description
#: model:ir.model.fields,field_description:product_sale_description.field_product_product__description_sale_short
#: model:ir.model.fields,field_description:product_sale_description.field_product_template__description_sale_short
msgid "Sales Description Short"
msgstr ""
54 changes: 54 additions & 0 deletions product_sale_description/i18n/tr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_sale_description
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-02-22 10:06+0000\n"
"Last-Translator: İsmail Çağan Yılmaz <ismail.cagan.yilmaz@gmail.com>\n"
"Language-Team: none\n"
"Language: tr\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 5.6.2\n"

#. module: product_sale_description
#: model:ir.model.fields,help:product_sale_description.field_product_product__description_sale_long
#: model:ir.model.fields,help:product_sale_description.field_product_template__description_sale_long
msgid ""
"A long description of the Product that you want to communicate to your "
"customers. "
msgstr ""
"Müşterilerinizle hakkında iletişim kurmak istediğiniz Ürünün uzun bir "
"açıklaması. "

#. module: product_sale_description
#: model:ir.model.fields,help:product_sale_description.field_product_product__description_sale_short
#: model:ir.model.fields,help:product_sale_description.field_product_template__description_sale_short
msgid ""
"A short description of the Product that you want to communicate to your "
"customers. "
msgstr ""
"Müşterilerinizle hakkında iletişim kurmak istediğiniz Ürünün kısa bir "
"açıklaması. "

#. module: product_sale_description
#: model:ir.model,name:product_sale_description.model_product_template
msgid "Product"
msgstr "Ürün"

#. module: product_sale_description
#: model:ir.model.fields,field_description:product_sale_description.field_product_product__description_sale_long
#: model:ir.model.fields,field_description:product_sale_description.field_product_template__description_sale_long
msgid "Sales Description Long"
msgstr "Uzun Satış Açıklaması"

#. module: product_sale_description
#: model:ir.model.fields,field_description:product_sale_description.field_product_product__description_sale_short
#: model:ir.model.fields,field_description:product_sale_description.field_product_template__description_sale_short
msgid "Sales Description Short"
msgstr "Kısa Satış Açıklaması"
1 change: 1 addition & 0 deletions product_sale_description/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import product_template
22 changes: 22 additions & 0 deletions product_sale_description/models/product_template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2023 Akretion (https://www.akretion.com).
# @author Raphaël Reverdy<raphael.reverdy@akretion.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class ProductTemplate(models.Model):
_inherit = "product.template"

description_sale_short = fields.Text(
"Sales Description Short",
translate=True,
help="A short description of the Product that"
" you want to communicate to your customers. ",
)
description_sale_long = fields.Html(
"Sales Description Long",
translate=True,
help="A long description of the Product that"
" you want to communicate to your customers. ",
)
3 changes: 3 additions & 0 deletions product_sale_description/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions product_sale_description/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Raphaël Reverdy \<raphael.reverdy@akretion.com\>
4 changes: 4 additions & 0 deletions product_sale_description/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Adds two fields: short and long (html) sale description on products.

Example of use case: need to publish the produts on external services
like an e-commerce or marketplace.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading