← Back to team overview

credativ team mailing list archive

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

 

** 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 3 (openerp-dev-addons3)

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

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