← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

I am confirming the issue as we do not pass the any value as default
user will face the error while updating the partner. Here the patch
suggested by XRG fixes the issue. So please kindly check it.

Thanks.

** Changed in: openobject-addons
   Importance: Undecided => Low

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

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

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

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