← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 800100] Re: Sale: Constraint Error-Order Reference must be unique per company

 

Hello Ferdinand,

This issue has still remaining for discussion, currently I am not
considering this as a bug because end user can change this filed 's
value.

At other side in multi-company environment most probably the prifix of
the sale order's ref are different. If both comapny have same prefix
then it will confusing to find out specific record.

So you can create a new sequence with different prefix for another company then  it will never create a problem.
Currently due to server problem if you give the higher sequence for child company it will never consider this only allowing a lower sequence for both comapny please check the lp:863221.

I am again setting this as an "Opinion" for more discussion.

@OpenERP Community Members : Would you please share your view on this.

Thanks.

** Changed in: openobject-addons
       Status: New => Opinion

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

Title:
  Sale: Constraint Error-Order Reference must be unique per company

Status in OpenERP Addons (modules):
  Opinion

Bug description:
  1.Create a new db and install the multi-company module.
  2.Change the user company to Shop1.
  3.Create a Sale order and Save the record.

  It gives the following error:-
  IntegrityError: duplicate key value violates unique constraint "sale_order_name_uniq"

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


References