← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

 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>

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, 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):
  New

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


Follow ups

References