← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 761617] [NEW] postpone check on overlapping fiscal years when duplicating

 

Public bug reported:

To reproduce:
Open a fiscal year and click "duplicate". This of course is overlapping with the old one and duplication fails.

That check, which in general is correct (see https://bugs.launchpad.net
/openobject-addons/+bug/550106), should not happen as soon as I
duplicate a year.

The behaviour that I would expect is to postpone the check to when the
new fiscal year is saved, and not immediately as it is duplicated.

I think a simple solution would be to override the "copy" method of the
fiscal year. thanks!

Tested in v6

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  postpone check on overlapping fiscal years when duplicating

Status in OpenERP Modules (addons):
  New

Bug description:
  To reproduce:
  Open a fiscal year and click "duplicate". This of course is overlapping with the old one and duplication fails.

  That check, which in general is correct (see
  https://bugs.launchpad.net/openobject-addons/+bug/550106), should not
  happen as soon as I duplicate a year.

  The behaviour that I would expect is to postpone the check to when the
  new fiscal year is saved, and not immediately as it is duplicated.

  I think a simple solution would be to override the "copy" method of
  the fiscal year. thanks!

  Tested in v6



Follow ups

References