Skip to content

Conversation

@JasminSForgeFlow
Copy link
Contributor

Standard Migration

  • Refactor test for creation of temporary model

@ForgeFlow

Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional ok. 👍 Tested with another module that depends on this one.

@AaronHForgeFlow
Copy link
Contributor

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):
2025-12-22 08:18:00,880 308 WARNING odoo odoo.addons.base.models.ir_module: docutils' system message present: <system_message level="2" line="31" source="" type="WARNING">Cannot analyze code. Pygments package not found.<literal_block xml:space="preserve">.. code-block:: python

class MyModel(models.Model):
_name = 'my.model'
_inherit = 'base.kanban.abstract'
</literal_block></system_message>
2025-12-22 08:18:00,880 308 WARNING odoo odoo.addons.base.models.ir_module: docutils' system message present: <system_message level="2" line="44" source="" type="WARNING">Cannot analyze code. Pygments package not found.<literal_block xml:space="preserve">.. code-block:: xml

My Model - Kanban View my.model primary `

Ted Salmon and others added 28 commits December 22, 2025 09:21
* 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
…stract_view_kanban; user_id instead of kanban_user_id
* 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
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-12.0/server-tools-12.0-base_kanban_stage
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_kanban_stage/
(Two fields (kanban_color, color) of project.project() have the same label: Color Index.)
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-12.0/server-tools-12.0-base_kanban_stage
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_kanban_stage/
Signed-off-by: Luis Felipe Mileo <mileo@kmee.com.br>
Signed-off-by: Luis Felipe Mileo <mileo@kmee.com.br>
oca-travis and others added 18 commits December 22, 2025 09:21
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/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
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/
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/
@JasminSForgeFlow JasminSForgeFlow force-pushed the 19.0-mig-base_kanban_stage branch from 11de8d0 to 5bf416a Compare December 22, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.