← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 789074] Re: [6.0] Purchase Orders can't be merged: Invalid form, correct red fields

 

After some investigation seems that it is problem with osv.memory. If
exp. stock return picking wizard don't have fields defined (_columns)
and it adds fields with fields_view_get method all fields added with
fields_view_get leave in the memory and using other wizard which don't
have any field exp. purchase merge, then it use fields from return
picking wizard. In the end openerp client ask to fill required fields
which came from other wizard.

To fix this issue on v6.0.3 you can add _columns = {} in the stock
return picking and other similar wizards. Or there must be fix from
openerp server side that if there is no fields defined it must set
default value for _columns exp. empty dict. I have added patch for this
issue.

** Patch added: "fix_merge_789074.diff"
   https://bugs.launchpad.net/openobject-client/+bug/789074/+attachment/2596354/+files/fix_merge_789074.diff

** Also affects: openobject-server
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/789074

Title:
  [6.0] Purchase Orders can't be merged: Invalid form, correct red
  fields

Status in OpenERP GTK Client:
  New
Status in OpenERP Server:
  New

Bug description:
  We tried to merge three purchase orders, and got the error message: Invalid form, correct red fields.
  The purchase orders themselves are ok, and there is no form to enter values for the wizard.

  See attached video.

  As requested by the Merge wizard:
  The orders are all in draft.
  The orders all belong to the same supplier.
  They have the same stock location and pricelist.

  The Lines only differ in product, quantity and unit. (they even don't
  differ in unit)

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


References