Nicolas Roche
3b892e1d1e
eo_facture: move cancelation code into models ( #61117 )
2022-02-01 13:49:56 +01:00
Benjamin Dauvergne
08159a39be
fix pylint-django warnings
2022-01-20 19:51:41 +01:00
Nicolas Roche
077ebf0ecc
eo_facture: manage invoice cancelation ( #36633 )
2021-12-16 10:55:05 +01:00
Benjamin Dauvergne
b4475d710f
misc: add and apply pre-commit hooks ( #58764 )
2021-11-20 22:13:47 +01:00
Benjamin Dauvergne
f62eb0f56b
désactiver la conversion facturx pour l'impression ( #46279 )
...
Pour debug il est toujours possible d'ajouter ?facturx à l'URL pour
obtenir un PDF « FacturX ».
2020-09-03 10:23:11 +02:00
Benjamin Dauvergne
eb534d61fc
ajoute la TVA au template Factur-X ( #45033 )
2020-07-10 22:44:39 +02:00
Benjamin Dauvergne
8217b77f90
ajoute une classification des contrats par tags ( #29794 )
2020-07-07 16:51:58 +02:00
Benjamin Dauvergne
5b5e138831
reformat with black
...
black --target-version py35 --skip-string-normalization --line-length 110 .
2020-06-29 16:01:35 +02:00
Frédéric Péters
b61a297bed
misc: add URL field to contract model ( #44312 )
2020-06-23 13:28:20 +02:00
Benjamin Dauvergne
ce366ce860
chorus: n'ajouter le retour aux logs qu'en cas de réussite
...
En cas d'erreur Chorus nous renvoie notre requête, ce qui n'est pas très
intéressant.
2020-02-17 18:57:59 +01:00
Benjamin Dauvergne
c837ac6a7a
chorus: améliore la gestion des retours d'envoi
2020-02-11 15:38:36 +01:00
Benjamin Dauvergne
b245c63898
eo_facture: do not transform all invoices to Factur-X
...
PDF/A make heavy files (always more than 1Mb) as they contain all font
files.
2020-02-04 10:48:48 +01:00
Benjamin Dauvergne
5b308c49b5
add ChorusPro support ( #20562 )
...
* ChorusPro directory is imported
* client can be linked to ChorusPro structures
* when a client is linked to a ChorusPro structure, a button is shown to
send the invoice to Chorus
Settings:
CHORUS_PLATFORM = 'qualif' / 'prod'
CHORUS_PISTE_CLIENT_ID = ''
CHORUS_PISTE_CLIENT_SECRET = ''
CHORUS_TECH_USER_LOGIN = ''
CHORUS_TECH_USER_PASSWORD = ''
2020-02-03 21:30:18 +01:00
Benjamin Dauvergne
4cbf6bdb13
add factur-x support ( #20562 )
...
The following configuration must be added to settings :
VENDOR_NAME = 'Entr\'ouvert'
VENDOR_SIRET = '44317013900036'
VENDOR_TVAI = 'FR09491081899'
2020-02-03 19:01:56 +01:00
Benjamin Dauvergne
ef922d091f
target Django >=2,<2.3 ( #20562 )
...
We need it for support of autocompletion in admin pages.
* rename django.core.urlresolvers to django.urls
* update migrations
* fix warning about PercentagePerYearField.from_db_value() context arg
* fix warning about deprecated {% load staticfiles %}
This commit also remove support for py2.
* tox.ini: only run with py3
* remove all u'' strings
* remove imports from __future__
2020-02-03 19:01:56 +01:00
Benjamin Dauvergne
e49e51a9e5
migrate to python3 ( #38507 )
...
* add basic tests and big anonymized fixture
* add missing copyright notices
2019-12-26 12:35:55 +01:00
Benjamin Dauvergne
2c85151c22
reformat with black ( #38507 )
...
black --target-version py35 --skip-string-normalization --line-length 110
2019-12-26 08:46:40 +01:00
Benjamin Dauvergne
000df81356
remove last reference to xhtml2pdf ( #36801 )
2019-10-09 13:56:18 +02:00
Benjamin Dauvergne
8631cf69d4
eo_facture: use .url of contract's image ( #35238 )
2019-08-06 11:38:07 +02:00
Frédéric Péters
f73699469e
references: ignore clients with empty picture ( #33468 )
2019-05-28 10:39:22 +02:00
Frédéric Péters
7ab9cc9b8c
use render() instead of render_to_response(), to get CSRF token ( #31029 )
2019-03-01 14:09:53 +01:00
Frédéric Péters
cfbaab71cd
switch PDF creation to weasyprint ( #29877 )
2019-02-28 17:45:09 +01:00
Frédéric Péters
435c7e94d9
fix (unused) HTML invoice view
2019-02-17 18:18:50 +01:00
Frédéric Péters
153b4a2955
don't force download of invoice PDFs
2019-02-16 18:41:28 +01:00
Frédéric Péters
21629b4071
adapt facture views to django 1.11
2019-02-16 18:17:53 +01:00
Frédéric Péters
1097b646e5
add API to get references ( fixes #29793 )
2019-02-13 21:35:10 +01:00
Frédéric Péters
9ea42ad3a8
factures: fix fetching of resources for PDF rendering ( #6448 )
2015-03-09 12:53:31 +01:00
Frédéric Péters
f6bbe2d042
fix HttpResponse content type parameter name
2015-02-04 19:08:14 +01:00
Benjamin Dauvergne
86ef156d0b
Permet la résolution des resources pour la génération de PDF en développement
2014-09-05 15:15:02 +02:00
Benjamin Dauvergne
fae8717355
pisa has become xhtml2pdf, rename import
2011-11-21 14:16:14 +01:00
Benjamin Dauvergne
a9f2b90b20
use STATIC_URL and STATIC_ROOT instead of MEDIA_URL
2011-08-27 10:38:08 +02:00
Benjamin Dauvergne
284ebf2849
Do not set the Content-Disposition field on the invoice HTML view
2011-02-06 12:01:19 +01:00
Benjamin Dauvergne
285948c790
Remove debugging statements
2011-02-06 11:36:31 +01:00
Benjamin Dauvergne
41736f4705
Add setting to log printed invoices
2011-02-05 03:43:16 +01:00
Benjamin Dauvergne
ec0ea547e8
Commit finished invoice template
2011-02-05 02:49:17 +01:00
Benjamin Dauvergne
b506dde344
Second commit
2011-02-03 16:49:28 +01:00
Benjamin Dauvergne
3c10e4301b
First commit
2011-02-01 23:58:43 +01:00