mirror of
https://github.com/odoo/runbot.git
synced 2025-03-16 07:55:45 +07:00
16 lines
472 B
Python
16 lines
472 B
Python
![]() |
import pathlib
|
||
|
|
||
|
from odoo.addons.runbot_merge.controllers.dashboard import MergebotDashboard
|
||
|
|
||
|
class Dashboard(MergebotDashboard):
|
||
|
def _entries(self):
|
||
|
changelog = pathlib.Path(__file__).parent / 'changelog'
|
||
|
if not changelog.is_dir():
|
||
|
return super()._entries()
|
||
|
|
||
|
return super()._entries() + [
|
||
|
(d.name, [f.read_text(encoding='utf-8') for f in d.iterdir() if f.is_file()])
|
||
|
for d in changelog.iterdir()
|
||
|
]
|
||
|
|