Merge pull request #1818 from expsa/odex25_transactions_dev

Odex25 transactions dev
This commit is contained in:
esraa8mostafa 2024-11-24 20:03:05 +04:00 committed by GitHub
commit 0b32fa9488
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2473,7 +2473,7 @@ msgstr "الادارة المعدة"
#. module: exp_transaction_documents
#: model:ir.actions.report,name:exp_transaction_documents.action_report_internal_transaction
msgid "Print Transaction"
msgstr ""
msgstr "طباعة الباركود"
#. module: exp_transaction_documents
#: model:ir.model.fields,field_description:exp_transaction_documents.field_forward_transaction_wizard__procedure_id

View File

@ -78,7 +78,7 @@ class AttachmentRule(models.Model):
name = fields.Char()
employee_id = fields.Many2one(comodel_name='cm.entity', string='Created By',
default=lambda self: self._default_employee_id(), readonly="True")
entity_id = fields.Many2one(comodel_name='cm.entity', string='Unit Responsible', related='employee_id.parent_id',
entity_id = fields.Many2one(comodel_name='cm.entity', string='Unit Responsible', related='preparation_id.manager_id',
store=True)
file_save = fields.Many2many('ir.attachment', String="Save File")
external_drive_link = fields.Text('External Drive Link')