Merge pull request #239 from expsa/zainab_new_tran5

[UPDATE]UPDATE
This commit is contained in:
zainab2097 2024-07-17 10:03:29 +03:00 committed by GitHub
commit b9268f3b85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,7 @@ class Entity(models.Model):
})
return text.translate(translation_map)
@api.model
def search(self, args, offset=0, limit=None, order=None, count=False):
# Normalize the search arguments for 'name' field
new_args = []

View File

@ -72,6 +72,7 @@ class IncomingTransaction(models.Model):
# attachment_file = fields.Many2many(
# comodel_name='ir.attachment',
# string='')
#
datas = fields.Binary(string="", related='send_attach.datas')

View File

@ -81,7 +81,7 @@ class InternalTransaction(models.Model):
####################################################
# Business methods
####################################################
#
def action_draft(self):
for record in self:
"""her i need to review code for to_ids"""

View File

@ -91,7 +91,7 @@ class OutgoingTransaction(models.Model):
# Business methods
####################################################
#
#
def action_draft(self):
for record in self:
"""her i need to review code for to_ids"""