[UPDATE]UPDATE depends

This commit is contained in:
zainab8585 2024-10-02 11:53:50 +02:00
parent 20921681ff
commit a549c02a4e
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ Odex - Communications Management System
Managing Communications Transcations flows Managing Communications Transcations flows
""", """,
'website': 'http://www.exp-sa.com', 'website': 'http://www.exp-sa.com',
'depends': ['base', 'base_odex', 'mail','attachment_indexation', 'html_text', 'odex_sms'], 'depends': ['base', 'base_odex', 'mail','attachment_indexation','odex25_sign','html_text', 'odex_sms'],
'data': [ 'data': [
'security/groups.xml', 'security/groups.xml',
'security/ir.model.access.csv', 'security/ir.model.access.csv',

View File

@ -84,7 +84,7 @@ class Transaction(models.Model):
employee_id = self.env['hr.employee'].search([('user_id', '=', self.env.uid)], limit=1) employee_id = self.env['hr.employee'].search([('user_id', '=', self.env.uid)], limit=1)
if employee_id: if employee_id:
for rec in self: for rec in self:
rec.signature =self.env.user.digital_signature rec.signature =self.env.user.sign_signature