From 677e62bfd61bc615b6db4b9c22f3570dbbd64b45 Mon Sep 17 00:00:00 2001 From: benjamin <benjamin@le-filament.com> Date: Thu, 3 Apr 2025 17:42:06 +0200 Subject: [PATCH] [FIX] install errors --- __manifest__.py | 2 +- views/scop_cotisation_paca.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/__manifest__.py b/__manifest__.py index 84a9330..6d85925 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -11,8 +11,8 @@ ], "data": [ # security - "security/ir.model.access.csv", "security/security_rules.xml", + "security/ir.model.access.csv", # views "views/res_partner.xml", "views/scop_cotisation_paca.xml", diff --git a/views/scop_cotisation_paca.xml b/views/scop_cotisation_paca.xml index 49d7717..2001555 100644 --- a/views/scop_cotisation_paca.xml +++ b/views/scop_cotisation_paca.xml @@ -5,12 +5,12 @@ <field name="name">scop.cotisation.paca.tree</field> <field name="model">scop.cotisation.paca</field> <field name="arch" type="xml"> - <tree editable="top"> - <field name="company_id" invsible="1" /> - <field name="currency_id" invsible="1" /> + <tree string="Cotisations PACA" editable="top"> + <field name="company_id" invisible="1" /> + <field name="currency_id" invisible="1" /> <field name="year" /> <field name="partner_id" /> - <field name="amount_ca" /> + <field name="amount_ca" required="True" /> <field name="amount_contribution" /> <field name="amount_contribution_last_year" /> <field name="invoice_number" /> -- GitLab