-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Description
This part:
should come after this part:
And instead of it, there should be other example (perhaps the one referring to property_type?) as at the point where it's now -reader has no idea what "partner" is and why it's mention here.
This section:
is missing part
Comodel:
is with underscore instead of dot:
The statement
No need to create an action or a menu.
Gives no explaination of how to create list view without an action. Previously all our records looked like this
<record id = "estate_property_offer_action" model="ir.actions.act_window">
<field name="name">Property Offer</field>
<field name="res_model">estate_property_offer</field>
<field name="view_mode">list,form</field>
</record>
What makes it not an action?
(after a while I realised that whole code above is an action, and a "simple list" is this code:
<record id="estate_property_offer_view_list" model="ir.ui.view">
<field name="name">estate_property_offer.list</field>
<field name="model">estate_property_odder</field>
<field name="arch" type="xml">
<list string="List">
<field name="price" />
<field name="partner_id" />
<field name="status" />
</list>
</field>
</record>
instead) Maybe that could be explained better in previous chapters?
Metadata
Metadata
Assignees
Labels
No labels