[10.0][ADD] account_move_chatter backport from 12.0

This commit is contained in:
Bhavesh Odedra
2020-09-10 15:14:32 -07:00
parent 26cca67c5f
commit efc3346138
5 changed files with 12 additions and 4 deletions

View File

@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Chatter on journal entries',
'version': '12.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'Invoices & Payments',
'license': 'AGPL-3',
'author': 'Tecnativa, '

View File

@@ -1,9 +1,12 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models
from odoo import models, fields
class AccountMove(models.Model):
_inherit = ["account.move", "mail.thread", "mail.activity.mixin"]
_inherit = ["account.move", "mail.thread"]
_name = "account.move"
state = fields.Selection(track_visibility='always')

View File

@@ -1,3 +1,7 @@
* `Tecnativa <https://www.tecnativa.com>`__:
* Pedro M. Baeza
* `Open Source Integrators <https://www.opensourceintegrators.com>`__:
* Bhavesh Odedra

View File

@@ -1,3 +1,4 @@
#. Go to *Invocing > Accounting > Accounting Entries > Journal Entries*.
#. Select one journal entry.
#. You will see there the chatter.
#. Additionally, it will keep track of Journal entry status.

View File

@@ -10,7 +10,6 @@
<sheet position="after">
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="activity_ids" widget="mail_activity"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</sheet>