← Back to team overview

credativ team mailing list archive

[Bug 919548] Re: account_anglo_saxon - wrong view definition product_category - has no purchase_ok

 

merged in trunk
revno: 6427 [merge]
revision-id: rco@xxxxxxxxxxx-20120127094727-cl73uhi205r1hk7z


** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/919548

Title:
  account_anglo_saxon - wrong view definition product_category - has no
  purchase_ok

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
   attrs="{'readonly':[('purchase_ok','=',0)]}"  
  is not valid

          <record id="view_category_property_form" model="ir.ui.view">
              <field name="name">product.category.property.form.inherit.stock</field>
              <field name="model">product.category</field>
              <field name="type">form</field>
              <field name="inherit_id" ref="product.product_category_form_view"/>
              <field name="arch" type="xml">
                  <form position="inside">
                      <group col="2" colspan="2">
                          <separator string=" Accounting Property" colspan="2"/>
                              <field name="property_account_creditor_price_difference_categ" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
                      </group>
                  </form>
              </field>
          </record>

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


References