Skip to content

Commit 23ea412

Browse files
committed
Merge branch '16.0' of github.com:onesteinbv/addons-oca into 16.0
2 parents 530133f + 5b53cf9 commit 23ea412

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

project_scrum/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Project Scrum
77
!! This file is generated by oca-gen-addon-readme !!
88
!! changes will be overwritten. !!
99
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:1e5f918a26b23d5518e54987bea92f39913aa9d2f54c771f71a1c6572d5601ba
10+
!! source digest: sha256:9205339e8f7a2d8db0498032ce054de9c0db6a0555bdab29eb354e8393711c9b
1111
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
1313
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png

project_scrum/models/project_sprint.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ class ProjectSprint(models.Model):
2525
),
2626
]
2727

28-
name = fields.Char(required=True, track_visibility="onchange")
28+
name = fields.Char(required=True, tracking=True)
2929
user_ids = fields.Many2many(
3030
comodel_name="res.users",
3131
string="Members",
3232
required=True,
3333
domain="[('share', '=', False), ('active', '=', True)]",
34-
track_visibility="onchange",
34+
tracking=True,
3535
relation="project_sprint_user_rel",
3636
)
37-
description = fields.Text(track_visibility="onchange")
37+
description = fields.Text(tracking=True)
3838
project_id = fields.Many2one(
3939
comodel_name="project.project",
4040
string="Project",
41-
track_visibility="onchange",
41+
tracking=True,
4242
)
4343
task_ids = fields.One2many(
4444
comodel_name="project.task",

project_scrum/static/description/index.html

+8-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1516
1617
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718
customize this style sheet.
@@ -274,7 +275,7 @@
274275
margin-left: 2em ;
275276
margin-right: 2em }
276277

277-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
278279
pre.code, code { background-color: #eeeeee }
279280
pre.code .comment, code .comment { color: #5C6576 }
280281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
300301
span.pre {
301302
white-space: pre }
302303

303-
span.problematic {
304+
span.problematic, pre.problematic {
304305
color: red }
305306

306307
span.section-subtitle {
@@ -366,7 +367,7 @@ <h1 class="title">Project Scrum</h1>
366367
!! This file is generated by oca-gen-addon-readme !!
367368
!! changes will be overwritten. !!
368369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369-
!! source digest: sha256:1e5f918a26b23d5518e54987bea92f39913aa9d2f54c771f71a1c6572d5601ba
370+
!! source digest: sha256:9205339e8f7a2d8db0498032ce054de9c0db6a0555bdab29eb354e8393711c9b
370371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371372
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/project/tree/16.0/project_scrum"><img alt="OCA/project" src="https://img.shields.io/badge/github-OCA%2Fproject-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_scrum"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/project&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372373
<p>This addon allow you to manage your project with scrum methodology.</p>
@@ -420,7 +421,9 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
420421
<div class="section" id="maintainers">
421422
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
422423
<p>This module is maintained by the OCA.</p>
423-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
424+
<a class="reference external image-reference" href="https://odoo-community.org">
425+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
426+
</a>
424427
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
425428
mission is to support the collaborative development of Odoo features and
426429
promote its widespread use.</p>

project_scrum/tests/test_project_project.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ def test_sprint_count(self):
5050
def test_action_sprints(self):
5151
action = self.project.action_sprints()
5252
self.assertEqual(action["res_model"], "project.sprint")
53-
self.assertEqual(action["domain"], [("project_id", "=", self.project.id)])
53+
self.assertEqual(
54+
action["domain"],
55+
["|", ("project_id", "=", self.project.id), ("project_id", "=", False)],
56+
)
5457
self.assertEqual(action["context"], {"default_project_id": self.project.id})
5558

5659
def test_action_backlog(self):

0 commit comments

Comments
 (0)