Good morning,
I'm trying to create a module to apply common XML customizations for clients. I usually do this using Odoo Studio.
However, when I try to install the module, I get the following error:
AssertionError: Module not installable
The only thing I can confirm is that the issue is somewhere in the code. I've included the manifest and the XML code below.
__manifest__.py
# -*- coding: utf-8 -*-
{
'name': 'Bodegas',
'version': '19.2.0.1',
'category': 'Accounting',
'depends': ['account','studio_customization'],
'author': 'D',
'website': '',
'data': [
'views/report_invoice_document_inherit.xml'
],
'license': 'LGPL-3',
'installable': True,
'application': False
}<?xml version="1.0" encoding="utf-8"?> <odoo> <template id="report_invoice_document_inherit" inherit_id="account.report_invoice_document"> <xpath expr="//div[@id='informations']" position="after"> <div class="oe_structure" t-if="o.x_studio_albaran"> <strong>ALBARANES:</strong> <span t-field="o.x_studio_albaran"/> </div> <div class="oe_structure"> <br/> </div> </xpath> </template> </odoo>
Thank you in advance for your help.
EDIT: Just wanted to confirm that I have an __init__.py empty.
Hello,
Please confirm that you have added __init__.py file in your module..
Between double-checking the XML and commenting the version line in the manifest. It worked perfectly. Thank you so much.
Regarding the SaaS Custom module: you don't need to manually specify the version. It automatically defaults to the version of the Odoo instance you are currently running.