From 9eae2d59410f4d4d0cf1e2d16ca09286fe8616b5 Mon Sep 17 00:00:00 2001 From: "pso (tiny)" Date: Tue, 6 Jan 2009 16:47:44 +0530 Subject: [PATCH] minor changes bzr revid: pso@tinyerp.com-20090106111744-84c8pm09jgydx1ka --- addons/product/pricelist.py | 2 +- addons/project/company.py | 2 +- .../report_analytic_planning/report_analytic_planning_view.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 2cc1ce7dce0..3c44d1a7bfe 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -56,7 +56,7 @@ class price_type(osv.osv): _columns = { "name" : fields.char("Price Name", size=32, required=True, translate=True, help="Name of this kind of price."), "active" : fields.boolean("Active"), - "field" : fields.selection(_price_field_get, "Product Field", required=True, help="Associated field in the product form."), + "field" : fields.selection(_price_field_get, "Product Field", size=32, required=True, help="Associated field in the product form."), "currency_id" : fields.many2one('res.currency', "Currency", required=True, help="The currency the field is expressed in."), } _defaults = { diff --git a/addons/project/company.py b/addons/project/company.py index d3ff9d8498f..ceafa04b954 100644 --- a/addons/project/company.py +++ b/addons/project/company.py @@ -32,7 +32,7 @@ class res_company(osv.osv): help='This will set the unit of measure used in projects and tasks.\n' \ "If you use the timesheet linked to projects (project_timesheet module), don't " \ "forget to setup the right unit of measure in your employees.", - required=True, + ), } _defaults = { diff --git a/addons/report_analytic_planning/report_analytic_planning_view.xml b/addons/report_analytic_planning/report_analytic_planning_view.xml index 0e57170e4c7..933c022e682 100644 --- a/addons/report_analytic_planning/report_analytic_planning_view.xml +++ b/addons/report_analytic_planning/report_analytic_planning_view.xml @@ -34,7 +34,7 @@ - +