← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 704873] [NEW] ir.sequence

 

Public bug reported:

Hi,
I have made the field Other ID in the Human Resources ->Employee -> New Employee -> Other ID field as ir.sequence type for making the Other ID to automatically generate when i create a new Employee.

But i could observe an issue with this sequence.

Whenever i create the New Employee this filed is getting
incremented.Even if i dont save the Data for an employee this field is
getting incremented...

Say for example , when i press the New Button ,this fled is coming as
1001 and i just cancel this employee without saving this data and again
if press the New Employee button ,this field is coming 1002 which is
wrong ,since i havent saved the previous datas.

This shouldnot autoincrement unless i save the previous data

** Affects: openobject-server
     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/704873

Title:
  ir.sequence

Status in OpenERP Server:
  New

Bug description:
  Hi,
  I have made the field Other ID in the Human Resources ->Employee -> New Employee -> Other ID field as ir.sequence type for making the Other ID to automatically generate when i create a new Employee.

  But i could observe an issue with this sequence.

  Whenever i create the New Employee this filed is getting
  incremented.Even if i dont save the Data for an employee this field is
  getting incremented...

  Say for example , when i press the New Button ,this fled is coming as
  1001 and i just cancel this employee without saving this data and
  again if press the New Employee button ,this field is coming 1002
  which is wrong ,since i havent saved the previous datas.

  This shouldnot autoincrement unless i save the previous data





Follow ups

References