mirror of
https://github.com/SARL-PACIFIC-ERP/odoo-sh-test.git
synced 2025-06-25 01:32:20 +00:00
fix end chapt 11
This commit is contained in:
parent
7e1eb2245c
commit
d5ec3cc5b9
|
@ -1,5 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
<record id="estate_property_offer_from_type_action" model="ir.actions.act_window">
|
||||
<field name="name">Offers</field>
|
||||
<field name="res_model">estate.property.offer</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<record id="estate_property_offer_tree_view" model="ir.ui.view">
|
||||
<field name="name">estate.property.offer.tree</field>
|
||||
<field name="model">estate.property.offer</field>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<form>
|
||||
<sheet>
|
||||
<div name="button_box" position="inside">
|
||||
<button class="oe_stat_button" type="action" name="%(estate.estate_property_action)d" icon="fa-money">
|
||||
<button class="oe_stat_button" type="action" name="%(estate_property_offer_from_type_action)d" icon="fa-money">
|
||||
<field name="offer_count" string="Offers" widget="statinfo" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<field name="res_model">estate.property</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'search_default_available': True}</field>
|
||||
<field name="domain">[('property_type_id', '=', active_id)]</field>
|
||||
</record>
|
||||
|
||||
<record id="estate_property_tree_view" model="ir.ui.view">
|
||||
|
|
Loading…
Reference in a new issue