From 0017e3b0fd3763be905b930f99c9a712cb95bfce Mon Sep 17 00:00:00 2001 From: Benjamin <benjamin@le-filament.com> Date: Thu, 14 Jan 2021 18:52:22 +0100 Subject: [PATCH] [update] tree views --- README.rst | 2 +- reports/pca_fae_dashboard.xml | 2 +- views/account_invoice_pcafae_line.xml | 2 +- views/sale_order_pcafae_line.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 63118d8..dd85b21 100644 --- a/README.rst +++ b/README.rst @@ -19,7 +19,7 @@ Ces informations sont accessibles dans le menu *Comptabilité > Rapports > CA / Fonctionnement ============== -A la création d'un devisle module ajoute par défaut une ligne de ventilation à 100% sur l'année fiscale en cours. +A la création d'un devis le module ajoute par défaut une ligne de ventilation à 100% sur l'année fiscale en cours. Les années étant stockées au format *char*, une vérification est faite sur une expression régulière lors de la saisie pour vérifier qu'il s'agit du bon format. Il y a également une vérification sur l'enregistrement pour valider que le total est bien à 100%. diff --git a/reports/pca_fae_dashboard.xml b/reports/pca_fae_dashboard.xml index 86d6516..b0d6b24 100644 --- a/reports/pca_fae_dashboard.xml +++ b/reports/pca_fae_dashboard.xml @@ -6,7 +6,7 @@ <field name="name">pca.fae.dashboard.tree</field> <field name="model">pca.fae.dashboard</field> <field name="arch" type="xml"> - <tree string="Dashboard PCA FAE"> + <tree string="Dashboard PCA FAE" create="false" edit="false" delete="false" > <field name="year"/> <field name="partner_id"/> <field name="order_estimated"/> diff --git a/views/account_invoice_pcafae_line.xml b/views/account_invoice_pcafae_line.xml index 3b653d5..e89600c 100644 --- a/views/account_invoice_pcafae_line.xml +++ b/views/account_invoice_pcafae_line.xml @@ -5,7 +5,7 @@ <field name="name">account.invoice.pcafae.line.tree</field> <field name="model">account.invoice.pcafae.line</field> <field name="arch" type="xml"> - <tree string="Pondération Factures" no_create="1" no_edit="1"> + <tree string="Pondération Factures" create="false" edit="false" delete="false" > <field name="year"/> <field name="partner_id"/> <field name="invoice_id"/> diff --git a/views/sale_order_pcafae_line.xml b/views/sale_order_pcafae_line.xml index 7186059..feac188 100644 --- a/views/sale_order_pcafae_line.xml +++ b/views/sale_order_pcafae_line.xml @@ -5,7 +5,7 @@ <field name="name">sale.order.pcafae.line.tree</field> <field name="model">sale.order.pcafae.line</field> <field name="arch" type="xml"> - <tree string="Pondération Commandes" no_create="1" no_edit="1"> + <tree string="Pondération Commandes" create="false" edit="false" delete="false" > <field name="year"/> <field name="partner_id"/> <field name="order_id"/> -- GitLab