[FIX] website_slides: create new course traceback issue
This bug was generated because of the template was not initialized at proper place, so put the xmlDependency at correct place. task-2040460 closes odoo/odoo#35409 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -12,6 +12,9 @@ var _t = core._t;
|
||||
|
||||
var ChannelCreateDialog = Dialog.extend({
|
||||
template: 'website.slide.channel.create',
|
||||
xmlDependencies: Dialog.prototype.xmlDependencies.concat(
|
||||
['/website_slides/static/src/xml/website_slides_channel.xml']
|
||||
),
|
||||
/**
|
||||
* @override
|
||||
* @param {Object} parent
|
||||
@@ -90,9 +93,6 @@ WebsiteNewMenu.include({
|
||||
actions: _.extend({}, WebsiteNewMenu.prototype.actions || {}, {
|
||||
new_slide_channel: '_createNewSlideChannel',
|
||||
}),
|
||||
xmlDependencies: WebsiteNewMenu.prototype.xmlDependencies.concat(
|
||||
['/website_slides/static/src/xml/website_slides_channel.xml']
|
||||
),
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Actions
|
||||
|
||||
Reference in New Issue
Block a user