credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #01515
[Bug 904408] Re: Trunk : Total Injustice to the company 'name' !
Hello,
I am confirming this issue for case#1 which is related to Integrity
Error.
For case#2, I am not sure about the increasing the Size of the name
related filed on res.comapny object because in res.partner object I have
seen the same size, So I think it don't creates any problem.
@Framework Team:
You can take appropriate decision on case#2.
@Sepent Consulting Service:
I didn't agree with your comment#1 that your fixes fixed the both problem.
Correct me If I am wrong!.
Thank you!
** Changed in: openobject-server
Importance: Undecided => Low
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/904408
Title:
Trunk : Total Injustice to the company 'name' !
Status in OpenERP Server:
Confirmed
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
References