diff --git a/addons/account_budget/crossovered_budget.py b/addons/account_budget/crossovered_budget.py index 209e42ff32c..7891db91728 100644 --- a/addons/account_budget/crossovered_budget.py +++ b/addons/account_budget/crossovered_budget.py @@ -40,13 +40,11 @@ class account_budget_post(osv.osv): 'account_ids': fields.many2many('account.account', 'account_budget_rel', 'budget_id', 'account_id', 'Accounts'), 'crossovered_budget_line': fields.one2many('crossovered.budget.lines', 'general_budget_id', 'Budget Lines'), 'company_id': fields.many2one('res.company', 'Company', required=True), - 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of budgetary position."), } _defaults = { - 'sequence': lambda *a: 1, 'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'account.budget.post', context=c) } - _order = "sequence, name" + _order = "name" def spread(self, cr, uid, ids, fiscalyear_id=False, amount=0.0): dobj = self.pool.get('account.budget.post.dotation') diff --git a/addons/account_budget/crossovered_budget_view.xml b/addons/account_budget/crossovered_budget_view.xml index 39877e7a712..0e3909e9372 100644 --- a/addons/account_budget/crossovered_budget_view.xml +++ b/addons/account_budget/crossovered_budget_view.xml @@ -19,7 +19,6 @@ tree - @@ -58,7 +57,8 @@ - + + @@ -70,7 +70,6 @@ - @@ -88,9 +87,9 @@ - - - + + +
diff --git a/addons/account_budget/report/budget_report.py b/addons/account_budget/report/budget_report.py index 59895ed3321..32f54c247bc 100644 --- a/addons/account_budget/report/budget_report.py +++ b/addons/account_budget/report/budget_report.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ##############################################################################