Skip to content
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

added Documento ct #5

Merged
merged 2 commits into from
Jul 31, 2024
Merged

added Documento ct #5

merged 2 commits into from
Jul 31, 2024

Conversation

daniele-andreotti
Copy link
Contributor

Aggiunto il ct Documento.

I campi "Vai al documento" e "Formati alternativi" devono essere due campi file o si intende che alla creazione del documento vengono generate le subfolder per contenere quei file?

),
)

# formati_alternativi = BlocksField(
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fatto.

)

uo_correlata = RelationList(
title=_("uo_correlata_documento_label", default="Responsabile del documento"),
Copy link
Member

Choose a reason for hiding this comment

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

Metti una descrizione per dire che si fa riferimento ad una UO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fatto.

@@ -24,6 +24,11 @@ class FieldsetsMismatchError(Exception):
"utenti",
"ulteriori_informazioni",
],
"Documento": [
Copy link
Member

Choose a reason for hiding this comment

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

Non so se i file (principale e alternativi) li metterei in un fieldest a parte, subito dopo default

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Li ho messi nel fieldset "Formati".

"title",
"descrizione_estesa",
"uo_correlata",
# "description", is required from schema_tweaks.py but it doesn't apply in test
Copy link
Member

Choose a reason for hiding this comment

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

non è obbligatorio anche il file principale? Il campo "vai al documento" secondo me è il file principale, chiamato "file"

Copy link
Member

Choose a reason for hiding this comment

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

Ah, il campo file, marcalo come primario (guarda come è fatto per il ct File)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fatto.

],
)

def test_documento_fields_a_chi_si_rivolge_fieldset(self):
Copy link
Member

Choose a reason for hiding this comment

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

Ti manca il test al secondo fielsdet

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fatto.

@cekk cekk merged commit d79f342 into main Jul 31, 2024
8 checks passed
@cekk cekk deleted the us_49302_Documento branch July 31, 2024 07:49
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.

2 participants