Commit Graph
22 Commits
Author SHA1 Message Date
Goffin Simon fa0b098900 [FIX] website_blog: Traceback on archived blog
Steps to reproduce the bug:

- Create a blogpost in the the blog 'travel
- Archive the blog 'travel'
- Open the blogpost

Bug:

A traceback was raised

opw:2444406

closes odoo/odoo#65576

X-original-commit: 196d96ef8eaf8aa06e16c9768ed595fca1c315ff
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-02-04 17:51:29 +00:00
Victor Feyens a3ded9043d [IMP] *: declare ir.rule in noupdate
ir.rule are default values but can be customized based on the
company's policy and needs.
This is typically a record that is in noupdate as should be
customization-friendly.
2020-03-20 16:21:25 +01:00
Raphael Collet e9fc0e2b5a [FIX] stock, website_blog: duplicate xmlid 2018-07-24 16:58:14 +02:00
Akash Bhavsar afacf3a348 [IMP] website_blog: Add category to blog tags, Archives collapsed
This commit allow to sort blog tag by category.

And display archives by default folded to avoid
5 years x 12 months => 65 list items open

Task-34417
2018-04-09 14:57:13 +02:00
Martin Trigaux 11812b0b9e [FIX] all: remove external ids fakely from base
Several modules defines records with the external ID `base.foo_bar` while it is
created inside this module (typically menus and groups).
While there is no technical reasons to do so but this may introduce issues:

- these records will not be deleted during uninstall
- if a language is loaded before the installation of the module, it won't be
  translated

The uninstallation will only remove the records with an external id linked to
this module (these would only be removed when removing base).

Installing a language before the module will drop the translations not linked
to an existing external id (as it can not be resolved).

This commit correct all the external ids tagged as from base or other incorrect
modules.
2016-09-02 16:14:26 +02:00
fwi-odoo 5e7ccc0e96 [MIG] website_blog: migrate xml files 2016-08-10 17:57:03 +02:00
fwi-odoo 3b39e7066a [MOV] website_blog: reorganize files 2016-08-10 17:39:49 +02:00
Thibault Delavallée efd55ab8a5 [REF] various: rename openerp node to odoo in xml files 2016-08-10 15:48:10 +02:00
Antony Lesuisse 3ced0ff61b [REM] document directories
Keeping the attachments widget on form views and document indexation (currently
limited to pdf/odt).
2015-07-12 13:52:08 +02:00
Christophe Simonis 1d3f8eba87 [MERGE] forward port of branch 8.0 up to 591e329 2014-12-02 16:18:08 +01:00
Amit Vora 4bf9dc4078 [IMP] [FIX] website_blog: better follow mechanism. Now people following
a blog will receive notifications only for published posts. They
will not receive all comments of all posts anymore.
When commenting a post users will receive the answers.

Added tests to try to test this behavior.
2014-11-28 15:12:14 +01:00
Christophe Simonis 709c9868de [MERGE] forward port of branch 8.0 up to e883193 2014-10-01 19:18:14 +02:00
Denis Ledoux caf1ad8a62 [FIX] website_blog: portal users should not be able to read unpublished blog posts 2014-09-22 16:33:09 +02:00
Jamin Shah 4b61bb9852 [REM] website_blog: removed blog.post.history model and related stuff.
This is not necessary as we will soon have a way to store the various versions
of any website page, including the blog. Let's hope.
2014-09-12 10:18:02 +02:00
Christophe Simonis 16db944365 [IMP] website_blog: rename "Category" to "Blogs"
bzr revid: chs@openerp.com-20140124162251-3kkn3n17uqum1scu
2014-01-24 17:22:51 +01:00
Xavier Morel 77e79435d0 [ADD] blog.tag access rights so public user can read blog
Issue was no access rights on blog.tag, add ability for all users to
read them, and for "knowledge" users to edit them.

Also fix pre-existing access rights and move them to knowledge users,
not users in general.

bzr revid: xmo@openerp.com-20131025102421-0c86z775nedzgqyi
2013-10-25 12:24:21 +02:00
Thibault Delavallée 84faec66c3 [MOV] website_blog: module organization cleaning. Files have been moved accordingly to the new organization
we would like to impose in OpenERP addons :
- model-related files: in models directory
- data/demo files: in data directory
- renamed sexurity/website_mail.xml to website_blog.xml, to avoid confusing the module with website_mail

bzr revid: tde@openerp.com-20131011081215-jnsyqyk7zzrw22qg
2013-10-11 10:12:15 +02:00
Christophe Matthieu 1ad5e2f0f7 [IMP] website: remove website.config.settings
bzr revid: chm@openerp.com-20131003150048-elm5kiwabrh1j6gt
2013-10-03 17:00:48 +02:00
Thibault Delavallée 5ebd3c5047 [IMP] website_blog: blog_post: public user limited to published posts
bzr revid: tde@openerp.com-20130923144853-unxxa7i5u5zfskhk
2013-09-23 16:48:53 +02:00
Thibault Delavallée 4d59eb9aeb [REM] website_blog: security: removed unnecessary rule on mail.message, cleaned indentation
bzr revid: tde@openerp.com-20130923104417-cijlf4d1sbbi5am3
2013-09-23 12:44:17 +02:00
Thibault Delavallée 4f1cdefa8d [REF] document_page, website_blog: merge of the two modules.
document_page is now contained inside website_blog, last part of the refactoring before
cleaning and improving the blog feature. Usefull files have been transfered.

Translations have been discarded, they will have to be re-translated again.

Document_page module is now dead. Long live website_blog!

Misc:
- some fixes in website_blog and wizard
- commented some sections of yml tests because they should not apply anymore
- added empty files for python unit tests in website_blog

bzr revid: tde@openerp.com-20130920142701-4lp1my3ajga2puxl
2013-09-20 16:27:01 +02:00
Thibault Delavallée 4c3b516a7b [REF] website_mail refactoring
It is now called website_blog, and not based on mail.group anymore. It uses
document_page module, previously renamed blog.post (see previous commits).

Refactored controllers and views to work with the new model.

Added website_mail module, that holds mail-related stuff necessary
for the website. This is an auto-install module.

bzr revid: tde@openerp.com-20130920135643-rey5bwza2e96v7h5
2013-09-20 15:56:43 +02:00