Commit graph

46 commits

Author SHA1 Message Date
57c05082c0 functionnal cree_client 2025-12-24 21:00:49 +01:00
7b451223ef Deleted PDF logics 2025-12-24 09:19:16 +01:00
0f9b3dfa0d dates and reference correctly done. Now, testing PDF generation 2025-12-22 14:09:06 +01:00
5257be0680 removed "date_expedition" handling 2025-12-20 15:23:50 +01:00
f0c84c9cb6 edited pydantic schemas to permit date_livraison and date_expedition gathering 2025-12-20 14:06:04 +01:00
5ccf470167 Added better handling for "reference" row data 2025-12-20 12:55:05 +01:00
6a4f7aaf2c Updated transformation workflow 2025-12-19 18:45:54 +01:00
eba4011dd4 Forgot all modifications that were done ! 2025-12-18 13:47:09 +01:00
Fanilo-Nantenaina
a729b812eb feat(stock): add lot number and stock min/max validation to movement line 2025-12-17 17:08:37 +03:00
Fanilo-Nantenaina
99eda1c127 Added "familles" routes, and corrected articles' creation ; removed cache and used SQL Server directly for massive reading 2025-12-17 11:15:25 +03:00
Fanilo-Nantenaina
bf986bef5a style: Improve code readability and formatting in main.py by adding empty lines and trailing commas. 2025-12-08 17:59:18 +03:00
Fanilo-Nantenaina
51f49298c2 feat: add PDF generation endpoint and optimize list endpoints 2025-12-08 17:39:51 +03:00
Fanilo-Nantenaina
ec5a0f0089 feat(sage): add invoice creation and update endpoints 2025-12-08 09:51:52 +03:00
Fanilo-Nantenaina
5a5b6307b9 Created endpoints for "avoirs" 2025-12-08 09:30:57 +03:00
Fanilo-Nantenaina
5c374892d0 Added create, update and transformation workflow for livraisons 2025-12-08 09:00:01 +03:00
Fanilo-Nantenaina
cc2b86d533 Made update command 2025-12-08 00:00:54 +03:00
Fanilo-Nantenaina
de1771749d Update devis, Create and Update Command 2025-12-06 17:02:30 +03:00
Fanilo-Nantenaina
876e050bff Update fournisseur 2025-12-06 15:17:06 +03:00
Fanilo-Nantenaina
c66280b305 Creating new fournisseur 2025-12-06 15:03:13 +03:00
Fanilo-Nantenaina
3aadc67abf Made GET fournisseurs 2025-12-06 14:53:16 +03:00
Fanilo-Nantenaina
7ca64e2ea6 Push simple 2025-12-06 12:57:19 +03:00
Fanilo-Nantenaina
be7bc287c0 Updates for PUT on client 2025-12-06 10:16:44 +03:00
Fanilo-Nantenaina
3013f6589c Success : create client made with success 2025-12-06 09:45:35 +03:00
Fanilo-Nantenaina
e8558e207b Modified create client context 2025-12-05 19:37:48 +03:00
Fanilo-Nantenaina
2e96cec20d Added create client logics 2025-12-05 19:12:45 +03:00
Fanilo-Nantenaina
ae5fa9e0be feat: Add API endpoints and Sage connector methods for managing prospects, suppliers, credit notes, and delivery notes. 2025-12-04 13:55:38 +03:00
Fanilo-Nantenaina
53ecccd712 Modified main.py to accept JSON body 2025-12-03 14:47:03 +03:00
Fanilo-Nantenaina
cec8389302 Document transformation process back to normal
Further diagnotic with new routes
2025-11-28 22:50:06 +03:00
Fanilo-Nantenaina
de0053b98b Diagnostic transformation selective error 2025-11-28 22:30:06 +03:00
Fanilo-Nantenaina
8b676f7195 feat: Enhance mandatory invoice field population by adding fallback logic for payment, journal, and numbering, and including tax type/code. 2025-11-28 11:33:19 +03:00
Fanilo-Nantenaina
0763a56b06 Testing BC to FA 2025-11-28 11:11:23 +03:00
Fanilo-Nantenaina
9b17149b07 fix: Introduce Sage document type constants and update document transformation and listing endpoints to use correct Sage types. 2025-11-28 08:28:51 +03:00
Fanilo-Nantenaina
9d0c26b5d8 Diag + Check 2025-11-28 06:48:23 +03:00
Fanilo-Nantenaina
92c79f1362 Diagnostic document transformation error 2025-11-28 06:30:32 +03:00
Fanilo-Nantenaina
3505ecfd2b Diagnostic devis 2025-11-28 06:23:19 +03:00
Fanilo-Nantenaina
c522aa5a64 Resolving error on getting all command list and creating a "command" 2025-11-28 06:14:19 +03:00
Fanilo-Nantenaina
8ce32fe8df Refactorisation for better error log 2025-11-28 06:00:34 +03:00
Fanilo-Nantenaina
6e8aa332ce Document transformation logics updated 2025-11-28 05:44:56 +03:00
Fanilo-Nantenaina
d9fe626cbd Deleted duplicate logics 2025-11-28 05:41:42 +03:00
Fanilo-Nantenaina
62077b5862 Revert "feat: Refactor devis status update to sage_connector with an updated API route and enforce default status 0 for new devis."
This reverts commit c4d2185c22.
2025-11-28 05:20:43 +03:00
Fanilo-Nantenaina
c4d2185c22 feat: Refactor devis status update to sage_connector with an updated API route and enforce default status 0 for new devis. 2025-11-28 05:03:48 +03:00
Fanilo-Nantenaina
efa4edcae0 feat: add optional inclusion of line items to the devis list endpoint. 2025-11-27 17:48:01 +03:00
Fanilo-Nantenaina
4da650e361 feat: Add endpoint to update document's "Dernière relance" field. 2025-11-27 17:27:21 +03:00
Fanilo-Nantenaina
a1f7026fd9 fix: Use win32com.client.CastTo for COM objects and enhance devis listing error handling and client data retrieval. 2025-11-27 13:29:49 +03:00
Fanilo-Nantenaina
7ee3751ee2 feat: add endpoint to list devis with filters and update devis status endpoint signature and logic. 2025-11-27 12:44:39 +03:00
Fanilo-Nantenaina
e98dce03b8 Initial backend FastAPI WS 2025-11-26 11:08:57 +03:00