Commit Graph

1084 Commits

Author SHA1 Message Date
33fb1b1b50 Merge pull request 'Refactor invoice mapping logic in edit page to improve data handling. Updated the mapping of logistics and compliance fields to use optional chaining and default values, enhancing robustness and clarity in the invoice data structure.' (#264) from fix/invoice-update into development
Reviewed-on: ADUANASOFT/anexo76#264
2026-04-02 14:55:23 +00:00
18e3c0a1bd Refactor invoice mapping logic in edit page to improve data handling. Updated the mapping of logistics and compliance fields to use optional chaining and default values, enhancing robustness and clarity in the invoice data structure. 2026-04-02 09:54:50 -05:00
4ce1897aad Merge pull request 'Refactor sort_order parameter in tenant and invoice routes to use 'pattern' instead of 'regex' for validation. This change enhances consistency across the API query parameters.' (#263) from fix/tenant-crud-query-pattern into development
Reviewed-on: ADUANASOFT/anexo76#263
2026-04-02 13:36:42 +00:00
309a26bf8f Refactor sort_order parameter in tenant and invoice routes to use 'pattern' instead of 'regex' for validation. This change enhances consistency across the API query parameters. 2026-04-02 08:36:16 -05:00
a0cfede631 Merge pull request 'Add models for transportation in test configuration' (#262) from fix/tests into development
Reviewed-on: ADUANASOFT/anexo76#262
2026-04-02 13:32:30 +00:00
78c534df10 Add models for transportation in test configuration
Updated the test configuration file to include imports for Trailer, Transporter, and Vehicle models from the transportation module, enhancing the testing capabilities for related functionalities.
2026-04-02 08:32:08 -05:00
921f8ca430 Merge pull request 'Se arreglo los filtros de facturas' (#260) from fix/filtro_facturas into development
Reviewed-on: ADUANASOFT/anexo76#260
2026-04-02 13:20:01 +00:00
3cdb227ccc Merge branch 'development' into fix/filtro_facturas 2026-04-02 08:19:51 -05:00
bca4ca7f99 Merge pull request 'feature/validaciones-invoices-transports' (#261) from feature/validaciones-invoices-transports into development
Reviewed-on: ADUANASOFT/anexo76#261
2026-04-02 13:10:58 +00:00
1a01757c63 Merge branch 'development' into feature/validaciones-invoices-transports 2026-04-01 13:42:49 -06:00
e8b4cbd377 checkpoint 2026-04-01 13:40:46 -06:00
bb2d27865b Update Jenkinsfile to change agent label from 'Built-In Node' to 'master', aligning with current infrastructure standards. 2026-03-31 18:39:35 -05:00
7caed1b875 Update Jenkinsfile to specify 'Built-In Node' as the agent label, enhancing clarity in the pipeline configuration. 2026-03-31 18:28:57 -05:00
943c248750 Add preflight checks in Jenkinsfile to ensure Docker is installed on the agent before proceeding with the pipeline, improving error handling and setup validation. 2026-03-31 18:27:41 -05:00
c45f97d480 Refactor Jenkinsfile to utilize Docker for Python environment setup during backend testing, enhancing consistency and isolation of dependencies. 2026-03-31 18:21:27 -05:00
d84d081f3e Enhance backend testing in Jenkinsfile by adding Docker container setup for PostgreSQL, improving error handling, and updating environment variable management. 2026-03-31 18:19:48 -05:00
0d249b526c Update Jenkinsfile to change Git repository URL and credentials for deployment 2026-03-31 18:12:32 -05:00
44b1f4b033 Add VERSION_MAYOR parameter to Jenkinsfile and update APP_VERSION calculation 2026-03-31 18:11:15 -05:00
4edeaa3273 Implement sorting mechanism for tables to enhance data organization and user experience. 2026-03-31 18:09:58 -05:00
a297592d84 Correcion del CRUD 2026-03-31 10:57:51 -05:00
6dea5b4a23 Merge branch 'development' into current branch and resolve modify/delete conflict in items-tab-form.svelte 2026-03-31 10:14:59 -05:00
6e39b5537a Parametros generales agregados 2026-03-31 10:07:22 -05:00
4541629b3f Parametros generales SCAII, con endpint y con la mayoria de pestanias hechas y funcionalaes 2026-03-30 13:05:21 -05:00
61633fd969 Merge pull request 'feature/columnas_ordenamiento' (#259) from feature/columnas_ordenamiento into development
Reviewed-on: ADUANASOFT/anexo76#259
2026-03-30 14:50:10 +00:00
48ee82761e Merge pull request 'correcion de saldos temporales' (#258) from fix/saldos_temporales_procesadas into development
Reviewed-on: ADUANASOFT/anexo76#258
2026-03-30 14:49:04 +00:00
a08a62bc31 feature/alineacion-validaciones-carga-csv-con-manual-invoices 2026-03-27 14:57:38 -06:00
7a029307a8 feature/validaciones-invoices-transortes 2026-03-27 12:56:47 -06:00
b477233245 feature/migraciones-id-transportes 2026-03-27 09:32:59 -06:00
183a6f3348 correcion de saldos temporales 2026-03-27 09:50:47 -05:00
dd4eec56f8 Limpieza y correcion de warnings en ultimos cambios 2026-03-27 09:15:58 -05:00
d93c4c6b7b Mecanismo sort para tablas 2026-03-27 08:45:51 -05:00
9255dbc6b2 Se arreglo los filtros de facturas 2026-03-26 09:07:28 -05:00
d35f02563a Merge pull request 'feature/table-celery-tasks' (#257) from feature/table-celery-tasks into development
Reviewed-on: ADUANASOFT/anexo76#257
2026-03-25 14:06:24 +00:00
26977b881a Merge branch 'development' into feature/table-celery-tasks 2026-03-25 07:15:31 -06:00
85247e2713 fix/quitar-dato-empresa 2026-03-25 07:12:22 -06:00
ebc4dff264 Merge pull request 'Enhance invoice validation logic to support existing invoices' (#255) from fix/currency-invoices into development
Reviewed-on: ADUANASOFT/anexo76#255
2026-03-24 23:53:30 +00:00
a6c5abbe4c Enhance invoice validation logic to support existing invoices
- Updated the `validate_common` function to accept an optional `existing_invoice` parameter, allowing for more robust validation when updating invoices.
- Introduced a new helper function, `_normalize_invoice_currency_value`, to standardize currency code handling.
- Adjusted currency validation logic to ensure proper handling of existing invoice data, preventing changes to currency types when associated line items exist.
- Modified the `validate_update` functions in both imports and exports to pass the `existing_invoice` parameter, ensuring consistent validation across different update scenarios.
2026-03-24 18:52:53 -05:00
cb36120d09 Merge pull request 'ci-cd/migrations' (#254) from ci-cd/migrations into development
Reviewed-on: ADUANASOFT/anexo76#254
2026-03-24 23:06:11 +00:00
28de77e50b Refactor Alembic migration for index management and column type update
- Simplified the index drop and creation logic in the `upgrade` and `downgrade` functions by removing the unnecessary existence check for the `carta_porte_codes` table.
- Updated the `iva_factor` column type in the `invoice_financials` table from VARCHAR to Numeric, enhancing data integrity.
- Improved the overall clarity and efficiency of the migration script.
2026-03-24 18:05:24 -05:00
c565696242 feature/limpieza-periodica 2026-03-24 16:58:48 -06:00
06b3b20fd8 Refactor test setup to utilize ephemeral tenant IDs
- Introduced a new fixture, `test_tenant`, to allocate ephemeral tenant and company IDs for tests, reducing conflicts with real data.
- Updated various test functions to use the new `test_tenant` fixture, ensuring consistent tenant ID usage across tests.
- Enhanced the `ensure_tenant_company` function to accept dynamic tenant and company IDs, improving flexibility in test scenarios.
- Adjusted database interaction in tests to utilize the ephemeral IDs, streamlining the setup process and enhancing isolation.
2026-03-24 17:24:01 -05:00
65eec3c4d3 feature/table-celery-tasks-resume 2026-03-24 16:17:13 -06:00
219d70d630 Merge pull request 'ci-cd/migrations' (#253) from ci-cd/migrations into development
Reviewed-on: ADUANASOFT/anexo76#253
2026-03-24 20:42:49 +00:00
1150b59dcf Update example for TEST_DATABASE_URL in CI workflow
- Modified the error message in the build workflow to clarify the expected format for the TEST_DATABASE_URL, specifying the use of a real IP address instead of the placeholder "host".
- This change enhances the guidance provided to users, ensuring correct configuration for database connections in testing scenarios.
2026-03-24 15:42:22 -05:00
309835be8c Enhance SQLAlchemy URL validation in Alembic environment
- Added a new function to reject documentation placeholder hosts in database URLs, improving error handling for misconfigurations.
- Updated the `get_database_url` function to incorporate this new validation, ensuring that users are alerted when using "host" as a placeholder.
- Enhanced error messages to provide clearer guidance on valid host configurations.

These changes aim to improve the robustness and clarity of database connection handling in the application.
2026-03-24 15:41:47 -05:00
76c81a57ee Merge pull request 'Enhance database URL validation in Alembic environment' (#252) from ci-cd/migrations into development
Reviewed-on: ADUANASOFT/anexo76#252
2026-03-24 20:40:19 +00:00
2cd6b165d7 Enhance database URL validation in Alembic environment
- Introduced a new validation function for SQLAlchemy URLs to ensure proper formatting and provide clearer error messages.
- Updated the `get_database_url` function to include checks for both `TEST_DATABASE_URL` and `DATABASE_URL`, improving flexibility in configuration.
- Removed the previous URL scheme validation in favor of the new validation method, streamlining the error handling process.

These changes aim to improve the robustness and clarity of database connection handling in the application.
2026-03-24 15:39:53 -05:00
9408300dc0 Merge pull request 'Add TEST_DATABASE_URL to configuration settings' (#251) from ci-cd/migrations into development
Reviewed-on: ADUANASOFT/anexo76#251
2026-03-24 20:36:11 +00: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
10461afd6e Merge pull request 'Enhance database URL handling in Alembic environment' (#250) from ci-cd/migrations into development
Reviewed-on: ADUANASOFT/anexo76#250
2026-03-24 20:33:15 +00:00