OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Extend Calendar Popover View in Odoo 16

  • Thread starter Thread starter Rochus
  • Start date Start date
R

Rochus

Guest
I’m trying to extend a calendar view in Odoo 16, specifically the “popover”. I’ve followed various steps and guides, but I keep encountering the following error:

Code:
odoo.tools.convert.ParseError: while parsing None:3, somewhere inside.

enter image description here

I can’t figure out what I’m doing wrong. Can anyone help me?

Thank you very much!

Code:
# Module structure
my_module/
├── __init__.py
├── __manifest__.py
└── views/
    └── attendee_calendar_common_popover_extension.xml

# __manifest__.py
{
    'name': 'My Module',
    'version': '1.0',
    'summary': 'Estende la vista del calendario per aggiungere più campi',
    'category': 'Calendar',
    'depends': ['calendar'],
    'data': [
        'views/attendee_calendar_common_popover_extension.xml',
    ],
    'installable': True,
    'application': False,
}

xml file

Parent View https://github.com/odoo/odoo/blob/1...r/common/attendee_calendar_common_popover.xml
<p>I’m trying to extend a calendar view in Odoo 16, specifically the “popover”. I’ve followed various steps and guides, but I keep encountering the following error:</p>
<pre><code>odoo.tools.convert.ParseError: while parsing None:3, somewhere inside.
</code></pre>
<p><a href="https://i.sstatic.net/40b4kjLj.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/40b4kjLj.png" alt="enter image description here" /></a></p>
<p>I can’t figure out what I’m doing wrong. Can anyone help me?</p>
<p>Thank you very much!</p>
<pre><code># Module structure
my_module/
├── __init__.py
├── __manifest__.py
└── views/
└── attendee_calendar_common_popover_extension.xml

# __manifest__.py
{
'name': 'My Module',
'version': '1.0',
'summary': 'Estende la vista del calendario per aggiungere più campi',
'category': 'Calendar',
'depends': ['calendar'],
'data': [
'views/attendee_calendar_common_popover_extension.xml',
],
'installable': True,
'application': False,
}
</code></pre>
<p><a href="https://i.sstatic.net/wiJKV3jY.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/wiJKV3jY.png" alt="xml file" /></a></p>
<p><strong>Parent View</strong>
<a href="https://github.com/odoo/odoo/blob/1...r/common/attendee_calendar_common_popover.xml" rel="nofollow noreferrer">https://github.com/odoo/odoo/blob/1...r/common/attendee_calendar_common_popover.xml</a></p>
 

Latest posts

Top