Commit Graph

126 Commits

Author SHA1 Message Date
f10fee9bc3 refactor: update role handling in security and permissions modules, and change hub-net to non-external in docker-compose 2026-04-29 22:08:37 -05:00
1d1d4b1619 Merge remote-tracking branch 'origin/development' into feature/hub-integration
# Conflicts:
#	backend/.env.example
#	backend/api/v1/modules/core/auth/service.py
#	backend/api/v1/modules/core/users/service.py
#	backend/core/middleware.py
#	docker-compose.yml
#	frontend/src/lib/auth.ts
#	frontend/src/lib/components/help/HelpDrawer.svelte
#	scripts/backend-entrypoint.sh
2026-04-29 13:11:44 -05:00
c8e45f5ce2 chore: resolve second wave of merge conflicts, integrate new DODA despacho module and stabilize catalogues 2026-04-27 13:43:51 -05:00
8374975a30 chore: resolve remaining merge conflicts in data-table-actions components 2026-04-27 13:39:04 -05:00
c3e4cf22fc fix/env-api-unica 2026-04-27 11:08:33 -06:00
5c2a84e95d fix: solución de bloqueos y estandarización de permisos 2026-04-27 10:47:30 -05:00
9d232998d6 feature/api-doda 2026-04-26 18:13:20 -06:00
ca21cdf58d feat: Implement token issue detection and enhance license validation middleware; add tests for token issue message detection 2026-04-26 08:25:53 -05:00
73a6d92863 Implement row-level security (RLS) context management for database sessions. Refactor invoice processing and reverting tasks to utilize scoped database sessions with RLS context. Update middleware to extract and set company ID from requests. Enhance task dispatching to propagate RLS context via Celery headers. Update architecture documentation to reflect RLS implementation details. 2026-04-24 18:01:46 -05:00
5ac757dbc1 chore: snapshot before development sync 2026-04-24 11:18:06 -05:00
1cd81ebc03 feature/digitalizacion-api 2026-04-20 15:13:48 -06:00
5e6ee5d4d1 Funciones y logia de exportacion, como mejoras CRUD en las partes de exportacion 2026-04-16 11:30:40 -05:00
84ba0fdb19 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/tareas_TODO_configuracion 2026-04-14 10:40:41 -05:00
e5fa5f0326 TODOS de configuracion general lista 2026-04-13 18:02:39 -05:00
8f4fd7ee90 feature/correcion-hash 2026-04-13 15:57:40 -06:00
15dd7c6225 Merge branch 'feature/API-COBE' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/API-COBE 2026-04-07 14:56:39 -06:00
9d8d27a9d0 fix/variable-encriptado 2026-04-07 14:55:55 -06:00
5fc801f638 Merge branch 'development' into feature/API-COBE 2026-04-07 14:28:40 -05:00
4e08abafb8 merge-conflic-fix 2026-04-07 08:21:16 -06:00
df4024436b checkpoint 2026-04-07 08:15:02 -06:00
fe74481786 feature/api-cove-integration 2026-04-06 13:52:33 -06:00
0c25572d70 feature/correcion-al-borrar-datos-borrar-tambien-del-bucket 2026-04-06 08:13:01 -06:00
d3676aa8ed Refactor code structure for improved readability and maintainability 2026-04-06 08:54:05 -05:00
1355bf34c4 feature/file-manager-user-only-read 2026-04-06 07:43:43 -06:00
9439a6a775 feature/minio-s3-integration 2026-04-02 13:35:18 -06:00
4bc38b691f Add APP_VERSION handling in Dockerfile and config.py
Updated the Dockerfile to include an ARG and ENV for APP_VERSION, allowing for version specification during build time. Modified config.py to set a default APP_VERSION, which can be overridden by the environment, enhancing flexibility for deployment and runtime configuration.
2026-04-02 11:31:00 -05:00
26977b881a Merge branch 'development' into feature/table-celery-tasks 2026-03-25 07:15:31 -06:00
c565696242 feature/limpieza-periodica 2026-03-24 16:58:48 -06:00
18e4477bf1 Add TEST_DATABASE_URL to configuration settings
- Introduced a new configuration variable, TEST_DATABASE_URL, to specify the test database connection string.
- This addition enhances the flexibility of database handling, particularly for testing scenarios, aligning with recent improvements in database URL management.
2026-03-24 15:35:13 -05:00
23509cbcc9 Refactor DTO classes to use model_config with ConfigDict for attribute handling
- Updated multiple DTO classes across various modules to replace the `Config` class with `model_config = ConfigDict(from_attributes=True)`.
- This change enhances consistency in attribute handling and aligns with the latest Pydantic practices.
- Adjusted error handling in core modules to change status codes from `HTTP_422_UNPROCESSABLE_ENTITY` to `HTTP_422_UNPROCESSABLE_CONTENT` for improved clarity in validation responses.
2026-03-24 12:06:55 -05:00
54c137c156 Refactor invoice processing logic to remove legacy returned quantity fields and enhance data handling
- Updated invoice processing functions to eliminate legacy fields related to returned quantities, now relying on new balance movement and discharge records.
- Adjusted various components and services to reflect changes in quantity handling, including updates to the frontend for displaying used quantities instead of returned ones.
- Improved the logic for invoice total updates and validation processes to ensure consistency with the new data structure.

