Ignore:
Timestamp:
Mar 23, 2012, 7:38:34 AM (13 years ago)
Author:
chronos
Message:
  • Přidáno: Evidence využitých frekvencí v modulu ISP.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • addons/isp/view/isp_view.xml

    r43 r62  
    162162          <field name="full_duplex" select="1" />
    163163          <field name="color" select="1" />
     164          <field name="wireless" select="1" />
    164165        </tree>
    165166      </field>
     
    176177          <field name="full_duplex" select="1" />
    177178          <field name="color" select="1" />
     179          <field name="wireless" select="1" />
    178180        </form>
    179181      </field>
     
    486488      </field>
    487489    </record> 
     490
     491    <record model="ir.actions.act_window" id="action_isp_frequency_form">
     492      <field name="res_model">network.frequency</field>
     493      <field name="domain">[]</field>
     494    </record>
     495
     496    <menuitem name="Frequency usage"
     497      parent="base.menu_isp_network" id="menu_isp_frequency" sequence="1"
     498      action="action_isp_frequency_form"/>
     499
     500    <record model="ir.ui.view" id="view_network_frequency_tree">
     501      <field name="name">network.frequency</field>
     502      <field name="model">network.frequency</field>
     503      <field name="type">tree</field>
     504      <field name="priority" eval="2"/>
     505      <field name="arch" type="xml">
     506        <tree string="Frequency usage">
     507          <field name="name" select="1" />
     508          <field name="ssid" select="1" />
     509          <field name="frequency" select="1" />
     510          <field name="channel_width" select="1" />
     511          <field name="device_id" select="1" />
     512          <field name="link_type_id" select="1" />
     513        </tree>
     514      </field>
     515    </record>
     516    <record model="ir.ui.view" id="view_network_frequency_form">
     517      <field name="name">network.frequency</field>
     518      <field name="model">network.frequency</field>
     519      <field name="priority" eval="2"/>
     520      <field name="type">form</field>
     521      <field name="arch" type="xml">
     522        <form string="Frequency usage">
     523          <field name="name" select="1" />
     524          <field name="ssid" select="1" />
     525          <field name="frequency" select="1" />
     526          <field name="channel_width" select="1" />
     527          <field name="channel_width_upper" select="1" />
     528          <field name="channel_width_lower" select="1" />
     529          <field name="device_id" select="1" />
     530          <field name="link_type_id" select="1" />
     531        </form>
     532      </field>
     533    </record> 
    488534  </data>
    489535</openerp>
Note: See TracChangeset for help on using the changeset viewer.