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

Export Occtax : champs additionnels vides #2837

Closed
TheoLechemia opened this issue Dec 20, 2023 · 1 comment
Closed

Export Occtax : champs additionnels vides #2837

TheoLechemia opened this issue Dec 20, 2023 · 1 comment

Comments

@TheoLechemia
Copy link
Member

Version
2.13

Description du bug
La colonne additional_data des exports d'occtax est vide si un des champs additionnel du relevé / occurrence ou dénombrement est vide.
C'est cette ligne qui pose pb :
(occ.additional_fields || rel.additional_fields) || ccc.additional_fields AS additional_data
-> NULL || {"test": 1} || {"test2": 2} => NULL. Elle devrait renvoyer {"test": 1, "test2": 2}
Il faut vérifier si chaque champs n'est pas NULL et le remplacer par un json vide si c'est le cas

@camillemonchicourt
Copy link
Member

Corrigé dans la 2.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants