Commit Graph

34 Commits

Author SHA1 Message Date
Nicolas Roche 2c0a27bd57 eo_factures: add action to exports invoices (#61786) 2022-02-18 15:27:32 +01:00
Nicolas Roche 57c03d29aa eo_facture: postfix invoice cancelation filenames (#61117) 2022-02-01 13:49:56 +01:00
Nicolas Roche 29a91b6638 eo_facture: display original on invoice cancelation PDF (#36633) 2022-02-01 13:49:56 +01:00
Nicolas Roche 0f95d6016d eo_facture: forbid to cancel twice an invoice (#61117) 2022-02-01 13:49:56 +01:00
Nicolas Roche 3b892e1d1e eo_facture: move cancelation code into models (#61117) 2022-02-01 13:49:56 +01:00
Nicolas Roche a0b3a7ffe9 tests: add test on cancelation invoice (#36633) 2022-02-01 00:31:35 +01:00
Benjamin Dauvergne 50daa116ae tests: simplify database settings 2022-01-20 19:56:48 +01:00
Benjamin Dauvergne 08159a39be fix pylint-django warnings 2022-01-20 19:51:41 +01:00
Benjamin Dauvergne a14a7b1e7a tests: do not load fixture if keepdb is used and an user exists 2022-01-20 19:26:59 +01:00
Nicolas Roche 077ebf0ecc eo_facture: manage invoice cancelation (#36633) 2021-12-16 10:55:05 +01:00
Benjamin Dauvergne 6da1978bea misc: produce and accepts URLs with facture's code (#21075) 2021-11-25 15:51:47 +01:00
Benjamin Dauvergne ea13b6f87f Jenkinsfile: use pgvirtualenv 2021-11-25 11:22:37 +01:00
Benjamin Dauvergne 88ea8f6c21 tests: refactor conftest.py 2021-11-20 23:55:33 +01:00
Benjamin Dauvergne 27d45e5b1d pylint: fix all warnings (#58764) 2021-11-20 22:17:57 +01:00
Benjamin Dauvergne b4475d710f misc: add and apply pre-commit hooks (#58764) 2021-11-20 22:13:47 +01:00
Benjamin Dauvergne 70f785ae62 tests: rewrite scoped JSON fixture (#54008)
We override django_db_setup as a package scoped fixture to share the
loading of the big JSON fixture between tests.
2021-05-18 10:50:51 +02:00
Nicolas Roche 44543d1e99 references: improve references as FODT export (#48895) 2021-02-09 10:11:02 +01:00
Emmanuel Cazenave 6bfffa0cc5 jenkins: make the build more standard (#49900) 2021-01-16 09:35:38 +01: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 330b86491d tests: fix test on FactureForm 2020-07-07 16:51:19 +02:00
Nicolas Roche 78dab72f96 assert new invoice is related to a client or a contract (#44733) 2020-07-02 15:52:11 +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
Christophe Siraut 934f6a6145 eo_facture: add action export-as-odt (#38696) 2020-06-26 12:13:42 +02:00
Benjamin Dauvergne bed17b3973 eo_facture: mettre à jour l'échéance quand on met à jour la date d'émission (#43467) 2020-06-26 11:53:14 +02:00
Benjamin Dauvergne 0fdf874e39 chorus: on JSON decode error, log resume of response (#43270) 2020-05-26 10:56:33 +02:00
Benjamin Dauvergne 4af4c0e00b eo_facture: ré-initialiser emission quand une facture n'est plus proforma (#42442)
Empêche aussi de défaire le statut proforma ou de changer emission quand
une facture n'est plus proforma.
2020-05-04 15:01:25 +02:00
Benjamin Dauvergne 7e0b768087 facturx: target FacturX level "basicwl" (#41781) 2020-04-16 15:46:48 +02: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 91ca4db3c0 ajout d'un export ODS des factures (#37054) 2020-01-30 18:04:14 +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
Frédéric Péters 7d75a41668 add empty test to run migrations 2019-02-17 11:10:45 +01:00