These changes aim to streamline invoice management and improve data integrity across the application.
2026-03-20 11:42:18 -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
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
hreyes
8a0c67d452 WIP: mover cambios desde development 2026-03-17 09:27:03 -06:00
AlexeerCT
6fa461991f Implement invoice revert functionality and enhance progress tracking
- Added a new route for reverting invoices in the A76 module.
- Updated the pre_validators to provide clearer error messages when processing invoices.
- Enhanced the PDF progress dialog to support step-by-step progress tracking for both invoice processing and reverting.
- Introduced a confirmation dialog for reverting invoices in the dashboard.
- Updated frontend components to handle the new revert functionality and display appropriate progress messages.
2026-03-15 22:34:11 -06:00
AlexeerCT
a4cf394447 Update Docker Compose files for production environment and enhance unit of measure handling
- Changed the default environment variable from 'development' to 'production' in docker-compose.prod.yml and docker-compose.yml.
- Added SITAR API credentials to the environment variables in both Docker Compose files.
- Updated the seed data for customs units of measure to include a76_unit_code.
- Refactored the UnitOfMeasureCustoms model and related DTOs to replace scaii_unit_code with a76_unit_code for consistency.
- Adjusted frontend components to reflect the updated unit of measure structure and ensure proper handling of the new a76_unit_code field.
2026-03-15 20:52:01 -06:00
5a6fbcf182 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/partePais_BOM 2026-03-13 11:13:44 -05:00
ccd81d743e Add invoice processing functionality and enhance models and routes
- Introduced new routes for processing invoices in the router.
- Added `InvoiceStatus` enum to manage invoice states.
- Enhanced `InvoiceHeader` and `InvoiceFinancials` models with new fields for status tracking and total packages.
- Updated schemas to include new fields for invoice processing.
- Implemented API methods for processing invoices and checking process status in the frontend.
- Removed outdated validation files related to invoice processing.
2026-03-13 11:02:49 -05:00
2b0caeb251 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/partePais_BOM 2026-03-13 10:59:03 -05:00
9f3ae8db42 Partidas BOM y partes para SCAI 2026-03-11 11:11:36 -05:00
ac8c45ec18 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/saldos_temporales 2026-03-06 16:10:30 -06:00
be3150b53c genracion de reportes por saldos temporales 2026-03-06 16:09:45 -06:00
hreyes
3cd88c199b feature/validaciones-clarion-csv-transportistas 2026-03-06 13:13:46 -07:00
hreyes
8cd299609c Merge branch 'development' into feature/catalog-drivers 2026-03-06 10:14:55 -07:00
fa0a394bbd Merge pull request 'fix/agentes_aduanales_regex' (#190) from fix/agentes_aduanales_regex into development
Reviewed-on: ADUANASOFT/anexo76#190
2026-03-06 15:52:48 +00:00
hreyes
34071cba86 feature/ambio-regimen-regularizacion 2026-03-05 12:26:08 -07:00
hreyes
0dfb7d2237 feature/csv-expo 2026-03-05 12:01:24 -07:00
hreyes
9c3e6827da Merge branch 'development' into feature/clarion-validations-csv-pedimentos 2026-03-05 11:36:39 -07:00
bc2f2c3c6e Merge branch 'development' into task/archivos_winsaai 2026-03-05 08:19:07 -06:00
a77761f2e5 Enmascaramiento y regax para datos sensibles en los agentes aduanales 2026-03-04 10:41:37 -06:00