[IMP]account_payment_order: Add activities to account.payment.order model

This commit is contained in:
manu
2022-10-24 17:24:36 +02:00
parent 485abeb889
commit e5bcbb4842
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ from odoo.exceptions import UserError, ValidationError
class AccountPaymentOrder(models.Model):
_name = "account.payment.order"
_description = "Payment Order"
_inherit = ["mail.thread"]
_inherit = ["mail.thread", "mail.activity.mixin"]
_order = "id desc"
_check_company_auto = True

View File

@@ -132,6 +132,7 @@
</sheet>
<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>
</form>