123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <menuitem icon="terp-partner" id="base.menu_base_partner" name="Sales" sequence="1"
- web_icon="data/sales.png"
- web_icon_hover="data/sales-hover.png"/>
- <menuitem icon="terp-partner" id="menu_base_real_estate" name="Real Estate" sequence="0"/>
-
- <menuitem id="menu_real_estate_top" name="Top" parent="menu_base_real_estate" sequence="2"/>
-
- <menuitem id="menu_real_estate_conf" name="Configuration" parent="menu_base_real_estate" sequence="10"/>
-
- <record model="ir.ui.view" id="real_estate_top_form">
- <field name="name">real.estate.top.form</field>
- <field name="model">real.estate.top</field>
- <field name="type">form</field>
- <field name="arch" type="xml">
- <sheet>
- <form string="Real Estate Top">
- <group colspan="4" col="8">
- <field name="operation" />
- <field name="type" />
- <field name="subtype" domain="[('type','=',type)]" />
- <group colspan="8" col="2">
- <group>
- <field name="city_id" />
- <field name="address" />
- <field name="zone" />
- <field name="partner_id"/>
- <field name="date" />
- <field name="updated_date"/>
- <field name="exclusive_date" attrs="{'required': [('exclusive','=',True)]}" />
- </group>
- <group>
- <field name="number" />
- <field name="floor" />
- <field name="stair" />
- <field name="number_keys" />
- <field name="available" />
- <field name="exclusive" />
- <field name="name" />
- <field name="user_id"/>
- </group>
- </group>
- </group>
- <notebook colspan="8">
- <page string="Information">
- <group col="6">
- <field name="sale_price" attrs="{'invisible': [('operation', 'in', ['rent','rent_sale_option']),]}" />
- <field name="rent_price" attrs="{'invisible': [('operation', 'in', ['sale','valuation']),]}" />
- <field name="deposit" attrs="{'invisible': [('operation', 'in', ['sale','valuation','transfer']),]}" />
- </group>
- <group col="6">
- <field name="homeowners_expenses" />
- <field name="homeowners_expenses_included" />
- <field name="retribution" />
- </group>
- <group colspan="8" attrs="{'invisible': [('type', 'not in', ['flat','chalet','house'])]}">
- <group colspan="8" col="6" attrs="{'invisible': [('type', 'not in', ['flat'])]}">
- <separator string="Flat Information" colspan="8"/>
- <field name="flat_usage_m2" />
- <field name="flat_cons_m2" />
- <field name="flat_heating" widget="selection" />
- <field name="flat_hotwater" widget="selection" />
- </group>
- <group colspan="8" col="2" attrs="{'invisible': [('type', 'not in', ['chalet','house'])]}">
- <separator string="Chalet and House Information" colspan="8"/>
- <field name="chalet_usage_m2" />
- <field name="chalet_cons_m2" />
- <field name="plot_m2" />
- <field name="garden_m2" />
- <field name="chalet_heating" widget="selection" />
- <field name="chalet_hotwater" widget="selection" />
- <field name="floor_number" />
- <field name="chalet_basement" />
- <field name="chalet_ground" />
- <field name="first_floor" />
- <field name="second_floor" />
- </group>
- <group colspan="8" col="2">
- <group col="2">
- <field name="rooms" />
- <field name="hall" />
- <field name="kitchen" />
- <field name="bathroom" />
- <field name="toilet" />
- <field name="parking" />
- <field name="box_room" />
- </group>
- <group col="2">
- <field name="room_description" />
- <field name="hall_description"/>
- <field name="kitchen_description"/>
- <field name="bath_description" />
- <field name="toilet_description"/>
- <field name="parking_description" />
- <field name="box_room_description"/>
- </group>
- </group>
- <group colspan="8">
- <separator string="Notes" colspan="8"/>
- <field name="note_flat" colspan="8" nolabel="1" />
- </group>
- <group colspan="8" col="6">
- <separator string="Aditional Information" colspan="8"/>
- <field name="outside" />
- <field name="orientation" />
- <field name="elevator" />
- <field name="balcony" />
- <field name="swimming_pool" attrs="{'invisible': [('type', 'not in', ['chalet','house'])]}" />
-
- </group>
- </group>
-
- <group colspan="8" attrs="{'invisible': [('type', 'not in', ['chalet','house','flat'])]}">
- <group colspan="8" attrs="{'invisible': [('operation', 'in', ['sale','valuation','transfer']),]}">
- <separator string="Rent Information" colspan="8"/>
- <group colspan="8" col="4">
- <field name="furnished" />
- <field name="furnished_description"/>
- </group>
- <group colspan="8" col="6">
- <field name="bedrooms" />
- <field name="built_in_closet" />
- <field name="students" />
- </group>
- </group>
- </group>
- <group colspan="8" col="10" attrs="{'invisible': [('type', 'not in',['industrial_unit','shop','premise','hotel_industry'])]}">
- <group colspan="10" col="10" attrs="{'invisible': [('type', 'not in',['industrial_unit'])]}">
- <separator string="Industrial Unit information" colspan="10" />
- </group>
- <group colspan="10" col="10" attrs="{'invisible': [('type', 'not in',['shop'])]}">
- <separator string="Shop information" colspan="10" />
- </group>
- <group colspan="10" col="10" attrs="{'invisible': [('type', 'not in',['premise'])]}">
- <separator string="Premise information" colspan="10" />
- </group>
- <group colspan="10" col="10" attrs="{'invisible': [('type', 'not in',['hotel_industry'])]}">
- <separator string="Hotel industry information" colspan="10" />
- </group>
- <group col="6">
- <field name="ground_m2" />
- <field name="ground_cons_m2" />
- <field name="mezzanine_m2" />
- <field name="basement_m2" />
- <field name="open_field_m2" attrs="{'invisible': [('type', 'not in',['industrial_unit'])]}" />
- <field name="height" attrs="{'invisible': [('type', 'not in',['industrial_unit'])]}" />
- </group>
- </group>
- <group colspan="8" col="6" attrs="{'invisible': [('type', 'not in',['industrial_unit'])]}">
- <separator string="Prepared" colspan="8"/>
- <field name="industrial_prepared" />
- <field name="offices" />
- <field name="industrial_toilet" />
- <field name="locker_room"/>
- <field name="electricity" />
- <field name="triphase" />
- <field name="fire_fighting"/>
- <field name="gantry_crane" />
- <field name="shop_window"/>
- </group>
- <group colspan="4" col="8" attrs="{'invisible': [('type', 'not in',['shop','premise','hotel_industry'])]}">
- <separator string="Prepared" colspan="8"/>
- <field name="shop_prepared" />
- <field name="shop_electricity" />
- <field name="shop_toilet" />
- <field name="shop_air_conditioning" />
- <newline />
- <field name="shop_heating" widget="selection" />
- <field name="shop_facade" />
- <field name="fumes_vent" />
- </group>
- <group colspan="8" col="6" attrs="{'invisible': [('type', 'not in',['office','premise-office'])]}">
- <separator string="Office information" colspan="8"/>
- <field name="office_m2" />
- <field name="office_cons_m2" />
- <separator string="Prepared" colspan="8"/>
- <field name="office_electricity" />
- <field name="office_toilets" />
- <field name="office_toilet_description" />
- <field name="office_heating" widget="selection" />
- <field name="office_air_conditioning"/>
- <field name="structural_barriers" />
- <field name="office_outside" />
- <field name="office_elevator" />
- <field name="office_parking" />
- <field name="office_boxroom" />
- </group>
- <group colspan="4" col="4" attrs="{'invisible': [('type', 'not in',['land'])]}">
- <separator string="Land information" colspan="4" />
- <field name="land_m2"/>
- <field name="land_cons_m2"/>
- <field name="land_type" widget="selection" />
- <field name="land_state" widget="selection" />
- </group>
- <group col="4" colspan="4" attrs="{'invisible': [('type', 'in', ['flat','chalet','house'])]}">
- <separator string="Notes" colspan="4"/>
- <field name="note" colspan="4" nolabel="1"/>
- </group>
- <group col="4" colspan="4" attrs="{'invisible': [('type', 'in', ['flat','chalet','house','land','box_room','parking'])]}">
- <separator string="Subdivisions" colspan="4"/>
- <field name="subdivision_ids" colspan="4" nolabel="1">
- <form string="Subdivisions">
- <field name="m2" />
- </form>
- <tree string="Subdivisions" editable="bottom">
- <field name="m2" />
- </tree>
- </field>
- </group>
- </page>
- <page string="Supplies">
- <group colspan="8" col="2">
- <group>
- <separator string="Service Contracts Information" colspan="4"/>
- <field name="light_ref" />
- <field name="gas_ref" />
- <field name="aqua_ref" />
- <field name="energy_efficiency" attrs="{'invisible': [('type', 'in', ['land'])], 'required': [('type', 'not in', ['industrial_unit','land'])]}" />
- <field name="energy_date" />
- <field name="energy_emission" />
- <field name="energy_number" />
- <field name="energy_doc" filename="doc_filename" attrs="{'invisible': [('type', 'in', ['land'])], 'required': [('energy_efficiency','in',['a','b','c','d','e','f','g'])]}" />
- </group>
- <group>
- <separator string="Administrator Information" colspan="4"/>
- <field name="administrator" />
- <field name="administrator_phone" />
- <field name="email" />
- <field name="website" />
- </group>
- </group>
- </page>
- <page string="Tenants" attrs="{'invisible': [('operation', 'in', ['sale','valuation'])]}">
- <field colspan="4" name="agreements" nolabel="1">
- <form string="Rental Agreements">
- <group>
- <field name="name" />
- <field name="partner_id" />
- <field name="signing_date" />
- <field name="start_date" />
- <field name="end_date" />
- <field name="rent_price" />
- <field name="rent_attachments_url" colspan="4" widget="url" />
- <field name="notes" colspan="4" />
- </group>
- </form>
- <tree string="Rental Agreements">
- <field name="name" />
- <field name="partner_id" />
- <field name="start_date" />
- <field name="end_date" />
- <field name="rent_price" />
- </tree>
- </field>
- </page>
- <page string="Buyer" attrs="{'invisible': [('operation', 'not in', ['sale','sale_rent']),]}">
- <group>
- <field name="buyer_id" />
- </group>
- </page>
- <page string="Images and documents">
- <group>
- <field name="attachments_url" colspan="4" widget="url" />
- </group>
-
- </page>
- </notebook>
- </form>
- </sheet>
- </field>
- </record>
- <record model="ir.ui.view" id="real_estate_top_tree">
- <field name="name">real.estate.top.tree</field>
- <field name="model">real.estate.top</field>
- <field name="type">tree</field>
- <field name="arch" type="xml">
- <tree string="Real Estate Top">
- <field name="name" />
- <field name="operation" />
- <field name="type" />
- <field name="subtype" widget="selection" />
- <field name="zone"/>
- <field name="city_id" />
- <field name="address"/>
- <field name="number"/>
- <field name="floor"/>
- <field name="stair"/>
- <field name="m2"/>
- <field name="rent_price"/>
- <field name="sale_price"/>
- <field name="partner_id"/>
- </tree>
- </field>
- </record>
-
- <record model="ir.ui.view" id="real_estate_top_filter">
- <field name="name">real.estate.top.filter</field>
- <field name="model">real.estate.top</field>
- <field name="type">search</field>
- <field name="priority" eval="5"/>
- <field name="arch" type="xml">
- <search string="Real Estate Top">
- <group col="10" colspan="4" string="Real Estate" name="real-estate">
- <filter string="Available" domain="[('available','=',1)]"/>
- <filter string="Not Available" domain="[('available','=',0)]"/>
- <separator orientation="vertical"/>
- <filter string="Sale" domain="[('operation','in',('sale','sale_rent','rent_sale_option'))]"/>
- <filter string="Rent" domain="[('operation','in',('rent','sale_rent','rent_sale_option'))]"/>
- <filter string="Transfer" domain="[('operation','=','transfer')]"/>
- <filter string="Valuation" domain="[('operation','=','valuation')]"/>
- <separator orientation="vertical"/>
- <field name="name" />
- <field name="type" />
- <field name="subtype" widget="selection" />
- <field name="zone"/>
- <field name="city_id" />
- </group>
- <group col="10" colspan="4" string="Prices and area" name="price-area">
- <field name="sale_price" string="Sale price from"
- filter_domain="[('sale_price','>=',self)]" />
- <field name="sale_price" string="Sale Price to"
- filter_domain="[('sale_price','<=',self)]"/>
- <field name="rent_price" string="Rent price from"
- filter_domain="[('rent_price','>=',self)]" />
- <field name="rent_price" string="Rent price to"
- filter_domain="[('rent_price','<=',self)]" />
- <field name="m2" string="m2 from"
- filter_domain="[('m2','>=',self)]" />
- <field name="m2" string="m2 to"
- filter_domain="[('m2','<=',self)]" />
- </group>
- <group expand="0" string="Advanced search..." name="advanced-search">
- <field name="address" />
- <field name="partner_id" />
- </group>
- </search>
- </field>
- </record>
-
- <record model="ir.actions.act_window" id="real_estate_top_act">
- <field name="name">Top</field>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="context">{"search_default_available":1}</field>
- <field name="search_view_id" ref="real_estate_top_filter"/>
- </record>
- <menuitem
- action="real_estate_top_act"
- id="menu_real_estate_top_list"
- parent="menu_real_estate_top"
- sequence="10"/>
-
- <record model="ir.ui.view" id="real_estate_top_filter_flat">
- <field name="name">real.estate.top.filter.flat</field>
- <field name="model">real.estate.top</field>
- <field name="type">search</field>
- <field name="arch" type="xml">
- <search string="Real Estate Top">
- <group col="10" colspan="4" string="Real Estate" name="real-estate">
- <filter string="Available" domain="[('available','=',1)]"/>
- <filter string="Not Available" domain="[('available','=',0)]"/>
- <separator orientation="vertical"/>
- <filter string="Sale" domain="[('operation','in',('sale','sale_rent','rent_sale_option'))]"/>
- <filter string="Rent" domain="[('operation','in',('rent','sale_rent','rent_sale_option'))]"/>
- <filter string="Transfer" domain="[('operation','=','transfer')]"/>
- <filter string="Valuation" domain="[('operation','=','valuation')]"/>
- <separator orientation="vertical"/>
- <field name="name" />
- <field name="type" />
- <field name="subtype" widget="selection" />
- <field name="zone"/>
- <field name="city_id" />
- </group>
- <group col="10" colspan="4" string="Prices and area" name="price-area">
- <field name="sale_price" string="Sale price from"
- filter_domain="[('sale_price','>=',self)]" />
- <field name="sale_price" string="Sale Price to"
- filter_domain="[('sale_price','<=',self)]"/>
- <field name="rent_price" string="Rent price from"
- filter_domain="[('rent_price','>=',self)]" />
- <field name="rent_price" string="Rent price to"
- filter_domain="[('rent_price','<=',self)]" />
- <field name="m2" string="m2 from"
- filter_domain="[('m2','>=',self)]" />
- <field name="m2" string="m2 to"
- filter_domain="[('m2','<=',self)]" />
- </group>
- <group col="10" colspan="4" string="Flat" name="flat">
- <field name="rooms" />
- <field name="bathroom" />
- <field name="parking" />
- <filter string="Full Furnished" domain="[('furnished','=','yes')]"/>
- <filter string="Half Furnished" domain="[('furnished','=','half')]"/>
- <filter string="No Furnished" domain="[('furnished','=','no')]"/>
- <separator orientation="vertical"/>
- <filter string="Students" domain="[('students','=',True)]"/>
- </group>
- <group expand="0" string="Advanced search..." name="advanced-search">
- <field name="address" />
- <field name="partner_id" />
- </group>
- </search>
- </field>
- </record>
-
- <record model="ir.ui.view" id="real_estate_top_filter_industrial">
- <field name="name">real.estate.top.filter.industrial</field>
- <field name="model">real.estate.top</field>
- <field name="type">search</field>
- <field name="arch" type="xml">
- <search string="Real Estate Top">
- <group col="10" colspan="4" string="Real Estate" name="real-estate">
- <filter string="Available" domain="[('available','=',1)]"/>
- <filter string="Not Available" domain="[('available','=',0)]"/>
- <separator orientation="vertical"/>
- <filter string="Sale" domain="[('operation','in',('sale','sale_rent','rent_sale_option'))]"/>
- <filter string="Rent" domain="[('operation','in',('rent','sale_rent','rent_sale_option'))]"/>
- <filter string="Transfer" domain="[('operation','=','transfer')]"/>
- <filter string="Valuation" domain="[('operation','=','valuation')]"/>
- <separator orientation="vertical"/>
- <field name="name" />
- <field name="type" />
- <field name="subtype" widget="selection" />
- <field name="zone"/>
- <field name="city_id" />
- </group>
- <group col="10" colspan="4" string="Prices and area" name="price-area">
- <field name="sale_price" string="Sale price from"
- filter_domain="[('sale_price','>=',self)]" />
- <field name="sale_price" string="Sale Price to"
- filter_domain="[('sale_price','<=',self)]"/>
- <field name="rent_price" string="Rent price from"
- filter_domain="[('rent_price','>=',self)]" />
- <field name="rent_price" string="Rent price to"
- filter_domain="[('rent_price','<=',self)]" />
- <field name="m2" string="m2 from"
- filter_domain="[('m2','>=',self)]" />
- <field name="m2" string="m2 to"
- filter_domain="[('m2','<=',self)]" />
- </group>
- <group col="10" colspan="4" string="Industrial" name="industrial">
- <filter string="Industrial Prepared" domain="[('industrial_prepared','=',True)]"/>
- </group>
- <group expand="0" string="Advanced search..." name="advanced-search">
- <field name="address" />
- <field name="partner_id" />
- </group>
- </search>
- </field>
- </record>
-
- <record model="ir.ui.view" id="real_estate_top_filter_shop">
- <field name="name">real.estate.top.filter.shop</field>
- <field name="model">real.estate.top</field>
- <field name="type">search</field>
- <field name="arch" type="xml">
- <search string="Real Estate Top">
- <group col="10" colspan="4" string="Real Estate" name="real-estate">
- <filter string="Available" domain="[('available','=',1)]"/>
- <filter string="Not Available" domain="[('available','=',0)]"/>
- <separator orientation="vertical"/>
- <filter string="Sale" domain="[('operation','in',('sale','sale_rent','rent_sale_option'))]"/>
- <filter string="Rent" domain="[('operation','in',('rent','sale_rent','rent_sale_option'))]"/>
- <filter string="Transfer" domain="[('operation','=','transfer')]"/>
- <filter string="Valuation" domain="[('operation','=','valuation')]"/>
- <separator orientation="vertical"/>
- <field name="name" />
- <field name="type" />
- <field name="subtype" widget="selection" />
- <field name="zone"/>
- <field name="city_id" />
- </group>
- <group col="10" colspan="4" string="Prices and area" name="price-area">
- <field name="sale_price" string="Sale price from"
- filter_domain="[('sale_price','>=',self)]" />
- <field name="sale_price" string="Sale Price to"
- filter_domain="[('sale_price','<=',self)]"/>
- <field name="rent_price" string="Rent price from"
- filter_domain="[('rent_price','>=',self)]" />
- <field name="rent_price" string="Rent price to"
- filter_domain="[('rent_price','<=',self)]" />
- <field name="m2" string="m2 from"
- filter_domain="[('m2','>=',self)]" />
- <field name="m2" string="m2 to"
- filter_domain="[('m2','<=',self)]" />
- </group>
- <group col="10" colspan="4" string="Shop" name="shop">
- <filter string="Shop Prepared" domain="[('shop_prepared','=',True)]"/>
- </group>
- <group expand="0" string="Advanced search..." name="advanced-search">
- <field name="address" />
- <field name="partner_id" />
- </group>
- </search>
- </field>
- </record>
-
- <record model="ir.ui.view" id="real_estate_top_filter_office">
- <field name="name">real.estate.top.filter.office</field>
- <field name="model">real.estate.top</field>
- <field name="type">search</field>
- <field name="arch" type="xml">
- <search string="Real Estate Top">
- <group col="10" colspan="4" string="Real Estate" name="real-estate">
- <filter string="Available" domain="[('available','=',1)]"/>
- <filter string="Not Available" domain="[('available','=',0)]"/>
- <separator orientation="vertical"/>
- <filter string="Sale" domain="[('operation','in',('sale','sale_rent','rent_sale_option'))]"/>
- <filter string="Rent" domain="[('operation','in',('rent','sale_rent','rent_sale_option'))]"/>
- <filter string="Transfer" domain="[('operation','=','transfer')]"/>
- <filter string="Valuation" domain="[('operation','=','valuation')]"/>
- <separator orientation="vertical"/>
- <field name="name" />
- <field name="type" />
- <field name="subtype" widget="selection" />
- <field name="zone"/>
- <field name="city_id" />
- </group>
- <group col="10" colspan="4" string="Prices and area" name="price-area">
- <field name="sale_price" string="Sale price from"
- filter_domain="[('sale_price','>=',self)]" />
- <field name="sale_price" string="Sale Price to"
- filter_domain="[('sale_price','<=',self)]"/>
- <field name="rent_price" string="Rent price from"
- filter_domain="[('rent_price','>=',self)]" />
- <field name="rent_price" string="Rent price to"
- filter_domain="[('rent_price','<=',self)]" />
- <field name="m2" string="m2 from"
- filter_domain="[('m2','>=',self)]" />
- <field name="m2" string="m2 to"
- filter_domain="[('m2','<=',self)]" />
- </group>
- <group col="10" colspan="4" string="Office" name="office">
- <field name="office_cons_m2" />
- <field name="office_cons_m2" string="m2 from"
- filter_domain="[('office_cons_m2','>=',self)]" />
- <field name="office_cons_m2" string="m2 to"
- filter_domain="[('office_cons_m2','<=',self)]" />
- </group>
- <group expand="0" string="Advanced search..." name="advanced-search">
- <field name="address" />
- <field name="partner_id" />
- </group>
- </search>
- </field>
- </record>
-
- <record model="ir.ui.view" id="real_estate_top_filter_hotel_industry">
- <field name="name">real.estate.top.filter.hotel_industry</field>
- <field name="model">real.estate.top</field>
- <field name="type">search</field>
- <field name="priority" eval="5"/>
- <field name="arch" type="xml">
- <search string="Real Estate Top">
- <group col="10" colspan="4" string="Real Estate" name="real-estate">
- <filter string="Available" domain="[('available','=',1)]"/>
- <filter string="Not Available" domain="[('available','=',0)]"/>
- <separator orientation="vertical"/>
- <filter string="Sale" domain="[('operation','in',('sale','sale_rent','rent_sale_option'))]"/>
- <filter string="Rent" domain="[('operation','in',('rent','sale_rent','rent_sale_option'))]"/>
- <filter string="Transfer" domain="[('operation','=','transfer')]"/>
- <filter string="Valuation" domain="[('operation','=','valuation')]"/>
- <separator orientation="vertical"/>
- <field name="name" />
- <field name="type" />
- <field name="subtype" widget="selection" />
- <field name="zone"/>
- <field name="city_id" />
- </group>
- <group col="10" colspan="4" string="Prices and area" name="price-area">
- <field name="sale_price" string="Sale price from"
- filter_domain="[('sale_price','>=',self)]" />
- <field name="sale_price" string="Sale Price to"
- filter_domain="[('sale_price','<=',self)]"/>
- <field name="rent_price" string="Rent price from"
- filter_domain="[('rent_price','>=',self)]" />
- <field name="rent_price" string="Rent price to"
- filter_domain="[('rent_price','<=',self)]" />
- <field name="m2" string="m2 from"
- filter_domain="[('m2','>=',self)]" />
- <field name="m2" string="m2 to"
- filter_domain="[('m2','<=',self)]" />
- </group>
- <group expand="0" string="Advanced search..." name="advanced-search">
- <field name="address" />
- <field name="partner_id" />
- </group>
- </search>
- </field>
- </record>
-
- <record model="ir.ui.view" id="real_estate_top_filter_land">
- <field name="name">real.estate.top.filter.land</field>
- <field name="model">real.estate.top</field>
- <field name="type">search</field>
- <field name="arch" type="xml">
- <search string="Real Estate Top">
- <group col="10" colspan="4" string="Real Estate" name="real-estate">
- <filter string="Available" domain="[('available','=',1)]"/>
- <filter string="Not Available" domain="[('available','=',0)]"/>
- <separator orientation="vertical"/>
- <filter string="Sale" domain="[('operation','in',('sale','sale_rent','rent_sale_option'))]"/>
- <filter string="Rent" domain="[('operation','in',('rent','sale_rent','rent_sale_option'))]"/>
- <filter string="Transfer" domain="[('operation','=','transfer')]"/>
- <filter string="Valuation" domain="[('operation','=','valuation')]"/>
- <separator orientation="vertical"/>
- <field name="name" />
- <field name="type" />
- <field name="subtype" widget="selection" />
- <field name="zone"/>
- <field name="city_id" />
- </group>
- <group col="10" colspan="4" string="Prices and area" name="price-area">
- <field name="sale_price" string="Sale price from"
- filter_domain="[('sale_price','>=',self)]" />
- <field name="sale_price" string="Sale Price to"
- filter_domain="[('sale_price','<=',self)]"/>
- <field name="rent_price" string="Rent price from"
- filter_domain="[('rent_price','>=',self)]" />
- <field name="rent_price" string="Rent price to"
- filter_domain="[('rent_price','<=',self)]" />
- <field name="m2" string="m2 from"
- filter_domain="[('m2','>=',self)]" />
- <field name="m2" string="m2 to"
- filter_domain="[('m2','<=',self)]" />
- </group>
- <group col="10" colspan="4" string="Land" name="land">
- <field name="land_type" />
- <field name="land_state" />
- </group>
- <group expand="0" string="Advanced search..." name="advanced-search">
- <field name="address" />
- <field name="partner_id" />
- </group>
- </search>
- </field>
- </record>
-
- <record model="ir.actions.act_window" id="real_estate_top_flat_act">
- <field name="name">Flat</field>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','flat')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'flat'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_flat"/>
- </record>
- <menuitem
- action="real_estate_top_flat_act"
- id="menu_real_estate_top_flat_list"
- parent="menu_real_estate_top_list"
- sequence="10"/>
-
- <record model="ir.actions.act_window" id="real_estate_top_shop_act">
- <field name="name">Shop</field>
- <field name="view_id" ref="real_estate_top_tree"/>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','shop')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'shop'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_shop"/>
- </record>
- <menuitem
- action="real_estate_top_shop_act"
- id="menu_real_estate_top_shop_list"
- parent="menu_real_estate_top_list"
- sequence="15"/>
- <record model="ir.actions.act_window" id="real_estate_top_premise_act">
- <field name="name">Premise</field>
- <field name="view_id" ref="real_estate_top_tree"/>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','in',['premise','premise-office'])]</field>
- <field name="context">{"search_default_available":1, "default_type": 'premise'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_shop"/>
- </record>
- <menuitem
- action="real_estate_top_premise_act"
- id="menu_real_estate_top_premise_list"
- parent="menu_real_estate_top_list"
- sequence="20"/>
- <record model="ir.actions.act_window" id="real_estate_top_chalet_act">
- <field name="name">Chalet</field>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','chalet')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'chalet'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_flat"/>
- </record>
- <menuitem
- action="real_estate_top_chalet_act"
- id="menu_real_estate_top_chalet_list"
- parent="menu_real_estate_top_list"
- sequence="25"/>
- <record model="ir.actions.act_window" id="real_estate_top_house_act">
- <field name="name">House</field>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','house')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'house'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_flat"/>
- </record>
- <menuitem
- action="real_estate_top_house_act"
- id="menu_real_estate_top_house_list"
- parent="menu_real_estate_top_list"
- sequence="30"/>
- <record model="ir.actions.act_window" id="real_estate_top_office_act">
- <field name="name">Office</field>
- <field name="view_id" ref="real_estate_top_tree"/>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','in',['office','premise-office'])]</field>
- <field name="context">{"search_default_available":1, "default_type": 'office'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_office"/>
- </record>
- <menuitem
- action="real_estate_top_office_act"
- id="menu_real_estate_top_office_list"
- parent="menu_real_estate_top_list"
- sequence="35"/>
- <record model="ir.actions.act_window" id="real_estate_top_premise_office_act">
- <field name="name">Premise-Office</field>
- <field name="view_id" ref="real_estate_top_tree"/>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','premise-office')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'premise-office'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_office"/>
- </record>
- <menuitem
- action="real_estate_top_premise_office_act"
- id="menu_real_estate_top_premise_office_list"
- parent="menu_real_estate_top_list"
- sequence="37"/>
- <record model="ir.actions.act_window" id="real_estate_top_industrial_unit_act">
- <field name="name">Industrial Unit</field>
- <field name="view_id" ref="real_estate_top_tree"/>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','industrial_unit')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'industrial_unit'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_industrial"/>
- </record>
- <menuitem
- action="real_estate_top_industrial_unit_act"
- id="menu_real_estate_top_industrial_unit_list"
- parent="menu_real_estate_top_list"
- sequence="40"/>
- <record model="ir.actions.act_window" id="real_estate_top_hotel_industry_act">
- <field name="name">Hotel Industry</field>
- <field name="view_id" ref="real_estate_top_tree"/>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','hotel_industry')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'hotel_industry'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_hotel_industry"/>
- </record>
- <menuitem
- action="real_estate_top_hotel_industry_act"
- id="menu_real_estate_top_hotel_industry_list"
- parent="menu_real_estate_top_list"
- sequence="45"/>
- <record model="ir.actions.act_window" id="real_estate_top_parking_act">
- <field name="name">Parking</field>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','parking')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'parking'}</field>
- </record>
- <menuitem
- action="real_estate_top_parking_act"
- id="menu_real_estate_top_parking_list"
- parent="menu_real_estate_top_list"
- sequence="50"/>
- <record model="ir.actions.act_window" id="real_estate_top_box_room_act">
- <field name="name">Box Room</field>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','box_room')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'box_room'}</field>
- </record>
- <menuitem
- action="real_estate_top_box_room_act"
- id="menu_real_estate_top_box_room_list"
- parent="menu_real_estate_top_list"
- sequence="55"/>
- <record model="ir.actions.act_window" id="real_estate_top_land_act">
- <field name="name">Land</field>
- <field name="res_model">real.estate.top</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- <field name="domain">[('type','=','land')]</field>
- <field name="context">{"search_default_available":1, "default_type": 'land'}</field>
- <field name="search_view_id" ref="real_estate_top_filter_land"/>
- </record>
- <menuitem
- action="real_estate_top_land_act"
- id="menu_real_estate_top_land_list"
- parent="menu_real_estate_top_list"
- sequence="60"/>
-
-
- <record model="ir.actions.act_window" id="real_estate_zone_act">
- <field name="name">Zones</field>
- <field name="res_model">real.estate.zone</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- </record>
- <menuitem
- action="real_estate_zone_act"
- id="menu_real_estate_zone_list"
- parent="menu_real_estate_conf"
- sequence="10"/>
-
- <record model="ir.actions.act_window" id="real_estate_heating_act">
- <field name="name">Heating</field>
- <field name="res_model">real.estate.heating</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- </record>
- <menuitem
- action="real_estate_heating_act"
- id="menu_real_estate_heating_list"
- parent="menu_real_estate_conf"
- sequence="10"/>
-
- <record model="ir.actions.act_window" id="real_estate_hotwater_act">
- <field name="name">Hot Water</field>
- <field name="res_model">real.estate.hotwater</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- </record>
- <menuitem
- action="real_estate_hotwater_act"
- id="menu_real_estate_hotwater_list"
- parent="menu_real_estate_conf"
- sequence="10"/>
-
- <record model="ir.actions.act_window" id="real_estate_land_type_act">
- <field name="name">Land Type</field>
- <field name="res_model">real.estate.land.type</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- </record>
- <menuitem
- action="real_estate_land_type_act"
- id="menu_real_estate_land_type_list"
- parent="menu_real_estate_conf"
- sequence="10"/>
-
- <record model="ir.actions.act_window" id="real_estate_land_state_act">
- <field name="name">Land State</field>
- <field name="res_model">real.estate.land.state</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- </record>
- <menuitem
- action="real_estate_land_state_act"
- id="menu_real_estate_land_estate_list"
- parent="menu_real_estate_conf"
- sequence="10"/>
-
- <record model="ir.actions.act_window" id="real_estate_subtype_act">
- <field name="name">Subtypes</field>
- <field name="res_model">real.estate.subtype</field>
- <field name="type">ir.actions.act_window</field>
- <field name="view_type">form</field>
- </record>
- <menuitem
- action="real_estate_subtype_act"
- id="menu_real_estate_subtype_list"
- parent="menu_real_estate_conf"
- sequence="10"/>
-
- <record model="ir.ui.view" id="real_estate_subtype_tree">
- <field name="name">real.estate.subtype.tree</field>
- <field name="model">real.estate.subtype</field>
- <field name="type">tree</field>
- <field name="arch" type="xml">
- <tree string="Real Estate Subtype">
- <field name="name" />
- <field name="type" />
- </tree>
- </field>
- </record>
-
- <record model="ir.ui.view" id="real_estate_top_subdivision_tree">
- <field name="name">real.estate.top.subdivision.tree</field>
- <field name="model">real.estate.top.subsivision</field>
- <field name="type">tree</field>
- <field name="arch" type="xml">
- <tree string="Real Estate Subdivisions">
- <field name="m2" />
- <field name="top_id" />
- </tree>
- </field>
- </record>
-
- </data>
- </openerp>
|