← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 710734] Re: [trunk][account_budget] Error while printing buget report

 

For understanding reasons the required=True was changed to
required=False here : http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/revision/3164.119.8#account_budget/account_budget.py .

So is there another solution to inform the user that he didn't have
filled in an analytic account on each budget lines ?

I think about modifying the report and verify that all these lines have
an analytic account before reporting. If not, giving the user an error.
What do you think about this ?

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/710734

Title:
  [trunk][account_budget] Error while printing buget report

Status in OpenERP Modules (addons):
  New

Bug description:
  Addons: revno. 4393
  Server: revno. 3335
  Client: revno. 4491

  To reproduce : 
  - Create a new database (account_budget module, french accountancy and demo data)
  - Go to Accounting > Budget > Budget
  - Create a new budget with new budget lines but without an analytic account for the budget lines
  - Save the budget
  - Click on "Print Budgets" or "Print Summary" (in Reports panel)

  An error occurs.

  Try to edit the budget lines that have no analytic accounts. Give some
  analytic accounts. Then try to print the budget or print a summary :
  it works !

  To my mind it could be better to make analytic_account_id 'required' !





References