← Back to team overview

openerp-india team mailing list archive

[Bug 993536] Re: [6.1][trunk][stock] random error: stock.move.tree3 view error: unknown field state

 

Hello,

 It has been fixed on lp:~openerp-dev/openobject-addons/trunk-
bug-993536-rmu  branch with Following Revision Number and Revision ID.

Revision Number : 7311
Revision ID: rmu@xxxxxxxxxxx-20120828133257-qr4jwp04habmox60 

 Thank you!

-- 
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/993536

Title:
  [6.1][trunk][stock] random error: stock.move.tree3 view error:
  unknown field state

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Hello,

  the view stock.move.tree3 in the stock module has an error.
  Indeed it uses the stock field to determine the visibility of the action_done button:
  <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
  But because the field name is not included in the tree view, at least in the web-client it will generate an error.

  That view stock.move.tree3 has a priority of 6, just like
  stock.move.tree and stock.move.tree2 which work. So the error appears
  a bit randomly depending on every installation.

  For instance, in an installation, it would break when opening the purchase order line popup detail in a delivered purchase order (while in an other installation it worked).
  A way to ensure you'll see the bug is to manually change the priority of stock.move.tree3 to 5 for instance and then open a purchase order line having some related reception move.

  In any case I suggest determining deterministically the view to use to
  list the moves related to a purchase order line and also fix this
  stock.move.tree3 view which is obviously broken.

  
  Hope this helps.

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


References