-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conventionnement de l'outre-mer #1419
Conversation
5d37276
to
6d15236
Compare
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
@@ -193,6 +194,10 @@ def generate_convention_doc(convention: Convention, save_data=False) -> DocxTemp | |||
context.update(adresse) | |||
|
|||
doc.render(context, _get_jinja_env()) | |||
if convention.is_outre_mer: |
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.
@syldb : je suis prenaur d'une démo ici, je ne sais pas bien ce qui ce passe :)
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.
Ca vient de la doc de python docx Removing a header
An unwanted header can be removed by assigning True to its .is_linked_to_previous attribute
J'ai simplifié pour accéder le header principal directement, ça retire une ligne de code
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.
Je peux te faire une démo de la génération, ça nécessite de créer en local une opération située en outre-mer
|
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.
Airtable: https://airtable.com/appqEzValO6eQoHbM/tblNIOUJttSKoH866/viwDAEFTTtrDtmrWs/recvzpFIIPrQK0ae4?blocks=hide