openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09587
[Bug 967415] Re: purchase.requisition: make_po should not override requisition's name default value
Hello Aristóbulo Meneses,
Thanks for reporting!
It has been fixed on lp:~openerp-dev/openobject-addons/trunk-
bug-967415-amb branch with following revision no and id.
rev no :6697
rev id : 6697 amb@xxxxxxxxxxx-20120329073209-a5ybaiery3nracz3
Thanks again!
** 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/967415
Title:
purchase.requisition: make_po should not override requisition's name
default value
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
at this line http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/view/head:/purchase_requisition/purchase_requisition.py#L54
a default value is declared for purchase.requisition's name, then at
http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/view/head:/purchase_requisition/purchase_requisition.py#L243
in procurement.order's make_po method is assigning (hardcoded) a
sequence value to name field.
This should not happen, because if you inherit purchase.requistion
object a re-declare name's default value then make_po will ignore
default value.
Name assignation should not be declared at this point
http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/view/head:/purchase_requisition/purchase_requisition.py#L243
overriding default value.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/967415/+subscriptions
References