Hello, to reproduce this bug you need use GTK client 6.0 (rev 1907), and follow these steps:
1. Use stock picking return wizard to return picking. 2. Go to Sale -> Invoicing -> Lines to Invoices and try to merge with wizard invoice lines or try using purchase merge. I have found that after stock picking return wizard using gtk client somehow it try to validate invoice_state field. Invoice_state field comes from return picking wizard and I see it is added in the fields_view_get method (stock/stock_return_picking.py). Same problem can be in the trunk, but I didn't test. Gtk debugging when merging invoice lines: > /home/komsas/openerp/client/bin/widget/model/record.py(195)validate() -> for fname in self.mgroup.mfields: (Pdb) self.mgroup.mfields.keys() ['return2324', 'return2323', 'return2321', 'return2318', 'return2319', 'return2316', 'return2317', 'return2320', 'return2322', 'invoice_state', 'return3041', 'return3040', 'return3343', 'return3214', 'return3670', 'return3637'] -- 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 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 _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

