Ir al contenido
Menú
Se marcó esta pregunta
5 Respuestas
5349 Vistas

How do I delete an unpublished blog post? (Odoo 10)

Here is a screenshot http://i.imgur.com/DYAwNa3.png


Avatar
Descartar
Mejor respuesta

 

Avatar
Descartar
Mejor respuesta

I'm new to Odoo and to this forum. Do I write here or do I start a new thread on my own...?  I would like to remove posts using code. "DELETE *  FROM [table] WHERE id = item.id". It's non working pseudo code, of-course.  How do I do that Odoo-style!? http://syscare.se/files/screen-icons_to_edit2.jpg  Work in progress. When pressing the trashcan.

Avatar
Descartar
Mejor respuesta

I found the deletion at first confusing: conceptually easy, I seemed still to just "be in the wrong place", after all. 

What I experienced is that there's no easy (or obvious) way to delete a blog post on the spot, right where you are editing the posts.

Instead, go the backend, particularly click "Website admin" in Odoo's menu.

There, on the side menu, you should see 'Blog', under which there are 3 options:

  • Blog posts

  • Blogs

  • Blog tags

-> Click on "Blog posts".

Now a menu opens, listing the posts. In my case the "leftovers", or those blog posts I wanted to delete, were missing the headlines. Thus it was easy to spot them. 

-> Mark a 'X' in all those posts that you want to delete

-> Choose 'Action'

-> Delete

-> Confirm the popup ('OK') 

Avatar
Descartar
Mejor respuesta

You could find it and delete it in the backend

Avatar
Descartar
Autor

How?