Skip to content

Commit

Permalink
[IMP] l10n_fr_siret: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericgrall committed Oct 29, 2024
1 parent 1953f75 commit a2d7a69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions l10n_fr_siret/demo/partner_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">

<record id="c2c_france" model="res.partner">
<field name="name">Camptocamp France SAS</field>
<field name="is_company" eval="True" />
Expand All @@ -17,5 +16,4 @@
<field name="siren">433698578</field>
<field name="nic">00054</field>
</record>

</odoo>
2 changes: 0 additions & 2 deletions l10n_fr_siret/views/res_company.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>

<record id="res_company_form_l10n_fr" model="ir.ui.view">
<field name="name">l10n_fr_siret.res.company.form</field>
<field name="model">res.company</field>
Expand All @@ -17,5 +16,4 @@
</field>
</field>
</record>

</odoo>
6 changes: 2 additions & 4 deletions l10n_fr_siret/views/res_partner.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<!-- Add the SIREN and RC -->
<record model="ir.ui.view" id="res_partner_form_l10n_fr">
<field name="name">res.partner.form.siret</field>
Expand Down Expand Up @@ -53,11 +52,10 @@
invisible="not same_siren_partner_id"
>
Duplicate warning: partner <field
name="same_siren_partner_id"
/> has the same <b>SIREN</b>.
name="same_siren_partner_id"
/> has the same <b>SIREN</b>.
</div>
</div>
</field>
</record>

</odoo>
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# generated from manifests external_dependencies
python-stdnum>=1.18

0 comments on commit a2d7a69

Please sign in to comment.