Commit message describing your local changes

This commit is contained in:
zainab8585 2024-07-17 06:08:43 +02:00
parent 1d06d6974b
commit da1a47943c
24 changed files with 5 additions and 4 deletions

View File

@ -28,7 +28,6 @@ class Entity(models.Model):
'ؤ': 'و', # Replace Waw with Hamza Above with Waw
})
# ...
return text.translate(translation_map)
@api.model

View File

@ -38,7 +38,8 @@ 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')

View File

@ -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''

View File

@ -65,7 +65,8 @@ 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: