[UPD] exp_transaction_documents: add chatter to transactions types
This commit is contained in:
parent
767e5675d6
commit
3a555d982b
|
|
@ -20,14 +20,15 @@ TRACE_ACTIONS = [
|
|||
|
||||
class SubjectType(models.Model):
|
||||
_name = 'cm.subject.type'
|
||||
_inherit = ['mail.thread']
|
||||
_order = 'sequence'
|
||||
|
||||
name = fields.Char(string='Transaction Type')
|
||||
sequence = fields.Integer(string='Sequence', default=5)
|
||||
name = fields.Char(string='Transaction Type', tracking=True)
|
||||
sequence = fields.Integer(string='Sequence', default=5, tracking=True)
|
||||
second_approval = fields.Boolean(string='Second Approval ?',
|
||||
help='Check if this transaction type need a second (CEO) Approval.', default=True)
|
||||
transaction_need_approve = fields.Boolean(string="Transaction need approve")
|
||||
tran_tag = fields.Many2many(comodel_name='transaction.tag', string='Tags')
|
||||
help='Check if this transaction type need a second (CEO) Approval.', default=True, tracking=True)
|
||||
transaction_need_approve = fields.Boolean(string="Transaction need approve", tracking=True)
|
||||
tran_tag = fields.Many2many(comodel_name='transaction.tag', string='Tags', tracking=True)
|
||||
|
||||
|
||||
class ImportantDegree(models.Model):
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@
|
|||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
<field name="message_ids" widget="mail_thread"/>
|
||||
</div>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Reference in New Issue