[19.0][MIG] base_kanban_stage - #3473
Conversation
|
Error in the tests are not really errors, it is something in the readme, a check that should not be failing IMHO: `Error: Errors detected in log. errors that caused failure (2): class MyModel(models.Model): |
11de8d0 to
5bf416a
Compare
|
@JasminSForgeFlow can you check failed CIs? |
* Add Kanban-compatible stage model base.kanban.stage * Add views, menu items, actions, and access controls needed to manage base.kanban.stage records * Add abstract model base.kanban.abstract that other models can inherit from to gain Kanban stage functionality * Add base Kanban view base_kanban_abstract_view_kanban, which can be customized as needed for use with models that inherit from base.kanban.abstract * Add model base.kanban.abstract.tester, which is needed for base.kanban.abstract unit tests
* Rename manifest * Change openerp references to odoo * Bump version
* Update depends to `base` * Update priority selections to match Odoo guidelines * Update comment block to triple double quotes * Update `kanban_user_id` to `user_id` in code and view * Update README to incorporate use of mode in example view
* Add group_expand attr to abstract kanban model, allowing for empty columns * Fix `_read_group_stage_ids` for new API
5bf416a to
5f0f0fb
Compare
its good now |
| _group_by_full = { | ||
| "stage_id": lambda s, *a, **k: s._read_group_stage_ids(*a, **k), | ||
| } |
There was a problem hiding this comment.
| _group_by_full = { | |
| "stage_id": lambda s, *a, **k: s._read_group_stage_ids(*a, **k), | |
| } |
_group_by_full was deprecated in favor of declaring group_expand= directly on the field. This model already has group_expand="_read_group_stage_ids" on stage_id, so the dict is now redundant and can be safely removed.
| <a | ||
| role="button" | ||
| class="dropdown-toggle o-no-caret btn" | ||
| data-toggle="dropdown" |
There was a problem hiding this comment.
| data-toggle="dropdown" | |
| data-bs-toggle="dropdown" |
| t-att-alt="record.user_id.value" | ||
| width="24" | ||
| height="24" | ||
| class="oe_kanban_avatar float-right" |
There was a problem hiding this comment.
| class="oe_kanban_avatar float-right" | |
| class="oe_kanban_avatar float-end" |
|
And could you please squash the administrative and bot commits? |
5f0f0fb to
f3eb608
Compare
|
@BhaveshHeliconia, changes have been made; please check it. Thanks. |
BhaveshHeliconia
left a comment
There was a problem hiding this comment.
@JasminSForgeFlow you should only merge translation commits coming from the same author, not all the translations commits together.
https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate
…stract_view_kanban; user_id instead of kanban_user_id
…ide. See OCA#982 for further info
* Add default stage_id logic that returns lowest sequence stage associated with inheriting model and update unit tests accordingly * Improve _read_group_stage_ids unit test * Implement latest abstract model testing strategy
(Two fields (kanban_color, color) of project.project() have the same label: Color Index.)
Signed-off-by: Luis Felipe Mileo <mileo@kmee.com.br>
Signed-off-by: Luis Felipe Mileo <mileo@kmee.com.br>
Currently translated at 16.6% (10 of 60 strings) Translation: server-tools-14.0/server-tools-14.0-base_kanban_stage Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-base_kanban_stage/it/
Currently translated at 100.0% (60 of 60 strings) Translation: server-tools-14.0/server-tools-14.0-base_kanban_stage Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-base_kanban_stage/es_AR/
Currently translated at 16.6% (10 of 60 strings) Translation: server-tools-15.0/server-tools-15.0-base_kanban_stage Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_kanban_stage/it/
Currently translated at 16.6% (10 of 60 strings) Translation: server-tools-15.0/server-tools-15.0-base_kanban_stage Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_kanban_stage/it/
Currently translated at 100.0% (60 of 60 strings) Translation: server-tools-15.0/server-tools-15.0-base_kanban_stage Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_kanban_stage/es/
f3eb608 to
797f729
Compare
Done |
|
This PR has the |
Standard Migration
@ForgeFlow