← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 660049] Re: [5.2] one2many field doesn't send default values

 

I'm attaching a test module to test this issue.

This module replaces the "Make packing" button in the out_picking_form.
So, to test it, you need to have some out products (for example by
creating a sale order), then press the "Make Shipping" button (I named
it differently to be sure that the button had been replaced).

Once you press it, you get a one2many field that you can edit, with the
same lines as the out_delivery.  But when you press "Ok", only the lines
you edited are sent back.

Some stuff is printed in the server console to show this.

** Attachment added: "Example module to experiment the undesired functionality."
   https://bugs.launchpad.net/openobject-client/+bug/660049/+attachment/1774530/+files/test_packing.tar.gz

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

Title:
  [5.2] one2many field doesn't send default values

Status in OpenObject GTK Client:
  Invalid

Bug description:
  Hi community!

Using 5.2 version both in GTK client and server (June 21st 2010 revision), I got following error: After building an "osv_memory wizard" with a one2many field inside of it, I realized that if I didn't change the default values I filled it with (through a function), I didn't receive any value at all; however, if I add/edit/delete some values, all values of this field were properly sent.

Any idea?

Thanks in advance!





Follow ups

References