← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 831330] [NEW] [6.0] New company financial settings set not right journal sequence

 

*** This bug is a duplicate of bug 823731 ***
    https://bugs.launchpad.net/bugs/823731

On Monday 22 August 2011, you wrote:
> Public bug reported:
> 
> When running "New company financial setting" wizard it creates purchase,
> sale journals for company, but adds not same companies journal sequence.
> 
> For example, I create sequences for new company, then I run this wizard.
> In the end I get new journals but with not correct companies sequences.
> 
> To fix this I think we must add to every search company_id filter. All
> sequences search starts - http://bazaar.launchpad.net/~openerp
> /openobject-addons/6.0/view/head:/account/account.py#L2837.
> 

You might also want to see the refactored code in:
http://git.hellug.gr/?p=xrg/openobject-addons;a=commitdiff;h=1f081a1061f
(and all subsequent commits for account_greek_fiscal)

Although this is used in the Greek COA so far, the design is intended to cover 
all countries. Accounts, Taxes, Journals, Sequences are now all configurable 
through the templates. Also, as of commit 1c9ffcd25f3e269 , the wizard has an 
"update" mode which can amend an existing COA with extra elements (in the case 
where we want eg. to have extra Taxes, Journals for an existing company 
setup).


-- 
Say NO to spam and viruses. Stop using Microsoft Windows!

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

Title:
  [6.0] New company financial settings set not right journal sequence

Status in OpenERP Modules (addons):
  New

Bug description:
  When running "New company financial setting" wizard it creates
  purchase, sale journals for company, but adds not same companies
  journal sequence.

  For example, I create sequences for new company, then I run this
  wizard. In the end I get new journals but with not correct companies
  sequences.

  To fix this I think we must add to every search company_id filter. All
  sequences search starts - http://bazaar.launchpad.net/~openerp
  /openobject-addons/6.0/view/head:/account/account.py#L2837.

  And it will be good if same wizard create sequences for every journal
  if they don't exist [wishlist].

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/831330/+subscriptions


References