Skip to content

Commit

Permalink
[MIG] crm_lead_currency: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BernatObrador committed Jul 19, 2024
1 parent 704b2d5 commit a8ee210
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions crm_lead_currency/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ Contributors
------------

- Thierry Ducrest <[email protected]>
- `APSL-Nagarro <https://apsl.tech>`__:

- Bernat Obrador <[email protected]>

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion crm_lead_currency/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"maintainers": [
"luisg123v",
],
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Camptocamp SA,Odoo Community Association (OCA),Vauxoo",
"website": "https://github.com/OCA/crm",
Expand Down
2 changes: 2 additions & 0 deletions crm_lead_currency/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
- Thierry Ducrest \<<[email protected]>\>
- [APSL-Nagarro](<https://apsl.tech>):
- Bernat Obrador \<<[email protected]>\>
4 changes: 4 additions & 0 deletions crm_lead_currency/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,10 @@ <h2><a class="toc-backref" href="#toc-entry-6">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
<ul class="simple">
<li>Thierry Ducrest &lt;<a class="reference external" href="mailto:thierry.ducrest&#64;camptocamp.com">thierry.ducrest&#64;camptocamp.com</a>&gt;</li>
<li><a class="reference external" href="https://apsl.tech">APSL-Nagarro</a>:<ul>
<li>Bernat Obrador &lt;<a class="reference external" href="mailto:bobrador&#64;apsl.net">bobrador&#64;apsl.net</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
9 changes: 2 additions & 7 deletions crm_lead_currency/views/crm_lead_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,10 @@
>
<field name="customer_currency_id" />
<field name="is_same_currency" invisible="1" />
<field
name="amount_customer_currency"
attrs="{'invisible': [('is_same_currency', '=', True)]}"
/>
<field name="amount_customer_currency" invisible="is_same_currency" />
</xpath>
<field name="expected_revenue" position="attributes">
<attribute name="attrs">
{'readonly': [('is_same_currency', '=', False)]}
</attribute>
<attribute name="readonly">not is_same_currency</attribute>
<attribute name="force_save">1</attribute>
</field>
</field>
Expand Down

0 comments on commit a8ee210

Please sign in to comment.