Commit Graph

1706 Commits

Author SHA1 Message Date
Joan Sisquella
810ac3ff5c [ADD] allows setting a depreciation ending date 2021-01-13 07:53:35 +00:00
Saran
979279dd47 [ADD] options 'use_leap_years' 2021-01-13 07:53:35 +00:00
Saran
66f345e2f3 [12.0][IMP] account_asset_management 2021-01-13 07:53:35 +00:00
Rodrigo Macedo
25a24596c8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (193 of 193 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
2dffd4070d [MIG+FIX+IMP] account_asset_management: Rework migration scripts + make asset group m2m 2021-01-13 07:53:35 +00:00
Henrik Norlin
187846d3ee [IMP] removed type, parent_id, parent_path, child_ids from account.asset & account.asset.profile 2021-01-13 07:53:35 +00:00
Henrik Norlin
84ba12a625 [MIG] 11.0 account_asset to 12.0 account_asset_management 2021-01-13 07:53:35 +00:00
Pedro M. Baeza
a483203c37 [FIX] account_asset_management: Don't depend on account.fiscal.year created records
* There's no need of forcing to create such records if your fiscal years are regular ones.
* FY date range computation duplicates code that is already on core.
* DummyFY is a good idea, but was not used at all. Now it is.
2021-01-13 07:53:35 +00:00
Luc De Meyer
cbc0669189 [FIX][12.0]asset_management - fix date string compare 2021-01-13 07:53:35 +00:00
Pedro M. Baeza
d413d1b904 [FIX] account_asset_management: Invisible conditions must be independent from extra method_time values
If not, added methods won't hide these fields.
2021-01-13 07:53:35 +00:00
Pedro M. Baeza
ca270fe67e [FIX] account_asset_management: Provide hook _compute_depreciation_amount_per_fiscal_year
This way, other method_time mechanism like localization ones is able to overwrite it.

You also got an error of variable `number` not set due to previous code. Although no
alternate implementation for a new method_time, now you don't have any error,
fallbacking to standard proportional repartition.
2021-01-13 07:53:35 +00:00
Josep M
f0c6fcc049 Translated using Weblate (Spanish)
Currently translated at 91.8% (179 of 195 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/es/
2021-01-13 07:53:35 +00:00
Valaeys Stéphane
ac08c314d4 Translated using Weblate (French)
Currently translated at 100.0% (195 of 195 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/fr/
2021-01-13 07:53:35 +00:00
Eduardo Aparicio
8fd249a7b8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (195 of 195 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
2021-01-13 07:53:35 +00:00
Eduardo Aparicio
866290766f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (197 of 197 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
2021-01-13 07:53:34 +00:00
Marcel Savegnago
d46eaaaeb3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 40.1% (79 of 197 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_asset_management/pt_BR/
2021-01-13 07:53:34 +00:00
Henrik
8e3f952a75 [12.0][FIX] account_asset_management: date_range -> account_fiscal_year, account_analytic_id without domain 2021-01-13 07:53:34 +00:00
Bejaoui Souheil
a92e32cf89 Finish 12.0 migration of account_asset_management
* account_asset: Do not loop on all the lines to search for one linked asset

Before this change, the use of `mapped` on self did loop on all the move
lines that are included in self to get the assets, what could be very
costly for a simple write on a lot of move lines. As the goal is to raise
an error only if at least one move is linked to an asset, we break the
loop if the condition is fulfilled.

* performance improvement

* [RMV] - Remove useless dependency

In 12.0 account_fiscal_year is a standard feature no need to depend on oca
module account_fiscal_year
2021-01-13 07:53:34 +00:00
Maxence Groine
ab00fb24bd Included PR #828 Fix computation of depreciation lines when having multiple assets in invoice 2021-01-13 07:53:34 +00:00
Maxence Groine
c1375b094f account_asset_management: Add unit test for invoices with multiple assets 2021-01-13 07:53:34 +00:00
Henrik Norlin
637b1fa013 [MIG] account_asset_management: Migration to 12.0 2021-01-13 07:53:34 +00:00
Stéphane Bidoul (ACSONE)
e121469c82 [IMP] asset mgt: use exclude manifest key
This is now supported natively by Odoo 11.
2021-01-13 07:53:34 +00:00
Akim Juillerat
b08d477d8f [MIG] account_asset_management: Migration to 11.0 2021-01-13 07:53:34 +00:00
Luc De Meyer
6a7789526e [FIX] account_asset_management: Test data + onchange 2021-01-13 07:53:34 +00:00
Akim Juillerat
c7380f6453 [FIX+IMP] account_asset_management: 2 things:
* Fix compute methods dependencies and small optimizations
* Rename demo file to test and move it into the right folder
2021-01-13 07:53:34 +00:00
Luc De Meyer
a1650a3028 [10.0][MIG]account_asset_management suite refactoring + 10.0 port 2021-01-13 07:53:34 +00:00
Stéphane Bidoul
23685c9b93 [UPD] prefix versions with 8.0 2021-01-13 07:53:34 +00:00
Adrien Peiffer (ACSONE)
afc9048740 [FIX][account_asset_management] Avoid to select closed or cancelled analytic account 2021-01-13 07:53:34 +00:00
Stéphane Bidoul
cfe0920d0f [FIX] account_asset_management: do not propose special and closed periods for asset posting 2021-01-13 07:21:53 +00:00
Adrien Peiffer (ACSONE)
c54696bbed [FIX][account_asset_management] Add items on affects fields list 2021-01-13 07:21:53 +00:00
Adrien Peiffer (ACSONE)
cac8a3c7a4 [ADD][account_asset_management] Add check on account move line 2021-01-13 07:21:53 +00:00
luc-demeyer
d05ac07496 analytic enhancement 2021-01-13 07:21:53 +00:00
luc-demeyer
2fce126674 account_asset_management: group invoice lines fix 2021-01-13 07:21:53 +00:00
luc-demeyer
2a3aa7253a [IMP] account_asset_management: code cosmetics 2021-01-13 07:21:53 +00:00
Adrien Peiffer (ACSONE)
14506cd480 [IMP][account_asset_management] Define a list of move's fields that can't be modified if a move is linked with a depriciation line
[IMP][account_asset_management] Define FIELDS_AFFETCS_ASSET_MOVE as a set directly
2021-01-13 07:21:53 +00:00
Stéphane Bidoul
b499317ade [IMP] account_asset_management: use reload_on_button instead of reloading page 2021-01-13 07:21:53 +00:00
Stefan Rijnhart
bedee3af59 [FIX] Inherited model is a transient model 2021-01-13 07:21:53 +00:00
Leonardo Pistone
6a12c5473b make *asset* installable again 2021-01-13 07:21:53 +00:00
Romain Deheele
f9fc125bfd [FIX] test floats with assertAlmostEqual
[UPD] add places arg in assertAlmostEqual tests

[UPD] flake clean
2021-01-13 07:21:53 +00:00
Leonardo Pistone
bbee64ca71 move account_asset_management* out of __unported__
add asset management modules

asset mgt update

redo

synch asset mgt with recent V7 changes
2021-01-13 07:21:53 +00:00
Chandresh Thakkar
f41e0bb1e5 [ADD] New module to make default expense account as non-required. 2021-01-13 01:43:57 +05:30
OCA-git-bot
6c7869a776 [ADD] setup.py 2021-01-12 19:38:42 +00:00
OCA-git-bot
b7290050d3 [UPD] README.rst 2021-01-12 19:38:42 +00:00
OCA-git-bot
5714720dad [UPD] addons table in README.md 2021-01-12 19:38:40 +00:00
oca-travis
e66eb00192 [UPD] Update account_balance_line.pot 2021-01-12 19:26:51 +00:00
OCA-git-bot
f30cbcbe3a Merge PR #1105 into 14.0
Signed-off-by pedrobaeza
2021-01-12 19:22:05 +00:00
Ethan Hildick
d02119120e [14.0][MIG] account_balance_line: Migration to 14.0 2020-12-29 11:38:15 +01:00
Ethan Hildick
f999d62b34 [14.0][IMP] account_balance_line: black, isort, prettier 2020-12-29 11:29:09 +01:00
OCA-git-bot
66f65dac1e pre-commit update 2020-12-29 11:28:47 +01:00
OCA Transbot
ec7d965f49 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_balance_line
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_balance_line/
2020-12-29 11:28:47 +01:00