some details

This commit is contained in:
mohammed-alkhazrji 2025-07-22 21:31:02 +03:00
parent ed2d36e245
commit 2fa7218f8c
2 changed files with 1 additions and 2 deletions

View File

@ -135,7 +135,7 @@
</group>
<group>
<field name="partner_id" string="Customer"
aattrs="{'readonly':[('is_submitted','=',True)]}"
attrs="{'readonly':[('is_submitted','=',True)]}"
options='{"no_open": True, "no_create": True}'/>
<field name="partner_email" readonly="1"/>
<field name="department_id" readonly="1" options='{"no_open": True, "no_create": True}'/>

View File

@ -350,7 +350,6 @@ class odex25_helpdeskTicket(models.Model):
# self.department_id = employee_id.department_id
def activity_update(self):
print("dfjvnd")
for ticket in self.filtered(lambda request: request.schedule_date):
ticket.activity_schedule('odex25_helpdesk.mail_act_odex25_helpdesk_assistance',
fields.Datetime.from_string(ticket.schedule_date).date(),