← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello DR Ferdinand,

Would you please elaborate the issue with more precise information like
which type of error you got and the way you updating your partner.

Code in warning module suggests that we do have all the fields as read
only when partner is initiated with "no message".

Waiting for your reply.

Thanks.

** Changed in: openobject-addons
       Status: New => Incomplete

-- 
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):
  Incomplete

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