To update, applying this proposal, would solve both the issues!

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

Title:
  Trunk : Total Injustice to the company 'name' !

Status in OpenERP Server:
  New

Bug description:
  Guys,

  I am not sure how critical this would be, but we faced this live on an
  implementation and was really a shocker.

  There seems to be 2 issues, both the issues have same root!

  Case 1. Try to duplicate the company record, although this should
  never go as a real case I guess. System would give you an error of not
  null constrain for the field 'name'.  The field name is a
  fields.related and can usually fail in this case.

  Proposed solution : copy() should be overridden and it can manage the
  rest.

  Case 2. Keeping the field as related is fine, but injustice happens
  when the same name(from Partner model,feeling like a rich) when goes
  to name of the company, feels like filthy. In technical terms, the
  size of the name for partner_id appears to be 128 chars and name for
  company stands as 64 chars long. This results in "DataError: value too
  long for type character varying(64)" when the name of the partner
  doesn't really fit company name.

  Proposed Solution : size for name field of company should be reset to
  128.

  Attached merges would pave the way for the solution.

  Hope this helps.

  Thanks,
  Serpent Consulting Services.

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

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to