← Back to team overview

openerp-india team mailing list archive

[Bug 683127] Re: product save

 

This could be the issue for number of functional fields exist
(Calculated each time) in product form.

Thanks.

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/683127

Title:
  product save

Status in OpenObject Addons Modules:
  Triaged

Bug description:
  Hi!

I have a problem with saving product (it is more than 1min long). I've found out that it is due to pricelists. I have more than 3000 pricelists and more than 15000 items in pricelists. Products and pricelists are connected through ir_property table in database and i have more than 5000 records in it (for sale and purchase pricelists and some sale pricelists are shared with multiple partners).
If I delete everything from pricelists in database, saving is done immediately (less than 1 sec). I think that it should work ok even with this amount of data and I suppose that it can be fixed by custom indexes?
And another question is: why is saving product doing anything with pricelists? Is it checking margins or something?