diff --git a/account_move_chatter/__manifest__.py b/account_move_chatter/__manifest__.py index 1baf3e775..c45b6f748 100644 --- a/account_move_chatter/__manifest__.py +++ b/account_move_chatter/__manifest__.py @@ -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, ' diff --git a/account_move_chatter/models/account_move.py b/account_move_chatter/models/account_move.py index 0423edb84..0aaaac0df 100644 --- a/account_move_chatter/models/account_move.py +++ b/account_move_chatter/models/account_move.py @@ -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') diff --git a/account_move_chatter/readme/CONTRIBUTORS.rst b/account_move_chatter/readme/CONTRIBUTORS.rst index 2b13251be..59d62b0a8 100644 --- a/account_move_chatter/readme/CONTRIBUTORS.rst +++ b/account_move_chatter/readme/CONTRIBUTORS.rst @@ -1,3 +1,7 @@ * `Tecnativa `__: * Pedro M. Baeza + +* `Open Source Integrators `__: + + * Bhavesh Odedra diff --git a/account_move_chatter/readme/USAGE.rst b/account_move_chatter/readme/USAGE.rst index 2c617dbd1..32aea302e 100644 --- a/account_move_chatter/readme/USAGE.rst +++ b/account_move_chatter/readme/USAGE.rst @@ -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. diff --git a/account_move_chatter/views/account_move_views.xml b/account_move_chatter/views/account_move_views.xml index 426e93af7..2ea2f75e7 100644 --- a/account_move_chatter/views/account_move_views.xml +++ b/account_move_chatter/views/account_move_views.xml @@ -10,7 +10,6 @@
-