Skip to content

Commit

Permalink
[MIG] crm_claim_type: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BernatObrador committed Aug 12, 2024
1 parent 2e4ab0e commit 152c9b8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
4 changes: 4 additions & 0 deletions crm_claim_type/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ Contributors

- Jonathan Oscategui Taza <[email protected]>

- `APSL-Nagarro <https://apsl.tech>`__:

- Bernat Obrador <[email protected]>

Maintainers
-----------

Expand Down
2 changes: 1 addition & 1 deletion crm_claim_type/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/crm",
"license": "AGPL-3",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"depends": ["crm_claim"],
"data": [
"data/crm_claim_type.xml",
Expand Down
2 changes: 2 additions & 0 deletions crm_claim_type/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
- Manuel Marquez \<<[email protected]>\>
- [Pesol](https://www.pesol.es):
- Jonathan Oscategui Taza \<<[email protected]>\>
- [APSL-Nagarro](<https://apsl.tech>):
- Bernat Obrador \<<[email protected]>\>
4 changes: 4 additions & 0 deletions crm_claim_type/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Jonathan Oscategui Taza &lt;<a class="reference external" href="mailto:info&#64;pesol.es">info&#64;pesol.es</a>&gt;</li>
</ul>
</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: 3 additions & 6 deletions crm_claim_type/views/crm_claim_stage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<field name="claim_common" />
<field
name="claim_type"
attrs="{'required':[('claim_common','=',False)],
'invisible':[('claim_common','=',True)]}"
required="not claim_common"
invisible="claim_common"
/>
</xpath>
</field>
Expand All @@ -28,10 +28,7 @@
<field name="arch" type="xml">
<xpath expr="//field[@name='name']" position="after">
<field name="claim_common" />
<field
name="claim_type"
attrs="{'invisible':[('claim_common','=',True)]}"
/>
<field name="claim_type" />
</xpath>
</field>
</record>
Expand Down

0 comments on commit 152c9b8

Please sign in to comment.