Skip to Content
Menu
This question has been flagged
5 Replies
9857 Views


Thank you in advance for your help ..
The error code :


http://localhost:9118/web/static/src/js/views/form/form_renderer.js:396
Retraçage :
_renderInnerGroup/<@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:396:17
_.forEach@http://localhost:9118/web/static/lib/underscore/underscore.js:145:9
_renderInnerGroup@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:388:9
_renderTagGroup@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:599:20
_renderNode@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:483:20
_renderTagGroup/<@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:608:26
_.collect@http://localhost:9118/web/static/lib/underscore/underscore.js:164:24
_renderTagGroup@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:604:24
_renderNode@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:483:20
_.collect@http://localhost:9118/web/static/lib/underscore/underscore.js:164:24
_renderTagForm@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:585:24
_renderNode@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:483:20
_renderView@http://localhost:9118/web/static/src/js/views/form/form_renderer.js:786:21
_render@http://localhost:9118/web/static/src/js/views/basic/basic_renderer.js:477:16
start@http://localhost:9118/web/static/src/js/views/abstract_renderer.js:37:23
OdooClass.extend/</prototype[name]</<@http://localhost:9118/web/static/src/js/core/class.js:90:35
__widgetRenderAndInsert/<@http://localhost:9118/web/static/src/js/core/widget.js:206:20
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:9118/web/static/lib/jquery/jquery.js:3165:49
then/</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3275:57
each@http://localhost:9118/web/static/lib/jquery/jquery.js:383:49
then/<@http://localhost:9118/web/static/lib/jquery/jquery.js:3272:49
Deferred@http://localhost:9118/web/static/lib/jquery/jquery.js:3332:25
then@http://localhost:9118/web/static/lib/jquery/jquery.js:3271:48
__widgetRenderAndInsert@http://localhost:9118/web/static/src/js/core/widget.js:203:16
appendTo@http://localhost:9118/web/static/src/js/core/widget.js:142:16
start@http://localhost:9118/web/static/src/js/views/abstract_controller.js:53:13
OdooClass.extend/</prototype[name]</<@http://localhost:9118/web/static/src/js/core/class.js:90:35
start@http://localhost:9118/web/static/src/js/views/basic/basic_controller.js:50:16
OdooClass.extend/</prototype[name]</<@http://localhost:9118/web/static/src/js/core/class.js:90:35
__widgetRenderAndInsert/<@http://localhost:9118/web/static/src/js/core/widget.js:206:20
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:9118/web/static/lib/jquery/jquery.js:3165:49
then/</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3275:57
each@http://localhost:9118/web/static/lib/jquery/jquery.js:383:49
then/<@http://localhost:9118/web/static/lib/jquery/jquery.js:3272:49
Deferred@http://localhost:9118/web/static/lib/jquery/jquery.js:3332:25
then@http://localhost:9118/web/static/lib/jquery/jquery.js:3271:48
__widgetRenderAndInsert@http://localhost:9118/web/static/src/js/core/widget.js:203:16
appendTo@http://localhost:9118/web/static/src/js/core/widget.js:142:16
switch_mode/</<@http://localhost:9118/web/static/src/js/chrome/view_manager.js:288:21
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3283:73
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3283:73
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
updateFunc/<@http://localhost:9118/web/static/lib/jquery/jquery.js:3360:49
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3283:73
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:9118/web/static/lib/jquery/jquery.js:3165:49
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3278:73
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:9118/web/static/lib/jquery/jquery.js:3165:49
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3278:73
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
_makeDefaultRecord/</</<@http://localhost:9118/web/static/src/js/views/basic/basic_model.js:3314:29
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
add@http://localhost:9118/web/static/lib/jquery/jquery.js:3165:49
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3278:73
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
rpc/</<@http://localhost:9118/web/static/src/js/services/ajax_service.js:13:21
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3276:86
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
Deferred/</deferred[tuple[0]]@http://localhost:9118/web/static/lib/jquery/jquery.js:3321:33
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3283:73
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
then/</</<@http://localhost:9118/web/static/lib/jquery/jquery.js:3283:73
fire@http://localhost:9118/web/static/lib/jquery/jquery.js:3119:38
fireWith@http://localhost:9118/web/static/lib/jquery/jquery.js:3231:49
done@http://localhost:9118/web/static/lib/jquery/jquery.js:9275:33
callback@http://localhost:9118/web/static/lib/jquery/jquery.js:9685:57

Here is the xml :

<?xml version="1.0" encoding="UTF-8"?>

<odoo>

  <data>

      <record model="ir.ui.view" id="res_partner_city_form_view">

          <field name="name">res.city.form</field>

          <field name="model">res.city</field>

          <field name="type">form</field>

          <field name="arch" type="xml">

              <form name="Cities">

                  <group col="2">

                      <field name="name" select="1" required="True"/>

                      <field name="zip_ids"/>

                  </group>

                  <group>

                      <group>

                          <field name="airport_code"/>

                          <field name="state_id" required="True"/>

                          <field name="country_id_name" readonly="True"/>

                      </group>

                      <group>

                          <field name="lat"/> , <field name="long"/>

                          <label for="gps_coord" string="coordonnées GPS"/>

                          <field name="gps_coord" nolabel="1"/>

                      </group>

                  </group>

              </form>

          </field>

      </record>

      <record model="ir.ui.view" id="res_partner_city_tree_view">

          <field name="name">res.city.tree</field>

          <field name="model">res.city</field>

          <field name="type">tree</field>

          <field name="arch" type="xml">

              <tree name="Cities">

                  <field name="name"/>

                  <field name="zip_ids"/>

                  <field name="airport_code"/>

                  <field name="state_id"/>

                  <field name="country_id_name"/>

              </tree>

          </field>

      </record>

      <record model="ir.actions.act_window" id="action_res_city_tree_view">

          <field name="name">Cities list</field>

          <field name="type">ir.actions.act_window</field>

          <field name="res_model">res.city</field>

          <field name="view_type">form</field>

          <field name="view_mode">tree,form</field>

      </record>

  </data>

</odoo>

Avatar
Discard
Author

Some thing get wrong when I published this message and then, I am not able to modify it .. : The message was ;

I am migrating the code of a small application that I wrote on V9, then migrated to V10, without any problem.

The migration to version 11 seemed childish.

But ... Everything works fine, except for a very simple view that makes a kind of mistake that I've never seen since I started working on odoo (I'm neither a beginner nor a seasoned developer)

Thank you in advance for your help ..

Best Answer

I'm not entirely sure what fixed the issue for me but I'm led to believe that the error was somehow caused by a double closing tag in xml:

<field name="technician"/>/>
Avatar
Discard

Thanks, missed that in my module too

Best Answer

Thanks for letting us know.

Avatar
Discard
Best Answer

after a use many2many field i get a error like this

Avatar
Discard
Best Answer

Almost the same mistake as @Jan Beckhoff. For me, it was a just double ">"

<field name="technician"/>>
Avatar
Discard
Author Best Answer


Hi every body ..

As I saw that there a lot of views without any answer, does that mean that it's some kind of bug ?

Could anyone give me his feeling about this issue ?

Thk'x :)

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 24
327
0
Nov 23
757
0
Sep 23
448
1
May 23
955
2
Oct 22
2915