Commits

Raimon Esteve (Zikzakmedia)  committed 7de4153

Remove basedescription field

  • Participants
  • Parent commits 6c9c77e

Comments (0)

Files changed (2)

         'template', 'attribute', 'Attributes')
     variants = fields.Function(fields.Integer('Variants', select=1),
         'get_variants', searcher='search_variants')
-    basedescription = fields.Text("Basedescription", translate=True)
 
     def __init__(self):
         super(Template, self).__init__()
                         position="after">
                         <label name="basecode"/>
                         <field name="basecode"/>
-                    </xpath>
-                    
-                    <xpath expr="/form/notebook/page[@id=&quot;general&quot;]"
-                        position="after">
-                        <page string="Basedescription" col="4" id="description"
-                            states="{'invisible': Not(Bool(Eval('variants')))}">
-                            <field name="basedescription" colspan="4"/>
-                        </page>
-                    </xpath>
+                    </xpath>                    
                     <xpath expr="/form/notebook/page[@id=&quot;general&quot;]"
                         position="after">
                         <page string="Variants" col="4" id="products">