Commit graph

75 commits

Author SHA1 Message Date
c9497adad2 updated client create pydantic schema 2025-12-26 14:40:48 +01:00
fde2b4615e Align modifier_client with creer_client 2025-12-26 09:38:48 +01:00
557f43bd18 creer_client opérationelle 2025-12-26 09:35:25 +01:00
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
c840cd5035 Added handling for date livraison and date expedition 2025-12-20 13:44:30 +01:00
5ccf470167 Added better handling for "reference" row data 2025-12-20 12:55:05 +01:00
42048d11ee creer et modifier devis mis à jour 2025-12-19 18:55:15 +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
b799efef75 refactor(sage_connector): remove redundant section comments and clean up code 2025-12-17 11:27:19 +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
b619915ac1 feat: Add caching for sales quotes, orders, invoices, and suppliers with associated refresh logic and concurrency locks. 2025-12-08 18:08:01 +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
fc7216fe2f Modified "modifier_commande" method to delete lines correctly 2025-12-08 08:42:03 +03:00
Fanilo-Nantenaina
cc2b86d533 Made update command 2025-12-08 00:00:54 +03:00
Fanilo-Nantenaina
c4ddf03ae5 Updated devis creation logics to not automatically be on status 0 2025-12-06 18:13:04 +03:00
Fanilo-Nantenaina
9d569a8e03 Retored missing article extraction method 2025-12-06 17:24:48 +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
6aebf00653 Trying to resolve error on creating client 2 2025-12-06 08:21:29 +03:00
Fanilo-Nantenaina
015943bdfa Trying to resolve error on creating client 2025-12-06 08:15:37 +03:00
Fanilo-Nantenaina
9d4f620bdc Truncating too long fields 2025-12-06 08:01:50 +03:00
Fanilo-Nantenaina
53517136f2 fix(sage_connector): improve client creation with better error handling 2025-12-05 22:41:33 +03:00
Fanilo-Nantenaina
c48a3f033a fix(sage_connector): enforce mandatory casting after Create() in client creation 2025-12-05 22:37:51 +03:00
Fanilo-Nantenaina
49fdc8425b refactor(sage_connector): improve client creation with better error handling and logging 2025-12-05 20:39:56 +03:00
Fanilo-Nantenaina
914ea61243 refactored create client method to align IBOClientFactory3's requirement 2025-12-05 20:29:21 +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
cc56821c70 feat(sage_connector): enhance document reading with client and article details 2025-12-05 14:44:36 +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
e6c2ab6670 refactor: improve client association and validation by safeguarding the client object and adding re-association logic. 2025-11-28 12:05:06 +03:00
Fanilo-Nantenaina
a4dd2c40ba fix: Improve client association logic by using SetClient with fallback to SetDefaultClient and enhanced verification. 2025-11-28 11:56:14 +03:00
Fanilo-Nantenaina
b06720eace fix: Explicitly set and verify CT_Num after associating a client to a document. 2025-11-28 11:53:18 +03:00