c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #18870
Re: [Bug 726592] Re: [6.0] ir.property created even if the value is the same as generic property
Hello,
I just wanted to say I agree 100% with Guewen: it's a feature loss but more
importantly, properties are already a bit slow by nature, so bloating the
properties table because of this bug will certainly have a very negative
impact. For me that's an important regression.
We have customers doing e-commerce, they easily add like 10 000 customers
per year, that would certainly bloat the property table given that bug.
On Wed, Mar 9, 2011 at 5:29 AM, Guewen Baconnier @ Camptocamp <
726592@xxxxxxxxxxxxxxxxxx> wrote:
> Hello,
>
> I don't think this is a nice-to-have but a real issue.
> I see 2 usages for properties :
> - different values for a field on multi-companies
> - possibility to have default values on a field
> This bug breaks the second usage, which was perfectly working on OpenERP
> 5.0.
>
> I give you an example :
>
> You have these categories with accounts:
> Version 5.0 and expected behavior :
> - category A - account 4200 (default property)
> --- category A1 - account 4200 (default property)
> --- category A2 - account 4200 (default property)
> --- category A3 - account 4210 (own property)
> - category B - account 4200 (default property)
> --- category B1 - account 4200 (default property)
> --- category B2 - account 4200 (default property)
>
> With this behavior, if you change the default property, all your
> categories will be updated with the new account.
>
> But now in version 6.0 ::
> - category A - account 4200 (own property)
> --- category A1 - account 4200 (own property)
> --- category A2 - account 4200 (own property)
> --- category A3 - account 4210 (own property)
> - category B - account 4200 (own property)
> --- category B1 - account 4200 (own property)
> --- category B2 - account 4200 (own property)
>
> If you modify the default property, nothing will happen, you will have
> to modify the property on each category !
>
> Moreover, this is a big performance cruncher because lines are rapidly
> increasing in the table ir.property, for example, with 3 properties on
> products, with 10'000 products you'll have 30'000 lines in ir.property,
> just add a property and you'll have 40'000 lines.
>
> Thanks to reconsider this bug.
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Server.
> https://bugs.launchpad.net/bugs/726592
>
> Title:
> [6.0] ir.property created even if the value is the same as generic
> property
>
> Status in OpenERP Server:
> Confirmed
>
> Bug description:
> Hello,
>
> This issue happens on the 6.0 stable (I reproduced the bug on the
> revno 3353).
>
> The problem is that new ir properties are created each time you create
> a new object (like product category or product), even if you don't
> select another value than the default value.
>
> To reproduce it :
> 1) bzr branch on openerp 6 stable branches
> 2) create a new database with demo data
> 3) do the configuration wizard, check the Sales Management in the step
> "Install Applications"
> 4) go to the Administration > Configuration > Parameters > Configuration
> Parameters and take note of the generic property_account_expense_categ value
> (ie. "4200 Achats de marchandises article X") and the generic
> property_account_income_categ value (ie. "1000 Caisse principale")
> 5) go to Sales > Configuration > Product > Products Categories
> 6) create a new category, only fill the name field, don't change the
> accounting properties
> 7) return to the Configuration Parameters and see that there is two new
> properties property_account_expense_categ and property_account_income_categ
> binded with your new category, open them
> 8) see that their values are the same that the default property
>
> I hope my explanation is clear.
>
> Thanks
> Guewen
>
--
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/726592
Title:
[6.0] ir.property created even if the value is the same as generic
property
Status in OpenERP Server:
Confirmed
Bug description:
Hello,
This issue happens on the 6.0 stable (I reproduced the bug on the
revno 3353).
The problem is that new ir properties are created each time you create
a new object (like product category or product), even if you don't
select another value than the default value.
To reproduce it :
1) bzr branch on openerp 6 stable branches
2) create a new database with demo data
3) do the configuration wizard, check the Sales Management in the step "Install Applications"
4) go to the Administration > Configuration > Parameters > Configuration Parameters and take note of the generic property_account_expense_categ value (ie. "4200 Achats de marchandises article X") and the generic property_account_income_categ value (ie. "1000 Caisse principale")
5) go to Sales > Configuration > Product > Products Categories
6) create a new category, only fill the name field, don't change the accounting properties
7) return to the Configuration Parameters and see that there is two new properties property_account_expense_categ and property_account_income_categ binded with your new category, open them
8) see that their values are the same that the default property
I hope my explanation is clear.
Thanks
Guewen
References