openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #05488
Re: attribute exception in database
You've dropped some product template entries referenced in some product.
Restore a db back up if any otherwise you'll need to create one by one the
product template with the corresponding id appearing in the stack trace.
Le 11 avr. 2014 17:20, "Martin Collins" <martin@xxxxxxxxxxxxx> a écrit :
> On 2014-04-11 07:20, shazz0020 wrote:
> > Hello ,
> >
> > I deleted few entries directly from pgadmin .
>
> Inadvisable.
>
> > Now when i restart my server with -u all -d database command , it throws
> > following error:
> >
> > How i can resolve this critical issue?
> >...
> > 'Field product_tmpl_id not found in browse_record(product.product, 2349)'
>
> Drop the table product_product in pgadmin. Then the update will recreate
> it with the missing column (assuming you did no other damage).
>
> N.B. All your products will be gone.
> If that is undesirable just recreating the column in pgadmin might work.
>
> Martin
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help : https://help.launchpad.net/ListHelp
>
References