-
-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[15.0][ADD] project_fields_sequence #1096
Conversation
3f8b901
to
196e211
Compare
@sbidoul Hey! Do you know how to fix the runboat build? I've tried to mark |
I don't know. It does not look like a runboat issue. It's either an Odoo bug, or an incompatibility with a module of this repo? |
Yes, |
Ah, yes. IMO modules that add constraints on standard models should enable them by configuration, otherwise we reach dead ends like this one. |
I asked @Shide declared the rebel module groups, so tests go ✅ now. The only part that's missing is runboat. I'm thinking that maybe runboat should be able to boot always, no matter if the build failed. After all, if installation fails because of these kind of problems, one could always go to the runboat and create an empty database, or uninstall the rebel module by hand. Does that make sense to you @sbidoul? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review.
592d343
to
592e27f
Compare
592e27f
to
57fee3d
Compare
Superseded by OCA/server-tools#2598 |
Add a new module to be able to fill project fields based on sequences when creating a new one.
Define a sequence starting with
project.field.
and concatenate a (technical) field name to it.Eg:
project.field.name
,project.field.alias_name
Field names must be Character types.
This will return the next value of the sequence when the project is created (and
default_get
is called)MT-1506 @moduon @rafaelbn @yajo @anddago78 please review if you want :)