[IMP] account_*: Improve view of all the menus coming under Configuration Menu
bzr revid: psi@tinyerp.co.in-20101011132128-g4rffrj7uv9q452w
This commit is contained in:
parent
dcceb4f6b6
commit
a83920c20b
|
@ -1640,7 +1640,7 @@
|
|||
<filter string="Purchase" icon="terp-purchase" domain="[('journal_id.type', '=', 'purchase')]"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="name"/>
|
||||
<field name="journal_id"/>
|
||||
<field name="journal_id" widget="selection"/>
|
||||
<field name="company_id" groups="base.group_multi_company"/>
|
||||
</group>
|
||||
<newline/>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<field name="product_id"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="user_id"/>
|
||||
<field name="company_id"/>
|
||||
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -73,7 +73,8 @@
|
|||
<search string="Search Followup">
|
||||
<group col="10" colspan="4">
|
||||
<field name="name"/>
|
||||
</group>
|
||||
<field name="company_id" groups="base.group_multi_company"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -75,7 +75,8 @@
|
|||
<separator string="Write a notification or a wishful message." colspan="4"/>
|
||||
<field name="name" select="1" colspan="2" />
|
||||
<newline/>
|
||||
<field name="msg" select="1" colspan="2"/>
|
||||
<separator string="Special Message" colspan="4"/>
|
||||
<field name="msg" select="1" nolabel="1" colspan="2"/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -40,6 +40,23 @@
|
|||
|
||||
<menuitem id="menu_main_payment" name="Payment" parent="account.menu_finance" sequence="6"/>
|
||||
|
||||
<record id="view_payment_mode_search" model="ir.ui.view">
|
||||
<field name="name">payment.mode.search</field>
|
||||
<field name="model">payment.mode</field>
|
||||
<field name="type">search</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Payment Mode">
|
||||
<field name="name"/>
|
||||
<field name="journal" widget='selection'/>
|
||||
<field name="company_id" widget='selection' groups="base.group_multi_company"/>
|
||||
<newline/>
|
||||
<group expand="0" string="Group By...">
|
||||
<filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal'}"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_payment_mode_tree" model="ir.ui.view">
|
||||
<field name="name">payment.mode.tree</field>
|
||||
<field name="model">payment.mode</field>
|
||||
|
@ -52,6 +69,7 @@
|
|||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_payment_mode_form" model="ir.ui.view">
|
||||
<field name="name">payment.mode.form</field>
|
||||
<field name="model">payment.mode</field>
|
||||
|
@ -69,7 +87,8 @@
|
|||
<field name="name">Payment Mode</field>
|
||||
<field name="res_model">payment.mode</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_mode">tree,form,search</field>
|
||||
<field name="search_view_id" ref="view_payment_mode_search"/>
|
||||
</record>
|
||||
|
||||
<menuitem action="action_payment_mode_form" id="menu_action_payment_mode_form" parent="account.menu_configuration_misc"/>
|
||||
|
|
Loading…
Reference in New Issue