Florian da Costa
100b51f4b3
[IMP] Add a hook to compute commission to allow submodules to add some custom logic (multiple commission fields for instance)
2024-02-09 17:55:48 +01:00
Florian da Costa
0566db115a
[MIG][16.0] account_move_base_import : migration to 16
2023-03-28 17:31:48 +02:00
Florian da Costa
a918cd88c4
[IMP] account_move_base_import: black, isort, prettier
2022-12-02 16:38:44 +01:00
Nils Hamerlinck
5f39911c81
[FIX] account_move_base_import: native odoo account tests failing because of overriden order
2022-12-02 15:52:37 +01:00
Florian da Costa
73b965907b
[IMP] Make commission feature compatible with
...
all parsers (not only generic_csvxls_so) + male it compatible with split_counterpart option
2022-12-02 15:52:37 +01:00
Florian da Costa
0e04cac732
[IMP] Add option to post a move if move is
...
fully auto-completed. Avoid creating one attachment per move in case of multi move import
2022-12-02 15:52:37 +01:00
Florian da Costa
1b43016676
[MIG] account_move_base_import: Migration to 14.0
2022-12-02 15:52:37 +01:00
Florian da Costa
7c349daae5
[IMP] account_move_base_import: black, isort, prettier
2022-12-02 15:52:37 +01:00
mdietrichc2c
beb011c725
add #335 for commission analytic account
2022-12-02 15:52:37 +01:00
Damien Crier
d6e53d5379
fix test
2022-12-02 15:52:37 +01:00
Damien Crier
8f9450c6a1
[MIG] account_move_base_import: Migration to 13.0
2022-12-02 15:52:37 +01:00
Damien Crier
8b9256054a
[IMP] account_move_base_import: black, isort, prettier
2022-12-02 15:52:37 +01:00
Tonow-c2c
dcb4b793fd
Pass Black on the files + pylint
...
Move test data to tests/data
2022-12-02 15:52:37 +01:00
Tonow-c2c
c19b4449ba
Remove undefined fields balance_cash credit_cash debit_cash
2022-12-02 15:52:37 +01:00
Tonow-c2c
576b779b21
[FIX][12.0][account_move_transactionid_import] s/transaction_ref/ref
...
Remove 'ref' from account.move.line preparation
As 'ref' is related to account.move.ref it is not needed
Fix multi move import
multi_move_import on the parser allows to generate 1 account.move
for each line in the imported file, instead of having all the lines
on the same account.move
2022-12-02 15:52:37 +01:00
Akim Juillerat
920778efd8
[MIG] account_move_base_import: Migration to 12.0
2022-12-02 15:52:37 +01:00
Akim Juillerat
68a91a1d71
[MIG] account_move_base_import: Migration to 11.0
2022-12-02 15:52:37 +01:00
Alexandre Fayolle
c6b8b19b5d
[FIX][10.0] account_move_base_import
...
When importing a batch for a journal which has a currency different from the
company currency, the values in the batch files are in the currency of the journal.
The previous code was creating move lines as if the amounts in the batch file were in
the company currency.
We fix this by checking for the case, and converting the amounts the company currency at
the rate of the date of the transaction to fill in the credit / debit columns, and setting the
value of amount_currency to the value in the batch file.
2022-12-02 15:52:37 +01:00
Sébastien BEAU
53bf3a6aad
[IMP] assert that move is balanced, recompute amount total, and set reconciled to false to avoid having a null value instead
2022-12-02 15:52:37 +01:00
Sébastien BEAU
e9ab3a794d
[FIX] add all missing field, as orm is bypassed for perf reason, we need to fill all computed and related field
2022-12-02 15:52:37 +01:00
Sébastien BEAU
9b68f5b27c
[FIX] add missing date field, it's a related field and should be added automatically with the same value of the move date
2022-12-02 15:52:37 +01:00
Alexis de Lattre
aa7c4d2f82
Remove print
2022-12-02 15:52:37 +01:00
Alexis de Lattre
98442a9f60
convert_to_column() seems to be the replacement of _symbol_set() in v10
2022-12-02 15:52:37 +01:00
Alexis de Lattre
3a6b303b6a
Start work to port account_move_base_import and base_transaction_id to v10
2022-12-02 15:52:37 +01:00
Matthieu Dietrich
f0f051c1dc
Force import partner on account.move ( #157 )
...
Force import partner on account.move
2022-12-02 15:52:37 +01:00
Matthieu Dietrich
8d7f7e4e23
Correct error messages
2022-12-02 15:52:37 +01:00
Florian da Costa
e1ec3fb119
invalidate cache after move sql insert
2022-12-02 15:52:37 +01:00
Florian da Costa
ec51035cef
Add option on journal to create one or two counterparts automatically
2022-12-02 15:52:37 +01:00
Matthieu Dietrich
59438af11b
Add amount_residual for reconciliation later on
2022-12-02 15:52:37 +01:00
Matthieu Dietrich
8385f85672
Only set account_id if not set by parser
2022-12-02 15:52:37 +01:00
Matthieu Dietrich
22d99ca1e6
Rename many2many table
2022-12-02 15:52:37 +01:00
Matthieu Dietrich
312c176231
Corrections
2022-12-02 15:52:37 +01:00
Matthieu Dietrich
6a1715d4a7
Rename last values
2022-12-02 15:52:37 +01:00
Matthieu Dietrich
1560419021
Remane import modules
2022-12-02 15:52:37 +01:00