Skip to content
Extraits de code Groupes Projets
Valider 257f5e6a rédigé par Juliana's avatar Juliana
Parcourir les fichiers

[FIX]Error on path JSON expense

parent 797e2e71
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/> />
<button <button
name="get_content_details_url" name="get_content_details_url"
string="Voir le fichier dans Alfresco" string="Voir le justificatif"
type="object" type="object"
attrs="{'invisible': [('proof_file', '=', False)]}" attrs="{'invisible': [('proof_file', '=', False)]}"
/> />
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
/> />
<button <button
name="get_content_details_url" name="get_content_details_url"
string="Voir le fichier dans Alfresco" string="Voir le justificatif"
type="object" type="object"
attrs="{'invisible': [('proof_file', '=', False)]}" attrs="{'invisible': [('proof_file', '=', False)]}"
/> />
......
...@@ -237,7 +237,7 @@ class AdefpatProjectJustifZip(models.TransientModel): ...@@ -237,7 +237,7 @@ class AdefpatProjectJustifZip(models.TransientModel):
"description": user.name, "description": user.name,
"search": { "search": {
"language": "fts-alfresco", "language": "fts-alfresco",
"query": "PATH:'/app:company_home/st:sites/cm:odoo/cm:documentLibrary/cm:Justificatifs//* AND =adefpat:justificatifUtilisateurs:'"+ user.login +"' AND (+adefpat:justificatifDate:['" + str( "query": "PATH:'/app:company_home/st:sites/cm:odoo/cm:documentLibrary/cm:Justificatifs//*' AND =adefpat:justificatifUtilisateurs:'"+ user.login +"' AND (+adefpat:justificatifDate:['" + str(
self.period_start) + "' TO '" + str( self.period_start) + "' TO '" + str(
self.period_end) + "'])", self.period_end) + "'])",
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter