Skip to content

Commit

Permalink
[MIG] website_sale_prod_description: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jok-adhoc authored and nicomacr committed Feb 10, 2023
1 parent 40f9605 commit 79b4106
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion website_sale_prod_description/README.rst
Expand Up @@ -14,8 +14,9 @@
Unique Description for E-commerce
=================================

Odoo has a sales description field which is used in e-commerce and sales orders. If this module is installed, a new description field is created in the products view that will only be used for e-commerce.
By default Odoo has only one field for adding Product description info, which is editable from Product's backend view / Sales / Sale description. This field is displayed on both, the sale bill documents and the ecommerce product page. Because sometimes it is mandatory to display different info texts on those views, e.g. a short description for sale bill documents but a longer one on ecommerce, we have created this module which add an extra editable field on product's backend view called "Website description".

Important: if Website description field is empty but Product description field is filled up then Product description content will be displayed in both, sales bill documents and ecommerce product page. On the other hand, if Website description field is filled up and also Product description is filled up then the Website description content will be displayed on ecommerce product page only, and Product description content will be displayed in sales bill documents only.

Installation
============
Expand Down
4 changes: 2 additions & 2 deletions website_sale_prod_description/__manifest__.py
Expand Up @@ -20,7 +20,7 @@
{
'name': 'Website Sale Product Description',
'category': 'Hidden',
'version': "15.0.1.0.0",
'version': "16.0.1.0.0",
'author': 'ADHOC SA',
'website': 'www.adhoc.com.ar',
'license': 'AGPL-3',
Expand All @@ -32,5 +32,5 @@
'views/product_template_templates.xml',
'views/templates.xml',
],
'installable': False,
'installable': True,
}
Expand Up @@ -7,7 +7,7 @@
<field name="arch" type="xml">
<group name="product_template_images" position="after">
<group name="description_website" string="Description for Website">
<field name="description_website" nolabel="1" placeholder="Description to be displayed on product's page..."/>
<field name="description_website" colspan="2" nolabel="1" placeholder="Description to be displayed on product's page..."/>
</group>
</group>
</field>
Expand Down

0 comments on commit 79b4106

Please sign in to comment.