Skip to content
Extraits de code Groupes Projets
Valider b494cb0f rédigé par jordan's avatar jordan
Parcourir les fichiers

[delete] useless

parent 258f0daf
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
"views/res_config_settings.xml", "views/res_config_settings.xml",
"views/scop_bordereau_cg.xml", "views/scop_bordereau_cg.xml",
"views/scop_cotisation_cg.xml", "views/scop_cotisation_cg.xml",
"views/union_regionale.xml",
"wizard/scop_cotisation_cg_wizard.xml", "wizard/scop_cotisation_cg_wizard.xml",
"report/report_scop_bordereau.xml", "report/report_scop_bordereau.xml",
] ]
......
# © 2021 Le Filament (<http://www.le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class UnionRegionale(models.Model):
_inherit = 'union.regionale'
property_account_income_id = fields.Many2one(
comodel_name='account.account',
company_dependent=True,
string="Compte de produit (Cotisations)",
domain="[('internal_type', '=', 'other'), ('deprecated', '=', False)]",
help="Compte de produit utilisé pour la gestion des cotisations",
)
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2020 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<record id="union_regionale_contribution_tree_view" model="ir.ui.view">
<field name="name">union.regionale.contribution.tree</field>
<field name="model">union.regionale</field>
<field name="inherit_id" ref="cgscop_partner.union_regionale_tree_view"/>
<field name="priority" eval="8"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='id_riga']" position="before">
<field name="property_account_income_id"/>
</xpath>
</field>
</record>
</data>
</odoo>
\ No newline at end of file
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