openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #05442
[Bug 919548] Re: account_anglo_saxon - wrong view definition product_category - has no purchase_ok
Hello Ferdinand,
Thanks for reporting and also for giving the accurate solution. The
solution for this bug is proposed in the branch :
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-
bug-919548-mdi/
with following Revision ID and Number.
Revision ID : mdi@xxxxxxxxxxx-20120123071002-gmw7r4na28rjyu6i
Revision Number : 6371
Thanks and Regards,
Divyesh Makwana(MDI)
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
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):
Fix Committed
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','<>','view'),('type','<>','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