bzr revid: fp@tinyerp.com-20120830075118-39gdhfw1zhnc6lqk
This commit is contained in:
Fabien Pinckaers 2012-08-30 09:51:18 +02:00
parent 8b0f2cfd71
commit 1c7213ab41
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ class project(osv.osv):
'complete_name': fields.function(_complete_name, string="Project Name", type='char', size=250),
'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the project without removing it."),
'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of Projects."),
'analytic_account_id': fields.many2one('account.analytic.account', 'Analytic Account', help="Link this project to an analytic account if you need financial management on projects. It enables you to connect projects with budgets, planning, cost and revenue analysis, timesheets on projects, etc.", ondelete="cascade", required=True),
'analytic_account_id': fields.many2one('account.analytic.account', 'Contract/Analytic', help="Link this project to an analytic account if you need financial management on projects. It enables you to connect projects with budgets, planning, cost and revenue analysis, timesheets on projects, etc.", ondelete="cascade", required=True),
'priority': fields.integer('Sequence', help="Gives the sequence order when displaying the list of projects"),
'members': fields.many2many('res.users', 'project_user_rel', 'project_id', 'uid', 'Project Members',
help="Project's members are users who can have an access to the tasks related to this project.", states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}),

View File

@ -98,7 +98,7 @@
</group>
<group>
<field name="privacy_visibility"/>
<field name="analytic_account_id" invisible="1" required="0"/>
<field name="analytic_account_id" readonly="1" required="0"/>
</group>
</group>
<notebook>