← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [PATCH] OSV: override inherited constraints, when fn name equals [Bug 700451]

 

On Monday 10 January 2011, Ferdinand Gassauer wrote:
> Am Montag 10 Januar 2011, 12:11:33 schrieb P. Christeas:
> 
> well isn't it the same for all inheritance - the last one wins ?

No. In members like _columns and _defaults  (which are a dict), the named 
items are updated. In _constraints, which is a list, they are just appended, 
with that special fragment of code.


-- 
Say NO to spam and viruses. Stop using Microsoft Windows!

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

Title:
  [6.0 RC2] constraints can not be altered

Status in OpenObject Server:
  Confirmed

Bug description:
  pls see/try extra-trunk/chricar_product_gtin
and see discussion here
https://bugs.launchpad.net/openobject-addons/+bug/697969
may be because of product_product inheritance ?





References