Skip to content

Commit 4eba8af

Browse files
committed
[FIX] use new reference method
1 parent 78fa993 commit 4eba8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: altinkaya_sales/models/sale_order.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def action_quotation_send(self):
294294

295295
ir_model_data = self.env["ir.model.data"]
296296
try:
297-
template_id = ir_model_data.get_object_reference(
297+
template_id = ir_model_data.check_object_reference(
298298
"altinkaya_sales", "email_template_edi_sale_altinkaya"
299299
)[1]
300300
except ValueError:

0 commit comments

Comments
 (0)