Odoo Ayuda

0

0
1 Respuesta
1
Avatar

Pawan Kumar Sharma India

--Pawan Kumar Sharma--
SunArc Technologies
8827
| 6 3 7
Gangashahar(Bikaner), India
--Pawan Kumar Sharma--


Pawan Kumar Sharma India
12/7/19 7:34

Hello ALL,

I Got a solution for my problem:

odoo.define('custom_project.web_export_view', function (require) {

"use strict";
var core = require('web.core');
var ListView = require('web.ListView');
var ListController = require("web.ListController");

var includeDict = {
renderButtons: function () {
this._super.apply(this, arguments);
if (this.modelName === "account.analytic.line") {
var your_btn = this.$buttons.find('button.o_button_help')
your_btn.on('click', this.proxy('o_button_help'))
}
},
o_button_help: function(){
}
};
ListController.include(includeDict);
});

Thanks, everyone

Realizar una pregunta
Etiquetas
Keep Informed
1 seguidor(es)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now