← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 659124] Re: [trunk] <newline/> not considered in Web Client

 

Yes I did. I can't reproduce the original bug, but I still get some strange things with the latest rev, like on the screen I join.
Here, you can see the differrence between the web view and the gtkclient with this view :

                <form string="Category">
                    <field name="name" colspan="2"/>
                    <field name="parent_id" colspan="2" on_change="on_parent_changed(parent_id)"/>
                    <field name="sequence" invisible="1" colspan="4"/>
                    <field name="model_ids" nolabel="1" colspan="4" mode="tree,form">
                        <tree string="Models">
                            <field name="name" />
                            <field name="tva" />
                            <field name="ref" />
                        </tree>
                    </field>
                </form>

As you can see, the gtk client put fields side by side, whereas the web
client put fields 'name' and 'parent' one below the other.

** Attachment added: "Screensot."
   https://bugs.launchpad.net/openobject-client-web/+bug/659124/+attachment/1735090/+files/Capture.png

-- 
[trunk] <newline/> not considered in Web Client
https://bugs.launchpad.net/bugs/659124
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Invalid

Bug description:
With the current trunk (r3492) the <newline/> element is not took in account. With this code :

<field name="arch" type="xml">
   <form string="Category">
      <group colspan="4" col="8">
       <field name="name" colspan="4" /><newline/>
       <field name="journal_id" colspan="4" /><newline />
       <field name="entry_ids" colspan="8" />
     </group>
   </form>
</field>

The view is correct in the gtk client, but not in the web client: fields take all the width. In the memento we can read : "place holder for completing the current line of the view", which seems to be in the case in the gtk client.

I join a screen of the GTK client, for you te see the expected result.