Commit Graph

991 Commits

Author SHA1 Message Date
37920aa303 se arreglo los furmularios de partes 2026-03-19 12:49:16 -05:00
42c12b4e44 Merge pull request 'feature/saldos_temporales_nueva_tabla' (#230) from feature/saldos_temporales_nueva_tabla into development
Reviewed-on: ADUANASOFT/anexo76#230
2026-03-19 16:21:18 +00:00
60164605eb Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/saldos_temporales_nueva_tabla 2026-03-19 10:43:01 -05:00
88dda834cb Refactorizacion de la tabla balances_movement para la generacion de reportes CSV de saldos emporales 2026-03-19 10:41:27 -05:00
e570fd5b2e Merge pull request 'feature/csv-pruebas' (#229) from feature/csv-pruebas into development
Reviewed-on: ADUANASOFT/anexo76#229
2026-03-18 22:13:00 +00:00
c3436b1abc Merge pull request 'feature/migrations' (#228) from feature/migrations into development
Reviewed-on: ADUANASOFT/anexo76#228
2026-03-18 22:04:19 +00:00
3f16378ed0 feature/fix-invoice-status 2026-03-18 15:49:47 -06:00
03f2213729 Update seed_initial_data.py to correct imports and adjust revision identifiers. Replaced sectors seed import with carta_porte_codes seed and updated down_revision and depends_on to reflect the latest migration state. 2026-03-18 16:43:19 -05:00
55aa10579f Refactor main.py to streamline imports and enhance FastAPI setup. Introduced UserContextMiddleware for audit logging and added a new register.py file for audit log listener registration, consolidating core and reference data models. 2026-03-18 16:40:03 -05:00
6e5c904e6c Implement Carta Porte Codes module with CSV data seeding and API routes. Updated router to include new routes and adjusted tags for clarity. Added DTO, model, and seed functionality for Carta Porte data management. 2026-03-18 16:39:55 -05:00
4b4bb9e8a7 feature/csv-pruebas 2026-03-18 15:33:40 -06:00
684bc25388 Merge pull request 'feature/partidas-impo-bug-fix' (#227) from feature/partidas-impo-bug-fix into development
Reviewed-on: ADUANASOFT/anexo76#227
2026-03-18 21:07:44 +00:00
cf080834ba Merge pull request 'feature/tablas_nuevas_partes_2' (#226) from feature/tablas_nuevas_partes_2 into development
Reviewed-on: ADUANASOFT/anexo76#226
2026-03-18 21:07:19 +00:00
97bc407531 feature/partidas-impo-bug-fix 2026-03-18 14:44:45 -06:00
4df61404de Se quito la relacion de las tablas de aphis de partes, se mejoro un poquito el frontend, se homogelizaron el disenio de los catalogos y mejoras visuales 2026-03-18 15:41:54 -05:00
5e0edfa489 Merge pull request 'feature/catalogo-equivalencias' (#225) from feature/catalogo-equivalencias into development
Reviewed-on: ADUANASOFT/anexo76#225
2026-03-18 20:34:35 +00:00
c96685116b merge/development 2026-03-18 13:33:18 -06:00
0a68454593 6feature/fix-en-base-a-scaii 2026-03-18 13:22:45 -06:00
bd18b5d5e0 Merge pull request 'feature/catalog-importation' (#223) from feature/catalog-importation into development
Reviewed-on: ADUANASOFT/anexo76#223
2026-03-18 18:40:45 +00:00
cc8a3582ba Merge branch 'development' into feature/catalog-importation 2026-03-18 13:40:33 -05:00
6741a85abc Se habia perdido el boton de extenioes pero ya lo encontre 2026-03-18 12:39:16 -05:00
fc3c636ede Merge pull request 'feature/tablas_nuevas_partes' (#222) from feature/tablas_nuevas_partes into development
Reviewed-on: ADUANASOFT/anexo76#222
2026-03-18 17:04:10 +00:00
b0cf46104b Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/tablas_nuevas_partes 2026-03-18 11:03:26 -05:00
546b1ea56f Nuevo formulario de extension para partes SCAI con nuevas tablas de aphis con catalogos fijos nuevos 2026-03-18 10:50:36 -05:00
8b9537b5a9 feature/catalogo-equivalencias 2026-03-18 09:40:52 -06:00
b44b8e77ad Merge pull request 'feature/catalogo-conversiones' (#221) from feature/catalogo-conversiones into development
Reviewed-on: ADUANASOFT/anexo76#221
2026-03-18 14:59:43 +00:00
d37d6ef699 feature/catalog-importation 2026-03-18 08:28:20 -06:00
1d7ff722ea Merge pull request 'feature/balance_by_item' (#220) from feature/balance_by_item into development
Reviewed-on: ADUANASOFT/anexo76#220
2026-03-18 14:25:27 +00:00
3e6cc07003 Merge branch 'feature/catalogo-conversiones' into feature/catalog-importation 2026-03-18 07:33:12 -06:00
431f484d80 feature/catalogo-conversiones 2026-03-18 07:29:27 -06:00
420901dd4e Add proportional quantity calculation and caching for line items in discharge ledger processing
- Introduced `_proportional_qty` function to calculate prorated quantities based on consumed amounts.
- Implemented caching for line items and import invoice numbers to optimize database queries during discharge ledger registration.
- Enhanced `register_discharge_ledger` function to utilize cached data for improved performance and reduced N+1 query issues.
- Updated discharge detail creation to include denormalized fields for reporting, such as net and gross weights, and customs information.
2026-03-18 08:24:46 -05:00
2a861e480c Enhance invoice and item processing with balance tracking features
- Added `company_id` to `ClientProviderAddress` and `ClientProviderPrograms` for better association.
- Updated `_process_with_discharge` to simplify invoice review by removing redundant parameters.
- Improved `pre_validators` to ensure address validation checks for existence before accessing country.
- Enhanced balance comparison logic in `compare_balances` by tracking consumed quantities.
- Modified `fill_available_balances` to reflect invoice status changes from 'UNPROCESSED' to 'PENDING'.
- Introduced `get_lines_with_balance` method in `ItemService` to fetch invoice lines with available balance.
- Added new API endpoint to retrieve import invoice lines with balance information.
- Updated frontend components to display available balances and improve user experience in invoice selection.
2026-03-18 00:55:17 -05:00
5265ec6849 Merge pull request 'feature/catalogo-pedimento' (#219) from feature/catalogo-pedimento into development
Reviewed-on: ADUANASOFT/anexo76#219
2026-03-18 03:53:00 +00:00
2c7e6f38da Merge pull request 'feature/client-provider-taxid-rfc-fix' (#218) from feature/client-provider-taxid-rfc-fix into development
Reviewed-on: ADUANASOFT/anexo76#218
2026-03-18 03:51:43 +00:00
a91f8ef615 Merge pull request 'feature/item_por_tipo_factura' (#217) from feature/item_por_tipo_factura into development
Reviewed-on: ADUANASOFT/anexo76#217
2026-03-18 03:51:07 +00:00
10a37a1102 Merge branch 'development' into feature/item_por_tipo_factura 2026-03-17 22:50:56 -05:00
35c7584656 Merge branch 'main' into development 2026-03-17 22:48:18 -05:00
fd0180d23f Merge pull request 'feature/validaciones-parts' (#216) from feature/validaciones-parts into development
Reviewed-on: ADUANASOFT/anexo76#216
2026-03-18 03:46:38 +00:00
62817565ce Merge pull request 'feature/process-expos' (#215) from feature/process-expos into main
Reviewed-on: ADUANASOFT/anexo76#215
2026-03-18 03:44:53 +00:00
196525c684 Enhance invoice processing to support export and import differentiation
- Updated the invoice processing route to automatically detect and handle invoice types based on the operation_type.
- Introduced error handling for non-existent invoices, returning a 404 status when an invoice is not found.
- Added a new field 'serie_row' in the Serie model to accommodate additional data for export scenarios.
2026-03-17 22:43:53 -05:00
5d9f4041e4 Add balance entry creation and void functionality for import invoices
- Introduced `create_balance_entries` function to generate `BalanceMovement` entries for each line item of a processed import invoice, ensuring accurate inventory balance tracking.
- Implemented `void_balance_entries` function to cancel open ENTRY movements by inserting corresponding ENTRY_VOID movements, with safeguards against already consumed lots.
- Enhanced transaction handling to maintain data integrity during invoice processing and reverting operations.
2026-03-17 21:09:01 -05:00
73462fcec3 Add ENTRY_VOID movement type and integrate balance entry creation in invoice processing
- Introduced a new movement type 'ENTRY_VOID' to handle invoice reversals, ensuring net balance remains zero.
- Updated the FaLineItem DTOs to replace 'download' with 'discharge' for consistency.
- Implemented balance entry creation in the invoice processing and reverting workflows, enhancing inventory management.
- Adjusted progress tracking messages to reflect the new balance entry generation steps.
2026-03-17 19:46:09 -05:00
3983c9e4b3 feature/catalogo-pedimento 2026-03-17 16:35:27 -06:00
adfa82c707 Valores extendidos para partes 2026-03-17 16:57:03 -05:00
3eacbf18f2 Refactor 'download' field to 'discharge' across models and services
- Renamed the 'download' field to 'discharge' in the FaLineItem model and updated related services and schemas accordingly.
- Adjusted frontend components to reflect the new 'discharge' terminology.
- Ensured consistency in filtering and validation logic across the application to use the updated field name.
2026-03-17 16:25:23 -05:00
e326ac0f0a feature/client-provider-taxid-rfc-fix 2026-03-17 15:08:02 -06:00
0487f84f7e Merge pull request 'development' (#214) from development into main
Reviewed-on: ADUANASOFT/anexo76#214
2026-03-17 18:22:59 +00:00
0f9b0bc23f archivo de prueba 2026-03-17 12:49:37 -05:00
hreyes
fbbe4370de feature/refactorizacion-tabla-sector 2026-03-17 11:21:28 -06:00
hreyes
20a351c475 Merge branch 'development' into feature/validaciones-parts
# Conflicts:
#	frontend/src/lib/components/dashboard/goods/parts/partForm.svelte
2026-03-17 09:35:29 -06:00