Maintainers
+This module is part of the bruecksen/ife_nfu project on GitHub.
+You are welcome to contribute.
+diff --git a/nfu_ecommerce/README.rst b/nfu_ecommerce/README.rst index af6a9a5..3cc0636 100644 --- a/nfu_ecommerce/README.rst +++ b/nfu_ecommerce/README.rst @@ -38,7 +38,8 @@ Changelog :0.0.1: Initial module. :1.0.0: Live :1.1.0: Add Open Packagings Filter and fix rounding issue -:1.1.1: Pass arguemnts to super again +:1.1.1: Pass arguments to super again +:1.1.1: Make publish on website multi company Bug Tracker =========== diff --git a/nfu_ecommerce/models/product_template.py b/nfu_ecommerce/models/product_template.py index 9ea29dc..f6fe7fd 100644 --- a/nfu_ecommerce/models/product_template.py +++ b/nfu_ecommerce/models/product_template.py @@ -1,9 +1,13 @@ -from odoo import models +from odoo import fields, models class ProductTemplate(models.Model): _inherit = "product.template" + is_published = fields.Boolean( + copy=False, default=lambda self: self._default_is_published(), index=True, company_dependent=True + ) + def action_publish_on_website(self): for product in self: product.is_published = True diff --git a/nfu_ecommerce/readme/HISTORY.rst b/nfu_ecommerce/readme/HISTORY.rst index dbcabc5..11c32a8 100644 --- a/nfu_ecommerce/readme/HISTORY.rst +++ b/nfu_ecommerce/readme/HISTORY.rst @@ -1,4 +1,5 @@ :0.0.1: Initial module. :1.0.0: Live :1.1.0: Add Open Packagings Filter and fix rounding issue -:1.1.1: Pass arguemnts to super again \ No newline at end of file +:1.1.1: Pass arguments to super again +:1.1.1: Make publish on website multi company \ No newline at end of file diff --git a/nfu_ecommerce/static/description/index.html b/nfu_ecommerce/static/description/index.html index b3946cc..29cd34d 100644 --- a/nfu_ecommerce/static/description/index.html +++ b/nfu_ecommerce/static/description/index.html @@ -399,7 +399,9 @@ and after the current order.
Table of contents
+Bugs are tracked on GitHub 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.
+Do not contact contributors directly about support or help with technical issues.
+This module is part of the bruecksen/ife_nfu project on GitHub.
+You are welcome to contribute.
+