[IMP] hr_timesheet,project_issue_sheet:-added domain on account.analytic.account
bzr revid: mtr@mtr-20100831102812-rfsdrbw8xw4m636l
This commit is contained in:
parent
048509b878
commit
378cead2ec
|
@ -38,7 +38,7 @@
|
||||||
<newline/>
|
<newline/>
|
||||||
<field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, product_uom_id)" required="1" domain="[('type','=','service')]"/>
|
<field name="product_id" on_change="on_change_unit_amount(product_id, unit_amount, product_uom_id)" required="1" domain="[('type','=','service')]"/>
|
||||||
<field name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, product_uom_id)"/>
|
<field name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, product_uom_id)"/>
|
||||||
<field domain="[('type','=','normal'),('state', '<>', 'close')]" name="account_id" select="1" groups="base.group_extended"/>
|
<field domain="[('type','=','normal'),('state', '<>', 'close'),('parent_id','!=',False)]" name="account_id" select="1" groups="base.group_extended"/>
|
||||||
<field name="amount"/>
|
<field name="amount"/>
|
||||||
<field name="general_account_id"/>
|
<field name="general_account_id"/>
|
||||||
<field name="journal_id"/>
|
<field name="journal_id"/>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<notebook colspan="4">
|
<notebook colspan="4">
|
||||||
<page string="Worklogs">
|
<page string="Worklogs">
|
||||||
<field name="analytic_account_id" invisible="1" groups="base.group_extended"/>
|
<field name="analytic_account_id" invisible="1" domain="[('parent_id','!=',False)]" groups="base.group_extended"/>
|
||||||
<field name="timesheet_ids" colspan="4" nolabel="1" context="{'default_user_id' : user_id, 'default_account_id' : analytic_account_id}">
|
<field name="timesheet_ids" colspan="4" nolabel="1" context="{'default_user_id' : user_id, 'default_account_id' : analytic_account_id}">
|
||||||
<tree editable="top" string="Timesheet">
|
<tree editable="top" string="Timesheet">
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
|
|
Loading…
Reference in New Issue