"Start migration to 6.0 [SKIP CI]."
This commit is contained in:
parent
3377ca4682
commit
9a5efcdcb9
|
@ -29,8 +29,8 @@ class ShipmentWebLinkMixin(object):
|
|||
'get_encrypted_url')
|
||||
encrypted_id = fields.Function(fields.Char('Encrypted id'),
|
||||
'get_encrypted_id')
|
||||
attachments = fields.Function(fields.One2Many('ir.attachment',
|
||||
None, 'Attachments'), 'get_attachments')
|
||||
attachments = fields.Function(fields.Many2Many('ir.attachment',
|
||||
None, None, 'Attachments'), 'get_attachments')
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
|
@ -44,7 +44,7 @@ class ShipmentWebLinkMixin(object):
|
|||
})
|
||||
cls.state.selection.extend([('mail_sent', 'Mail sent')])
|
||||
cls._buttons['draft']['invisible'] = ~Eval('state').in_(
|
||||
['waiting', 'cancel', 'mail_sent'])
|
||||
['waiting', 'cancelled', 'mail_sent'])
|
||||
|
||||
@classmethod
|
||||
def get_custom_title(self, report_name, record, title):
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=5.0.0
|
||||
version=6.0.0
|
||||
depends:
|
||||
ir
|
||||
res
|
||||
|
|
Loading…
Reference in New Issue