commit
5f6e54788a
|
|
@ -28,6 +28,7 @@ class Entity(models.Model):
|
|||
'ؤ': 'و', # Replace Waw with Hamza Above with Waw
|
||||
|
||||
})
|
||||
# ...
|
||||
return text.translate(translation_map)
|
||||
|
||||
@api.model
|
||||
|
|
|
|||
|
|
@ -38,8 +38,7 @@ class IncomingTransaction(models.Model):
|
|||
else:
|
||||
new_args.append(arg)
|
||||
return super(IncomingTransaction, self).search(new_args, offset=offset, limit=limit, order=order, count=count)
|
||||
|
||||
|
||||
# ;
|
||||
# due_date = fields.Date(string='Deadline', compute='compute_due_date')
|
||||
from_id = fields.Many2one(comodel_name='cm.entity', string='Incoming From (External)')
|
||||
partner_id = fields.Many2one('res.partner')
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class InternalTransaction(models.Model):
|
|||
else:
|
||||
new_args.append(arg)
|
||||
return super(InternalTransaction, self).search(new_args, offset=offset, limit=limit, order=order, count=count)
|
||||
|
||||
# ;
|
||||
@api.model
|
||||
def get_url(self):
|
||||
url = u''
|
||||
|
|
|
|||
|
|
@ -65,8 +65,7 @@ class OutgoingTransaction(models.Model):
|
|||
else:
|
||||
new_args.append(arg)
|
||||
return super(OutgoingTransaction, self).search(new_args, offset=offset, limit=limit, order=order, count=count)
|
||||
|
||||
|
||||
# p
|
||||
@api.depends('attachment_rule_ids')
|
||||
def compute_attachment_num(self):
|
||||
for r in self:
|
||||
|
|
|
|||
Loading…
Reference in New Issue