Community mailing list archives

community@mail.odoo.com

Re: Merge duplicate error

by
OpenERP Master
- 07/08/2015 19:26:49
Not quite sure how this is supposed to work, this code looks like it was written by a php developer. See the code:

        this = self.browse(cr, uid, ids[0], context=context)
        p_ids = this.product_ids and this.product_ids
        p_ids and p_ids.append(this.product_to)

they are trying to use append() which would add an element to a list object, except they are calling it on a browse record, which doesnt make sense.

On Wed, Jul 8, 2015 at 8:23 AM, Tutu Moses <etu.moses@gmail.com> wrote:
​Hello,

i installed ​https://apps.openerp.com/apps/modules/8.0/product_do_merge/ in order to merge some duplicate items i had .

but i keep getting this error, can any one help - Moses

Inline image 1

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe