Skip to content

[18.0][MIG] base_sequence_default: Migration to 18.0 - #3259

Open
BhaveshHeliconia wants to merge 10 commits into
OCA:18.0from
HeliconiaIO:18.0-mig-base_sequence_default
Open

BhaveshHeliconia wants to merge 10 commits into
OCA:18.0from
HeliconiaIO:18.0-mig-base_sequence_default

Conversation

@BhaveshHeliconia

Copy link
Copy Markdown
Contributor

No description provided.

@BhaveshHeliconia BhaveshHeliconia mentioned this pull request Apr 8, 2025
37 of 42 tasks

@peluko00 peluko00 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LTGM!

@BhaveshHeliconia
BhaveshHeliconia force-pushed the 18.0-mig-base_sequence_default branch from cfe96c3 to 232ac9a Compare July 25, 2025 05:34
@BhaveshHeliconia
BhaveshHeliconia force-pushed the 18.0-mig-base_sequence_default branch from 232ac9a to 0a55eab Compare March 11, 2026 07:45
@BhaveshHeliconia
BhaveshHeliconia force-pushed the 18.0-mig-base_sequence_default branch from 0a55eab to 23b7476 Compare July 17, 2026 07:57
@OCA-git-bot OCA-git-bot added series:18.0 mod:base_sequence_default Module base_sequence_default labels Jul 17, 2026
@BhaveshHeliconia

Copy link
Copy Markdown
Contributor Author

@yajo @EmilioPascual @Shide Could you please review this? Thanks!

@yajo yajo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code review.

@EmilioPascual EmilioPascual left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code review

@BhaveshHeliconia
BhaveshHeliconia force-pushed the 18.0-mig-base_sequence_default branch from 23b7476 to d532460 Compare October 22, 2026 12:25
yajo and others added 10 commits December 2, 2026 17:09
This module extends the defaults functionality to allow filling *Character*
type fields on creation with a predefined sequence.

@moduon MT-1506

Co-authored-by: Eduardo de Miguel <1162050+Shide@users.noreply.github.com>
Before this patch, sequence was bumped when loading defaults. That happened even before creating the record. That rendered no-gap sequences useless.

Now, sequences are executed only on record creation, when the user didn't give a default value to the sequenced fields.

To support the use case when you want a sequence on required fields, you can set a value of `-` on those fields on creation. Then, the sequence will also kick in.

@moduon MT-2715
Fixes OCA#2769

@moduon MT-4324

Co-authored-by: Gelo Joga <147538094+Gelojr@users.noreply.github.com>
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-16.0/server-tools-16.0-base_sequence_default
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_sequence_default/it/
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-16.0/server-tools-16.0-base_sequence_default
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_sequence_default/es/
@BhaveshHeliconia
BhaveshHeliconia force-pushed the 18.0-mig-base_sequence_default branch from d532460 to 918826c Compare December 2, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants