← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 844064] Re: attrs not working within a group with nested notebooks

 

Hello Manfred,

Thanks for reporting !

It has been improved at trunk client with revision-info:1981
nch@xxxxxxxxxxx-20111020060032-jf6bjz9bcf1lofuk


Thanks,

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/844064

Title:
  attrs not working within a group with nested notebooks

Status in OpenERP GTK Client:
  Fix Released

Bug description:
  client 6.1 rev. 1928
  server 6.1 rev. 3524


          <record id="rockel_product_normal_form_view2" model="ir.ui.view">
              <field name="name">rockel.product.normal.form.inherit</field>
              <field name="model">product.product</field>
              <field name="type">form</field>
              <field name="inherit_id" ref="product.product_normal_form_view"/>
              <field name="arch" type="xml">
                  <notebook position="inside">
                          <page string="Test nested Notebooks" >
                          <group colspan="4" col="1">
                          <notebook tabpos="down">
                               <page string="Einstellungen1">
                               </page>
                               <page string="Info1">
                               </page>
                               <page string="Verkauf1" attrs="{'invisible':[('sale_ok','=',False)]}">
                               </page>
  	                     <page string="Einkauf1" attrs="{'invisible':[('purchase_ok','=',False)]}">
                               </page>
  	                </notebook>
                          <notebook tabpos="down">
                               <page string="Einstellungen2">
                               </page>
                               <page string="Info2">
                               </page>
                               <page string="Verkauf2" attrs="{'invisible':[('sale_ok','=',False)]}">
                               </page>
  	                     <page string="Einkauf2" attrs="{'invisible':[('purchase_ok','=',False)]}">
                               </page>
  	                </notebook>
                          <notebook tabpos="down">
                               <page string="Einstellungen3">
                               </page>
                               <page string="Info3">
                               </page>
                               <page string="Verkauf3" attrs="{'readonly':[('sale_ok','=',False)]}">
                               </page>
  	                     <page string="Einkauf3" attrs="{'readonly':[('purchase_ok','=',False)]}">
  	                    <field name="seller_ids2" nolabel='1'/>
                               </page>
  	                </notebook>
                          </group>
                          </page>
                  </notebook>
              </field>
          </record>

  
  please try product_test.zip

  and look at the video

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/844064/+subscriptions


References