some details
This commit is contained in:
parent
ed2d36e245
commit
2fa7218f8c
|
|
@ -135,7 +135,7 @@
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<field name="partner_id" string="Customer"
|
<field name="partner_id" string="Customer"
|
||||||
aattrs="{'readonly':[('is_submitted','=',True)]}"
|
attrs="{'readonly':[('is_submitted','=',True)]}"
|
||||||
options='{"no_open": True, "no_create": True}'/>
|
options='{"no_open": True, "no_create": True}'/>
|
||||||
<field name="partner_email" readonly="1"/>
|
<field name="partner_email" readonly="1"/>
|
||||||
<field name="department_id" readonly="1" options='{"no_open": True, "no_create": True}'/>
|
<field name="department_id" readonly="1" options='{"no_open": True, "no_create": True}'/>
|
||||||
|
|
|
||||||
|
|
@ -350,7 +350,6 @@ class odex25_helpdeskTicket(models.Model):
|
||||||
# self.department_id = employee_id.department_id
|
# self.department_id = employee_id.department_id
|
||||||
|
|
||||||
def activity_update(self):
|
def activity_update(self):
|
||||||
print("dfjvnd")
|
|
||||||
for ticket in self.filtered(lambda request: request.schedule_date):
|
for ticket in self.filtered(lambda request: request.schedule_date):
|
||||||
ticket.activity_schedule('odex25_helpdesk.mail_act_odex25_helpdesk_assistance',
|
ticket.activity_schedule('odex25_helpdesk.mail_act_odex25_helpdesk_assistance',
|
||||||
fields.Datetime.from_string(ticket.schedule_date).date(),
|
fields.Datetime.from_string(ticket.schedule_date).date(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue