Hi Everyone,
Please do you have the solution for odoo 15?
I'm trying to inherit the signature module modal dialog to remove drawing and automatic options.
But I can't do that because the model is deleted after loading in the web module.
Pierre-Alain
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi Everyone,
Please do you have the solution for odoo 15?
I'm trying to inherit the signature module modal dialog to remove drawing and automatic options.
But I can't do that because the model is deleted after loading in the web module.
Pierre-Alain
Hello Pierre-Alain
Please find code in comment.
I hope this will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Please find the below XML code to inherit sign_name_and_signature and make sure to declare the xml file in assets -> web.assets_qweb
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="web.sign_name_and_signature">
<t t-jquery="[t-attf-class*=o_web_sign_draw_button]" t-operation="attributes">
<attribute name="t-att-style">'display: none;'</attribute>
</t>
<t t-jquery="[t-attf-class*=o_web_sign_auto_button]" t-operation="attributes">
<attribute name="t-att-style">'display: none;'</attribute>
</t>
</t>
</templates>
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
ديسمبر 23
|
1717 | ||
|
2
أغسطس 23
|
1594 | ||
|
1
ديسمبر 23
|
2948 | ||
|
1
يوليو 23
|
2246 | ||
|
0
مايو 23
|
1826 |