← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 720247] [NEW] [6.0] - warning - must init fields

 

Public bug reported:

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"

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

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"





Follow ups

References