-
-
Notifications
You must be signed in to change notification settings - Fork 534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][MIG] l10n_es_account_asset #3992
Open
sergioM-S73
wants to merge
54
commits into
OCA:18.0
Choose a base branch
from
Studio73:18.0-mig-l10n_es_account_asset
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…s prevision tesoreria y activos/amortizaciones.
…ron marcados como no instalables mientras no se compruebe que funcionan o migren, para poder usarlos o probarlos se debería poner el atributo installable de los ficheros __openerp__.py de cada módulo a True
…hecho para aprovechar el estándar al máximo. * Incluido nuevo método de depreciación por porcentaje fijo.
* PEP8 * Icono del módulo * Valor por defecto para ext_method_time
* Nos traemos unas corecciones aplicadas en la versión 7.0 que no estaban en la 8.0, necesarias para hacer correctamente amortizaciones mensuales sin prorrata.
…rsiones de fecha. Fixes OCA#208
…sual ya incuidas en 7.0 + arreglado problema en la vista para la fecha de inicio de cálculo
[IMP] l10n_es_account_asset: tests added.
…e + remove # depreciations compensation. Fixes OCA#146 + Delete empty last depreciation line
…category_id (OCA#671) Pasos para reproducir el error: * Crear un tipo de activo * Al crear un nuevo activo, los datos de la periodicidad configurados en el tipo de activo no se importan al nuevo activo. Corrección: El método a sobreescribir debe ser el "onchange_category_id_values" y no el "onchange_category_id" tal y como es actualmente.
…CA#804) Corregido _compute_board_undone_dotation_nb para casos de prorrateo
…ins object instead of ids
…sset_management As `account_asset` is now enterprise, we switch the dependency to `account_asset_management` OCA module. This requires a heavy refactoring on code and tests, but with some hooks and fixes provided to OCA module, it's still very light. Other changes: * README by fragments * Promote to Production/Stable * Set maintainer
Currently translated at 100.0% (9 of 9 strings) Translation: l10n-spain-12.0/l10n-spain-12.0-l10n_es_account_asset Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-12-0/l10n-spain-12-0-l10n_es_account_asset/es/
In some cases, the amount in annual_percentage is not synchronized with the one in the period one due to a non hunted bug in v10/v11. As in v12 now the important field is the annual one, we must synchronize it properly.
* fix: falta llamada super
* Not possible to remove Spanish assets It should be possible and there's no real reason for that limitation. * Avoid incorrect values in annual_percentage When generating an asset from the invoice with other computation method, it can be that the method_percentage is put as 100, inversing the value for annual percentage as something incorrect. We avoid it preventing a higher value than 100. * Avoid infinite recursion When creating an asset from invoice with percentage method, there's a infinite recursion due to the trick of changing the method type on the fly, which activates another board computation on the write method. That can be avoided passing a special context key that avoids the recomputation. * Compute correctly number of depreciations The depreciation table is computed and stripped in _compute_depreciation_amount_per_fiscal_year, but previously the computation in that method was not intercepted, and so, computations was done with year method data.
…w computed writable Since OCA/account-financial-tools#952, the onchange method for profile no longer exists, so there's an error when changing such profile when this module is installed. This commit fixes this and switch to new computed writable style, adding also tests for the profile assignation for better regressions detection. Closes OCA#1455
…tage As it alters computations for other methods. TT25453
Currently translated at 100.0% (9 of 9 strings) Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_account_asset Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_account_asset/es/
Currently translated at 100.0% (9 of 9 strings) Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_account_asset Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_account_asset/ca/
SavepointCase > TransactionCase
- Standard procedure - Adapt tests - Some compute methods were not totally multi-record TT41118
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_account_asset Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_account_asset/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-16.0/l10n-spain-16.0-l10n_es_account_asset Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-16-0/l10n-spain-16-0-l10n_es_account_asset/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
depends:
OCA/account-financial-tools#2021