Le nom de mon module est : analityc_projet
Mon fichier analytic_distribution.xml
xml version="1.0" encoding="UTF-8"?>
t-name="projet_analityc.AnalitycDistributionPopup" t-inherit="analytic.AnalyticDistributionPopup" owl="1">
expr="//td[@class='o_analytic_percentage']" position="replace">
Unsaved changes
Mon fichier _manifest
# -*- coding: utf-8 -*-
{
'name': "projet_analityc",
'summary': """
Short (1 phrase/line) summary of the module's purpose, used as
subtitle on modules listing or apps.openerp.com""",
'description': """
Long description of module's purpose
""",
'author': "My Company",
'website': "https://www.yourcompany.com",
# Categories can be used to filter modules in modules listing
# Check https://github.com/odoo/odoo/blob/16.0/odoo/addons/base/data/ir_module_category_data.xml
# for the full list
'category': 'Uncategorized',
'version': '0.1',
# any module necessary for this one to work correctly
'depends': ['base', 'analytic'],
# always loaded
'data': [
#'security/ir.model.access.csv',
'views/views.xml',
'views/templates.xml',
'views/analytic_distribution.xml',
],
# only loaded in demonstration mode
'demo': [
'demo/demo.xml',
],
}
J'éssaie d'hériter de analytic.AnalyticDistributionPopup du modèle analytic et de remplacer la class o_analytic_percentage par un input mais ça ne passe pas