mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[10.0][ADD] account_move_chatter backport from 12.0
This commit is contained in:
@@ -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, '
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
* `Tecnativa <https://www.tecnativa.com>`__:
|
||||
|
||||
* Pedro M. Baeza
|
||||
|
||||
* `Open Source Integrators <https://www.opensourceintegrators.com>`__:
|
||||
|
||||
* Bhavesh Odedra
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user