Commit 8a13880e authored by Titouan Soulard's avatar Titouan Soulard

erp5_corporate_identity: use effective date of book when available

parent 1db3034a
......@@ -74,7 +74,7 @@ if not book_content:
return
book_aggregate_list = []
book_revision = book.getRevision()
book_modification_date = book.getModificationDate()
book_modification_date = book.getEffectiveDate() or book.getModificationDate()
book_language = book.getLanguage()
# XXX sigh for passing "" around
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment