a33eef7556
feat: Test create catalog sale
2026-05-28 16:53:26 -05:00
47c18c760d
feat: add CatalogSale model with abstract base classes for Sale/SaleLine
...
- Introduced SaleAbstractModel and SaleLineAbstractModel as abstract bases
- Added CatalogSale and CatalogSaleLine models inheriting from them
- Created migration 0045 for new models
- Added CatalogSaleView, CatalogSaleSerializer with nested line creation
- Registered new models in admin
- Added catalog_sales router endpoint to URLs
- Removed placeholder api/ package (now redundant)
2026-05-28 16:38:45 -05:00
f97b47081c
refactor: split models into modules, remove template-based views, and clean up code style
...
- Split monolithic models.py into models/ package (customers, products, sales, payments, admin)
- Removed forms.py, all HTML templates, and associated template-based views
- Added api/ package with CatalogSaleView placeholder
- Updated all imports across project to use new model paths
- Removed obsolete tests (form, export, purchase, summary tests)
- Removed template-based URL patterns, kept only API endpoints
- Standardized string quotes (single to double) and reformatted code
2026-05-28 15:25:27 -05:00
75c030b554
fix: execution tests
2026-05-28 13:38:37 -05:00
mono
5442a52ff6
feat(Payment): add CREDIT payment method
2026-03-14 23:45:52 -05:00
7a9034943a
feat(API): change to jwt authentication.
2026-02-14 15:12:32 -05:00
fb4c82a94c
#29 refactor(Tests): extract to mixin class.
2025-12-13 17:35:20 -05:00
fb3124246c
#29 refactor(Tests): extract to mixin class.
2025-12-13 17:34:40 -05:00
f3d3681bc4
#29 fix(Tests): add auth to tests.
2025-12-13 17:10:00 -05:00
64f07a2ce2
#27 fix: reconciliation jar.
2025-11-15 17:50:06 -05:00
e1ff427856
feat(tryton): add comment to tryton sale.
2025-11-08 15:34:45 -05:00
f02f754ae7
feat(tryton): add payment method to tryton sale description.
2025-09-05 20:24:13 -05:00
b33937d4a5
feat(Tryton): add self_pick_up in send sale to tryton.
2025-09-05 19:15:26 -05:00
604bbd3ab9
#17 feat(API): add external id to sales on api.
2025-08-30 15:28:50 -05:00
e17b8f6973
style.
2025-08-30 15:25:33 -05:00
e3f571afc5
#17 feat(API): add external id to customers on api.
2025-08-30 15:24:42 -05:00
4dae669397
#14 fix(Tryton): add address on updated customers from tryton.
2025-08-16 16:36:06 -05:00
937fe06de4
#14 feat(Tryton): add address on update customers from tryton.
2025-08-16 16:09:20 -05:00
69185f2460
fix(Tryton Shop): add shops.
2025-08-16 12:24:05 -05:00
5f40b4098c
feat(Tryton): handle duplicate named products from tryton.
2025-08-16 10:27:17 -05:00
2e4c6592a3
fix test.
2025-08-16 09:55:20 -05:00
4734636b4f
feat (Tryton): get customers from tryton.
2025-08-09 14:12:31 -05:00
59fbc8872a
#9 feat(Tryton): get products salables from tryton only.
2025-07-27 23:34:07 -05:00
d1e137d387
#9 feat(Tryton): untouched products on sync from tryton.
2025-07-27 23:22:58 -05:00
c33c6f630a
#9 feat(Tryton): update products from tryton.
2025-07-27 23:11:34 -05:00
76e525735d
#9 feat(Tryton): create products from tryton.
2025-07-27 22:57:44 -05:00
3d9feeac43
#9 feat(Tryton): add address_external_id to tryton.
2025-07-19 19:09:53 -05:00
81e4c0bc0d
#9 feat(Customer): add address_external_id field.
2025-07-19 19:04:58 -05:00
cf0f6dc4b5
#9 feat(Tryton): enviar_ventas_a_tryton
2025-07-19 19:00:33 -05:00
1d3160ae92
#9 feat(Product): add unit_external_id field.
2025-07-19 18:17:18 -05:00
ba9ef039f4
#9 feat(Product): add external_id field.
2025-07-19 17:32:35 -05:00
46e7181653
#9 feat(Sale): add external_id field.
2025-07-19 17:28:47 -05:00
62d39c97c0
#9 feat(Sale): add external_id field.
2025-07-19 10:57:28 -05:00
c7e1af9c81
fix(CSV): report tryton csv.
2025-04-12 12:06:07 -05:00
8791c5fa2d
fix(Sale): allow decimal on quantity products.
2025-04-06 16:02:44 -05:00
5ecf0f4bf5
feat(Api): export sales for tryton from api.
2025-03-02 23:33:26 -05:00
585d92c64c
fix(ExportSales): add test and fix.
2025-03-02 23:04:19 -05:00
2fcf884cce
#90 feat(api): add payment method to sales.
2025-01-28 09:17:48 -05:00
8bc2d02572
#90 test: minor fix.
2025-01-12 01:18:53 -05:00
c9cfc7f873
#90 feat(ReconcilaitionJar): create api view with pagination.
2025-01-12 00:24:30 -05:00
0caa6fbb56
#88 feat(AdminCode): create model and api view.
2025-01-11 19:08:05 -05:00
432b7dad74
#84 refactor(SaleSummary): rename saleline_set to lines at serializer.
2024-12-31 14:30:20 -05:00
eaf1afdcb4
Merge branch 'main' into streamline_reconciliation_jar_process_#69
2024-12-28 17:07:18 -05:00
5cfefdf91a
#69 feat(ReconciliationJar): link purchases with other payment methods.
2024-12-28 17:01:51 -05:00
8ab7903a0a
#69 test(ReconciliationJar): fix tests.
2024-12-14 21:37:24 -05:00
1b425542b3
#69 feat(ReconciliationJar): send reconciliation jar from frontend
2024-12-14 19:42:59 -05:00
1f2f484e95
#69 test(ReconciliationJar): add failed case.
2024-12-14 09:59:26 -05:00
ef721a6b53
#69 feat(ReconciliationJar): add purchases to list.
2024-12-13 17:21:29 -05:00
f0201a86b2
#69 feat(ReconciliationJar): accept post creation.
2024-12-02 22:52:04 -05:00
bea08da17d
#69 feat(ReconciliationJar): Add total_cash_purchases field.
2024-12-02 22:00:05 -05:00