Skip to content
Extraits de code Groupes Projets
Valider 6cb47fa1 rédigé par Hugo Trentesaux's avatar Hugo Trentesaux
Parcourir les fichiers

[MIG] Migration to 18.0

parent 423b7558
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!1[MIG] Migration to 18.0
......@@ -4,8 +4,10 @@
{
"name": "French NAF codes",
"version": "14.0.1.0.0",
"summary": "Codes NAF",
"version": "18.0.1.0.0",
"author": "Numérigraphe SARL," "Le Filament," "Odoo Community Association (OCA)",
"website": "https://le-filament.com",
"category": "French Localization",
"depends": ["contacts"],
"data": [
......@@ -14,4 +16,6 @@
"views/res_partner.xml",
],
"license": "AGPL-3",
"installable": True,
"auto_install": False,
}
......@@ -10,7 +10,7 @@
<field name="website" position="after">
<field
name="naf_id"
attrs="{'invisible': [('is_company', '=', False)]}"
invisible="not is_company"
/>
</field>
</field>
......@@ -21,16 +21,16 @@
<field name="name">res.partner.naf.tree</field>
<field name="model">res.partner.naf</field>
<field name="arch" type="xml">
<tree string="NAF codes" editable="bottom">
<list string="NAF codes" editable="bottom">
<field name="name" />
</tree>
</list>
</field>
</record>
<record id="action_view_res_partner_naf_tree" model="ir.actions.act_window">
<field name="name">Codes NAF</field>
<field name="res_model">res.partner.naf</field>
<field name="view_mode">tree</field>
<field name="view_mode">list</field>
<field name="help">Affiche et gère la liste des codes NAF.</field>
</record>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter