mirror of
https://github.com/odoo/documentation.git
synced 2026-01-03 10:19:37 +07:00
[IMP] developer/reference: new usage of Model.mapped()
odoo/odoo#185630
This commit is contained in:
@@ -124,7 +124,7 @@ our minimal property offers template file:
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<t t-set="offers" t-value="property.mapped('offer_ids')"/>
|
||||
<t t-set="offers" t-value="property.offer_ids"/>
|
||||
<tr t-foreach="offers" t-as="offer">
|
||||
<td>
|
||||
<span t-field="offer.price"/>
|
||||
|
||||
Reference in New Issue
Block a user