[IMP] product: allow to search on supplier info if
[odoo/odoo.git] / addons / project_issue_sheet / project_issue_sheet_view.xml
1 <?xml version="1.0"?>
2 <openerp>
3     <data>
4         <record model="ir.ui.view" id="project_issue_form_view">
5             <field name="name">Project Issue Tracker Form</field>
6             <field name="model">project.issue</field>
7             <field name="inherit_id" ref="project_issue.project_issue_form_view" />
8             <field name="arch" type="xml">
9                 <field name="project_id" position="attributes">
10                     <attribute name="on_change">on_change_project(project_id)</attribute>
11                 </field>
12                 <field name="active" position="after">
13                     <newline/>
14                     <group colspan="4"> 
15                         <field name="analytic_account_id"
16                             domain="[('parent_id','!=',False),('partner_id', '=', partner_id),('type', '!=', 'view')]"
17                             on_change='on_change_account_id(analytic_account_id)'/>
18                     </group>
19                 </field>
20                 <xpath expr="//notebook/page[@string='Extra Info']" position="before">
21                     <page string="Worklogs">
22                         <field name="timesheet_ids" colspan="4" nolabel="1" context="{'default_user_id' : uid, 'default_account_id' : analytic_account_id}"
23                                 groups="base.group_user">
24                             <tree editable="top" string="Timesheets">
25                                 <field name="name"/>
26                                 <field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" widget="float_time"/>
27                                 <field name="account_id" invisible="0" domain="[('partner_id', '=', parent.partner_id)]" on_change="on_change_account_id(account_id)" groups="analytic.group_analytic_accounting"/>
28                                 <field name="date"/>
29                                 <field name="user_id"/>
30                                 <field invisible="1" name="journal_id"/>
31                                 <field invisible="1" name="product_id"/>
32                                 <field invisible="1" name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)"/>
33                                 <field invisible="1" name="amount"/>
34                                 <field invisible="1" name="general_account_id"/>
35                                 <field invisible="1" name="to_invoice"/>
36                             </tree>
37                         </field>
38                     </page>
39                 </xpath>
40             </field>
41         </record>
42     </data>
43 </openerp>