Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
odoo 14: Obtuve $ nodo indefinido en render_buttons

Estoy trabajando para agregar algunos elementos adicionales como en este módulo en la vista dinámica de odoo 14.0.

Creé la plantilla y luego heredé el PivotController, el problema es que siempre me quedo sin definir en la variable $node cuando se llama al método renderButtons y no pude agregar las plantillas (usando appendTo) que he creado.

Aquí hay una muestra de mi código:

 var PivotController = require('web.PivotController'); PivotController.include({ renderButtons: function ($node) { var self = this; var state = self.model.get(self.handle, { raw: true }); var context = state.context || false; this._super.apply(this, arguments); var l10n = _t.database.parameters; if ((context && context.add_company) || (context && context.add_partner)) { self.$formule_calcul = $(QWeb.render('formule_calcul', {})) self.$formule_calcul.appendTo($node); } }, });

¿Usted me podría ayudar?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!