2
0
Commit Graph

761 Commits

Author SHA1 Message Date
Bejaoui Souheil
8fa0de5226 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
2022-12-24 00:42:21 +01:00
Maxence Groine
9ff14512da Included PR #828 Fix computation of depreciation lines when having multiple assets in invoice 2022-12-24 00:42:21 +01:00
Maxence Groine
08907b0b1d account_asset_management: Add unit test for invoices with multiple assets 2022-12-24 00:42:21 +01:00
Henrik Norlin
886abfe610 [MIG] account_asset_management: Migration to 12.0 2022-12-24 00:42:21 +01:00
Stéphane Bidoul (ACSONE)
0cece3a4b7 [IMP] asset mgt: use exclude manifest key
This is now supported natively by Odoo 11.
2022-12-24 00:42:20 +01:00
Akim Juillerat
a7cdfdd14d [MIG] account_asset_management: Migration to 11.0 2022-12-24 00:42:20 +01:00
Luc De Meyer
49d1c36679 [FIX] account_asset_management: Test data + onchange 2022-12-24 00:42:20 +01:00
Akim Juillerat
163eb03e63 [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
2022-12-24 00:42:20 +01:00
Luc De Meyer
7c76c17231 [10.0][MIG]account_asset_management suite refactoring + 10.0 port 2022-12-24 00:42:20 +01:00
Stéphane Bidoul
91d51837b4 [UPD] prefix versions with 8.0 2022-12-24 00:42:20 +01:00
Adrien Peiffer (ACSONE)
2bce9d2b24 [FIX][account_asset_management] Avoid to select closed or cancelled analytic account 2022-12-24 00:42:20 +01:00
Stéphane Bidoul
56f432386c [FIX] account_asset_management: do not propose special and closed periods for asset posting 2022-12-24 00:42:20 +01:00
Adrien Peiffer (ACSONE)
14954c5360 [FIX][account_asset_management] Add items on affects fields list 2022-12-24 00:42:20 +01:00
Adrien Peiffer (ACSONE)
08c4e9d457 [ADD][account_asset_management] Add check on account move line 2022-12-24 00:42:20 +01:00
luc-demeyer
16d05b1397 analytic enhancement 2022-12-24 00:42:20 +01:00
luc-demeyer
7b422b6c18 account_asset_management: group invoice lines fix 2022-12-24 00:42:20 +01:00
luc-demeyer
2ba8b47612 [IMP] account_asset_management: code cosmetics 2022-12-24 00:42:20 +01:00
Adrien Peiffer (ACSONE)
b963cc17ee [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
2022-12-24 00:42:20 +01:00
Stéphane Bidoul
e9bbf96a9a [IMP] account_asset_management: use reload_on_button instead of reloading page 2022-12-24 00:42:20 +01:00
Stefan Rijnhart
193f56c6ae [FIX] Inherited model is a transient model 2022-12-24 00:42:20 +01:00
Leonardo Pistone
7d224b3c4e make *asset* installable again 2022-12-24 00:42:20 +01:00
Romain Deheele
7bd04de5ac [FIX] test floats with assertAlmostEqual
[UPD] add places arg in assertAlmostEqual tests

[UPD] flake clean
2022-12-24 00:42:20 +01:00
Leonardo Pistone
99560a0cb9 move account_asset_management* out of __unported__
add asset management modules

asset mgt update

redo

synch asset mgt with recent V7 changes
2022-12-24 00:42:20 +01:00
OCA-git-bot
4c0b76b441 [UPD] addons table in README.md 2022-12-23 11:22:00 +00:00
OCA-git-bot
c2594cc54c account_journal_general_sequence 16.0.1.0.1 2022-12-23 11:21:56 +00:00
OCA-git-bot
c9c8ddab28 [ADD] setup.py 2022-12-23 11:21:56 +00:00
OCA-git-bot
db1e88de1a [UPD] README.rst 2022-12-23 11:21:55 +00:00
OCA-git-bot
f8f73f45ec [UPD] addons table in README.md 2022-12-23 11:21:54 +00:00
oca-ci
44c2c0285c [UPD] Update account_journal_general_sequence.pot 2022-12-23 11:18:43 +00:00
OCA-git-bot
09e91c079e Merge PR #1536 into 16.0
Signed-off-by rafaelbn
2022-12-23 11:16:21 +00:00
Jairo Llopis
a6cbbed493
[MIG] account_journal_general_sequence: v16 modifications
@moduon MT-1921
2022-12-23 10:47:11 +00:00
Jairo Llopis
dc7dce11bb
[IMP] account_journal_general_sequence: pre-commit stuff 2022-12-23 10:26:07 +00:00
OCA-git-bot
78367e5399
account_journal_general_sequence 15.0.1.0.4 2022-12-23 10:22:44 +00:00
Jairo Llopis
9cf19e12a4
[FIX] account_journal_general_sequence: let non-admin accounting managers renumber moves
Before this patch, if users were accounting managers but not system administrators, they couldn't execute the account move renumbering.

Now that's fixed and tested.

@moduon MT-1728
2022-12-23 10:22:44 +00:00
OCA-git-bot
731c687a01
account_journal_general_sequence 15.0.1.0.3 2022-12-23 10:22:44 +00:00
Eduardo De Miguel
2c8993856a
[FIX] Add entry_number field in ledger reports views 2022-12-23 10:22:44 +00:00
OCA-git-bot
95d08792c3
account_journal_general_sequence 15.0.1.0.2 2022-12-23 10:22:43 +00:00
OCA-git-bot
df1ff62bf9
[UPD] README.rst 2022-12-23 10:22:43 +00:00
Jairo Llopis
4183ec5f5d
[FIX] account_journal_general_sequence: bottleneck at install
On databases with big amounts of account moves, installation would freeze Odoo for some minutes.

We skip now entry number computation at install, to avoid such cases.

@moduon MT-676
2022-12-23 10:22:43 +00:00
OCA-git-bot
5ced6ad1d8
account_journal_general_sequence 15.0.1.0.1 2022-12-23 10:22:43 +00:00
OCA-git-bot
a8dab75c42
[UPD] README.rst 2022-12-23 10:22:43 +00:00
oca-ci
af866d2080
[UPD] Update account_journal_general_sequence.pot 2022-12-23 10:22:43 +00:00
Jairo Llopis
cbff18b70f
[MIG] account_journal_general_sequence: Migration to 15.0 2022-12-23 10:22:43 +00:00
OCA-git-bot
a58a08b5a5
[UPD] README.rst 2022-12-23 10:22:43 +00:00
oca-ci
9f057cf025
[UPD] Update account_journal_general_sequence.pot 2022-12-23 10:22:43 +00:00
Jairo Llopis
67945e427a
[FIX] account_journal_general_sequence: support renumber starting from zero
This is a special case when working with `ir.sequence`.

@moduon MT-676
2022-12-23 10:22:43 +00:00
Jairo Llopis
1a1d816c7b
[ADD] account_journal_general_sequence: account move entry sequence
Under some legislations, account moves must follow a single sequence. Since Odoo removed this sequence number in recent versions, this information was lost.

With this module, you can force your account moves to follow a separate sequence. The sequence is automatic when a move is posted. Includes a wizard to reorder those numbers in the sequence.

@moduon MT-676
2022-12-23 10:22:43 +00:00
Alexis de Lattre
65dc46c91e [MIG] account_cash_deposit to v16 2022-12-12 21:12:46 +01:00
Weblate
6c68352033 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_cash_deposit
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_cash_deposit/
2022-12-12 18:13:15 +01:00
OCA-git-bot
26c6b373c2 account_cash_deposit 14.0.1.1.0 2022-12-12 18:13:15 +01:00