Hi!
Currently I'm developing a module for Odoo 17 which is supposed to generate a simple PDF report of outgoing delivery orders from stock.picking. This PDF report is supposed to be triggered by a "Generate Delivery Report" button in the main menu of Odoo's delivery module.
The error appears when I attempt to install/upgrade the module.
Please tell me if I'm missing something, as I can't find the problem in my code, yet.
See my code and the full error below:
__manifest__.py
{
'name': 'ModuleName',
'summary': "Erstellt eine neue Ansicht für Lieferungen und Sammelabwicklungen",
'description': "Erstellt eine neue Ansicht für Lieferungen und Sammelabwicklungen",
'version': '1.0.0',
'author': 'My_Company',
'category': 'Warehouse',
'depends': ['base', 'stock'],
'website': "https://www.website.com",
'license': 'Other proprietary',
'data': [
'views/views.xml',
'views/stock_menu_inherit.xml',
'templates/delivery_orders_report.xml',
],
'installable': True,
'application': True,
'auto_install': False
}
views/stock_menu_inherit.xml
stock.menu.action.inherit
stock.picking.type
templates/delivery_orders_report.xml
- Delivery Order
Date:
Customer:
State:
Product | Quantity |
---|---|
Delivery Orders
stock.picking
ModuleName.report_delivery_orders
qweb-pdf
report
Full Error:
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 569, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /var/lib/odoo/addons/17.0/ZweiPunktDOReporter/views/stock_menu_inherit.xml:5, somewhere inside
stock.menu.action.inherit
stock.picking.type
The above server error caused the following client error:
RPC_ERROR://localhost:8069/web/assets/04cc819/web.assets_web.min.js:2874:163)
at XMLHttpRequest. (http://localhost:8069/web/assets/04cc819/web.assets_web.min.js:2878:13)