← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 710644] Re: [trunk][account_budget] Problems while adding a budget line with a budgetary position without analytic account

 

Hello Olivier,

yes we can put required=true on accounts to avoid the warning.
I make this bug wishlist for now.

Thanks,
mra

** Changed in: openobject-addons
   Importance: Low => Wishlist

-- 
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/710644

Title:
  [trunk][account_budget] Problems while adding a budget line with a
  budgetary position without analytic account

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  Addons: revno. 4393
  Server: revno. 3335
  Client: revno. 1806
  Client-web: revno. 4491

  How to reproduce the problem (try it with the web client for an example) :
  - Create a new database (with demo data, account_budget module and French accountancy)
  - Go to Accounting > Budget > Budget
  - Go to the buget named "Budget 2012: Optimistic"
  - Edit it
  - Click on the "New" button to add a new budget line
  - Click on budgetary position fields in order to see all budgetary position
  - Create a new budgetary position WITHOUT accounts
  - Save it
  - Save the budget line
  - All budgets lines vanish

  No warning, no error appears.
  If you launch the OpenERP GTK client, and go to this budget named "Budget 2012: Optimistic", you got an error : 
  """
    The General Budget 'name_of_the_budgetary_position' has no Accounts!
  """

  To my mind the field 'account_ids' should be required for all
  budgetary position to avoid this kind of problems.





References