Putting single quotes around $UCIROW should fix the error: Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc. It works like a charm now . Something went wrong while trying to load the full version of this site.

The ID of your input reads: "quantity124". Use the live chat to ask your questions.

Please enable JavaScript in your browser to use all the features on this site. Thanks for your subscription!

The capitalization of "Id" in the name of this method must be correct for the code to function; getElementByID() is not valid and will not work, however natural it may seem.. Could someone point out my errors? > and the preferences-page is there, but non-functional. The intent is to avoid creation of duplicate payslips for the same payroll period.

How to I add node items to the root? My editor doesn't show up any syntax error. 2. The add-on that sometimes triggers this issue on startup. > +let APP_STARTUP = 'final-ui-startup'; > The software development kit for building Firefox add-ons.

try doc.responseXML.documentElement == null or doc.responseXML.documentElement == undefined 1.

With that out of the way we can start to understand why trying to access a property of null or undefined may fail. Edit Close Delete Flag Jayant Bulbule.

At the end we see that even though null and undefined are considered equal, they are not the same identity (equal without type conversion).As discussed, this is because they are of different types behind the scenes: null being an object and undefined being an undefined type. Getting TypeError: Cannot read property 'documentElement' of null with fields_view_get() ODOO 11.

I am really stuck with this. What's the line where the error occurs? Could someone point out my errors?

Share this:

The DocumentElement is always null? oninput="UpdateCartItem(, '')", Thank you for explaining it! Firefox, Fennec, Thunderbird...) If the above problem does not have a direct solution, any alternative solution would as well be a great help. test event topic using GUID instead of name string.

try console.log(doc.responseXML.documentElement) and console.log(typeof doc.responseXML.documentElement) and check the console output, it might give some help; where does this file come from? > // Gets the topic that fit best as application startup event, in according with If a place a console.log statement in

Therefore the crash with the exception "TypeError: hiddenWindow.document.documentElement is null".

Therefore it is interpreted as a variable, not a string. Document.documentElement returns the Element that is the root element of the document (for example, the html element for HTML documents). > }; Firefox, Fennec, Thunderbird...) The LogLevel Unsubscribe Subscribe. It includes hundreds of business apps: def fields_view_get(self, cr, uid, view_id=None, view_type=False, context=None, toolbar=False, submenu=False): active_id = self.env.context.get('active_id'), [run_data] = self.env['hr.payslip.run'].browse(active_id).read(['date_start', 'date_end', 'credit_note']), to_date = datetime.date(today.year, today.month, 1) - 1, from_date = datetime.date(to_date.year, to_date.month, 1), query = """select id from hr_employee where id not in, (select distinct employee_id from hr_payslip where date_from = '%s' and date_to = '%s')""" % (from_date, to_date), return {'domain': {'employee_ids':[('id','in',emp_ids)]}}, I tried by pasting this code into the hr_payroll_payslips_by_employees.py to get the list of employees filtered while selecting employees for payslip batch.

Usage notes.

> Odoo's unique value proposition is to be at the same time very easy to use and fully integrated. > the add-on loads successfully. > does not evenget executed. All the samples start by loading a string or file. > When I restart the browser, nothing happens and my main.js file application/octet-stream, "TypeError: hiddenWindow.document.body is null" when creating a Panel, Wes Kocher (:KWierso) (Not reading bugmail; email directly if needed).

The add-on is listed as enabled