Skip to content

Commit 79545bc

Browse files
committed
[FIX] mass_mailing_partner: control readonly field
1 parent b0b951b commit 79545bc

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

mass_mailing_partner/README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ Contributors
102102

103103
* Jairo Llopis
104104

105+
* `Kencove <https://kencove.com>`_:
106+
107+
* Mohamed Alkobrosli
108+
105109
Other credits
106110
~~~~~~~~~~~~~
107111

mass_mailing_partner/readme/CONTRIBUTORS.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@
2020
* `Moduon <https://www.moduon.team>`_:
2121

2222
* Jairo Llopis
23+
24+
* `Kencove <https://kencove.com>`_:
25+
26+
* Mohamed Alkobrosli

mass_mailing_partner/static/description/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,13 @@ <h1>Contributors</h1>
454454
</ul>
455455
</blockquote>
456456
</li>
457+
<li><p class="first"><a class="reference external" href="https://kencove.com">Kencove</a>:</p>
458+
<blockquote>
459+
<ul class="simple">
460+
<li>Mohamed Alkobrosli</li>
461+
</ul>
462+
</blockquote>
463+
</li>
457464
</ul>
458465
</div>
459466
<div class="section" id="other-credits">

mass_mailing_partner/views/mailing_contact_view.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,37 @@
3030
<attribute
3131
name="attrs"
3232
>{'readonly': [('partner_id', '!=', False)]}</attribute>
33+
<attribute name="force_save">1</attribute>
3334
</field>
3435
<field name="email" position="attributes">
3536
<attribute
3637
name="attrs"
3738
>{'readonly': [('partner_id', '!=', False)]}</attribute>
39+
<attribute name="force_save">1</attribute>
3840
</field>
3941
<field name="name" position="attributes">
4042
<attribute
4143
name="attrs"
4244
>{'readonly': [('partner_id', '!=', False)]}</attribute>
45+
<attribute name="force_save">1</attribute>
4346
</field>
4447
<field name="company_name" position="attributes">
4548
<attribute
4649
name="attrs"
4750
>{'readonly': [('partner_id', '!=', False)]}</attribute>
51+
<attribute name="force_save">1</attribute>
4852
</field>
4953
<field name="country_id" position="attributes">
5054
<attribute
5155
name="attrs"
5256
>{'readonly': [('partner_id', '!=', False)]}</attribute>
57+
<attribute name="force_save">1</attribute>
5358
</field>
5459
<field name="tag_ids" position="attributes">
5560
<attribute
5661
name="attrs"
5762
>{'readonly': [('partner_id', '!=', False)]}</attribute>
63+
<attribute name="force_save">1</attribute>
5864
</field>
5965
</field>
6066
</record>

0 commit comments

Comments
 (0)