Skip to content

Commit

Permalink
[MIG] pos_ticket_extra_company_info_l10n_fr: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HeliconiaSolutions committed Feb 10, 2025
1 parent 11c5d3f commit 17beb3f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 30 deletions.
3 changes: 3 additions & 0 deletions pos_ticket_extra_company_info_l10n_fr/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ Contributors
------------

- Sylvain LE GAL (https://twitter.com/legalsylvain)
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

Other credits
-------------
Expand Down
7 changes: 3 additions & 4 deletions pos_ticket_extra_company_info_l10n_fr/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
{
"name": "Point of Sale - Extra Company Info (France)",
"summary": "Add siret company infos on the ticket",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Sales/Point Of Sale",
"website": "https://github.com/OCA/pos",
"author": "GRAP, Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"license": "AGPL-3",
"depends": ["point_of_sale", "l10n_fr"],
"assets": {
"point_of_sale.assets": [
"pos_ticket_extra_company_info_l10n_fr/static/src/js/models.esm.js",
"pos_ticket_extra_company_info_l10n_fr/static/src/xml/OrderReceipt.xml",
"point_of_sale._assets_pos": [
"pos_ticket_extra_company_info_l10n_fr/static/src/xml/ReceiptHeader.xml",
],
},
"installable": True,
Expand Down
2 changes: 2 additions & 0 deletions pos_ticket_extra_company_info_l10n_fr/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
- Sylvain LE GAL (<https://twitter.com/legalsylvain>)
- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io)
- Bhavesh Heliconia
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ <h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
<ul class="simple">
<li>Sylvain LE GAL (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</li>
<li><a class="reference external" href="https://www.heliconia.io">Heliconia Solutions Pvt. Ltd.</a><ul>
<li>Bhavesh Heliconia</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="other-credits">
Expand Down
22 changes: 0 additions & 22 deletions pos_ticket_extra_company_info_l10n_fr/static/src/js/models.esm.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<templates id="template" xml:space="preserve">

<t t-inherit="point_of_sale.OrderReceipt" t-inherit-mode="extension" owl="1">
<xpath expr="//t[@t-if='receipt.company.vat']" position="after">
<div t-if="receipt.company.siret">
SIRET:<t t-esc="receipt.company.siret" />
<t t-inherit="point_of_sale.ReceiptHeader" t-inherit-mode="extension">
<xpath expr="//t[@t-if='props.data.company.vat']" position="after">
<div t-if="props.data.company.siret">
SIRET:<t t-esc="props.data.company.siret" />
</div>
</xpath>
</t>
Expand Down

0 comments on commit 17beb3f

Please sign in to comment.