Community mailing list archives
Re: Enhancement: Notes Field for model ir.ruleby
On Wed, Jul 30, 2014 at 7:33 PM, <email@example.com> wrote:
Hello.When we set a bunch of pre-configurations on ir rules "Manually or Functionally" just so technical people has the enough knowledge to understand what is happening in the domain field, IOH, technical people so frequently doesn't have the Functional knowledge enough to understand why a rule is braking a test or even the simple creation of a record in production or testing enviroment "From a Funtional PoV".Said that I think we should have an extra field "Notes" type text in ir.rule to be used as "Documentation of the rule" in order to set a module after it which the documentation of the rules or even being able to set the doc of our own rules in OCA.Whit this we can close these GAP in the specific implementations where we need add rules and re-use them some time after or even create extra modules with this rules that fix really simple issues.Questions about this enhancement:---¿Do I make an MP and propose for Trunk?¿Do I make a new module and you think it should not be done in the core?¿What problems do you think can we face about that?¿Do you think I am crazy for ask this?¿Do you think we can have a better approach technically speaking?
I see your REQM totally in functional space, so we use a lot ir.rule object, its a killer feature.
We use the name field in a better way, in this way:
*Object Name* per *Group Assigned* (never use more than 1 group per rule)
And implement better test case is on the road.
I recommend you not modify the table.
Could be better a good module description with list rules per group and two lines of explanation ?
What do you think ?
--What Options do we have:---**A. Simple** field notes on ir.rule + unit tests.**B. Complex** Take [this](https://github.com/julienlegros/odoo/commit/7914e9bf4f120578f142418ba3e87acd3ddd2bdf) new approach comming for V8.0 make a backport+extra-needs and not touch this table.**C. Both**Why do I make this question public?Because maybe you solved in other way, you have somthing that solve this of simply you think it doesn't add any value.Regards.
Nhomar G. Hernandez M.
Servicios IT: http://vauxoo.com