commit
1c03dafeea
Binary file not shown.
|
|
@ -7,3 +7,4 @@ from . import internal_transaction
|
|||
from . import outgoing_transaction
|
||||
from . import incoming_transaction
|
||||
from . import tools
|
||||
#
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ class Entity(models.Model):
|
|||
'ؤ': 'و', # Replace Waw with Hamza Above with Waw
|
||||
|
||||
})
|
||||
# ...
|
||||
return text.translate(translation_map)
|
||||
|
||||
@api.model
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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,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:
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue