mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[ADÐ] add mail.thread on stock.inventory
This commit is contained in:
committed by
Lois Rilo
parent
d609d99a2d
commit
568ef2fbf5
@@ -7,6 +7,9 @@ class InventoryAdjustmentsGroup(models.Model):
|
||||
_name = "stock.inventory"
|
||||
_description = "Inventory Adjustment Group"
|
||||
_order = "date desc, id desc"
|
||||
_inherit = [
|
||||
"mail.thread",
|
||||
]
|
||||
|
||||
name = fields.Char(
|
||||
required=True,
|
||||
@@ -34,6 +37,7 @@ class InventoryAdjustmentsGroup(models.Model):
|
||||
state = fields.Selection(
|
||||
[("draft", "Draft"), ("in_progress", "In Progress"), ("done", "Done")],
|
||||
default="draft",
|
||||
tracking=True,
|
||||
)
|
||||
|
||||
owner_id = fields.Many2one(
|
||||
|
||||
@@ -120,6 +120,10 @@
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
<field name="message_follower_ids" widget="mail_followers" />
|
||||
<field name="message_ids" widget="mail_thread" />
|
||||
</div>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user