[117][FIX] nfu_ecommerce: make publish on website multi company
This commit is contained in:
parent
cc6a2d9ea0
commit
1677796ce7
4 changed files with 12 additions and 4 deletions
|
|
@ -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
|
||||
===========
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
:1.1.1: Pass arguments to super again
|
||||
:1.1.1: Make publish on website multi company
|
||||
|
|
@ -399,7 +399,9 @@ and after the current order.</p>
|
|||
</tr>
|
||||
<tr class="field"><th class="field-name">1.1.0:</th><td class="field-body">Add Open Packagings Filter and fix rounding issue</td>
|
||||
</tr>
|
||||
<tr class="field"><th class="field-name">1.1.1:</th><td class="field-body">Pass arguemnts to super again</td>
|
||||
<tr class="field"><th class="field-name">1.1.1:</th><td class="field-body">Pass arguments to super again</td>
|
||||
</tr>
|
||||
<tr class="field"><th class="field-name">1.1.1:</th><td class="field-body">Make publish on website multi company</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Reference in a new issue