documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Enhancements to the Chapter 6 of the Module tutorial

Open eximius313 opened this issue 2 months ago • 0 comments

Exercise states:

Image

But it's not exactly clear how to go from previous

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

to the one in Example:

<field name="arch" type="xml">
            <list string="Channel" editable="bottom">
                <field name="name"/>
            </list>
</field>

(shall view_mode be removed? Or must it be given xml type? and if the latter - what to do with the form? (I know that Form is described later, but a hint here would be welcome)

Both warnings:

Image

could be moved above the Exercise.

The:

<notebook>
    <page string="Description">
        <field name="description"/>
    </page>
</notebook>

is missing group:

<notebook>
    <page string="Description">
        <group>
            <field name="description"/>
        </group>
    </page>
</notebook>

without it it looks like this:

Image

instead of this:

Image

The

--dev xml

was giving me

odoo [--addons-path=PATH,...] server: error: no such option: --dev xml

in logs.

I had to use

--dev=xml

or in docker-compose.yml

command: ["--dev=xml"]

Maybe because I'm using docker. Or maybe because = is for Odoo 19? IDK. Also - it would save us a lot of time if that was mentioned at the beginning of chapter 6 (not at the end)

Group By

explaination here:

Image

is also not very clear regarding group by

eximius313 avatar Oct 23 '25 18:10 eximius313