← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 720247] Re: [6.0] - warning - must init fields

 

Thanks for the fix Panos,
your branch is merged in trunk-addons,
revno: 4489
revision-id: tfr@xxxxxxxxxxx-20110309111913-y14gkw6et9mf5946

** Changed in: openobject-addons
       Status: Confirmed => Fix Released

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

Title:
  [6.0] - warning - must init fields

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  installing the modul warning into existing db creates errors on update
  of partner because of the attrs

  
                          <group colspan="2" col="2">
                              <separator string="Warning on the Sale Order" colspan="4"/>
                                  <field name="sale_warn" nolabel="1" />
                                  <field name="sale_warn_msg" colspan="3" nolabel="1" 
                                          attrs="{'required':[('sale_warn','!=','no-message')],'readonly':[('sale_warn','=','no-message')]}"/>
                          </group>

  hence the fields of existing partners must be initiated with "no-
  message"



References