Florian da Costa
5b0be92e5c
[IMP] Make commission feature compatible with
...
all parsers (not only generic_csvxls_so) + male it compatible with split_counterpart option
2021-08-13 11:24:46 +02:00
Florian da Costa
92ef9a4ee3
[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
2021-08-13 11:24:46 +02:00
Florian da Costa
4d28d1dd29
[MIG] account_move_base_import: Migration to 14.0
2021-08-13 11:24:46 +02:00
Florian da Costa
c1c08605d8
[IMP] account_move_base_import: black, isort, prettier
2021-08-13 11:24:46 +02:00
mdietrichc2c
ad04b89ab5
add #335 for commission analytic account
2021-08-13 11:24:46 +02:00
Damien Crier
8de48a5b12
fix test
2021-08-13 11:24:46 +02:00
Damien Crier
83eb8115a0
[MIG] account_move_base_import: Migration to 13.0
2021-08-13 11:24:46 +02:00
Damien Crier
68fc7849f3
[IMP] account_move_base_import: black, isort, prettier
2021-08-13 11:24:46 +02:00
Tonow-c2c
5bb8d7caa4
Pass Black on the files + pylint
...
Move test data to tests/data
2021-08-13 11:24:46 +02:00
Tonow-c2c
5c8a0962da
Remove undefined fields balance_cash credit_cash debit_cash
2021-08-13 11:24:46 +02:00
Tonow-c2c
63858eafa4
[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
2021-08-13 11:24:46 +02:00
Akim Juillerat
0d0507114b
[MIG] account_move_base_import: Migration to 12.0
2021-08-13 11:24:46 +02:00
Akim Juillerat
0d6d54e3b6
[MIG] account_move_base_import: Migration to 11.0
2021-08-13 11:24:46 +02:00
Alexandre Fayolle
d076b5be5e
[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.
2021-08-13 11:24:46 +02:00
Sébastien BEAU
49008e7d9c
[IMP] assert that move is balanced, recompute amount total, and set reconciled to false to avoid having a null value instead
2021-08-13 11:24:46 +02:00
Sébastien BEAU
f794a514d2
[FIX] add all missing field, as orm is bypassed for perf reason, we need to fill all computed and related field
2021-08-13 11:24:46 +02:00
Sébastien BEAU
fb7066355a
[FIX] add missing date field, it's a related field and should be added automatically with the same value of the move date
2021-08-13 11:24:46 +02:00
Alexis de Lattre
911b03860b
Remove print
2021-08-13 11:24:46 +02:00
Alexis de Lattre
1e77fa88ae
Start work to port account_move_base_import and base_transaction_id to v10
2021-08-13 11:24:46 +02:00
Matthieu Dietrich
0bfaa2d044
Force import partner on account.move ( #157 )
...
Force import partner on account.move
2021-08-13 11:24:46 +02:00
Matthieu Dietrich
91281a9333
Correct error messages
2021-08-13 11:24:46 +02:00
Florian da Costa
18214563ac
invalidate cache after move sql insert
2021-08-13 11:24:46 +02:00
Florian da Costa
9baf2ff197
Add option on journal to create one or two counterparts automatically
2021-08-13 11:24:46 +02:00
Matthieu Dietrich
35d051133b
Add amount_residual for reconciliation later on
2021-08-13 11:24:46 +02:00
Matthieu Dietrich
6e6a7d9ec5
Only set account_id if not set by parser
2021-08-13 11:24:46 +02:00
Matthieu Dietrich
b494e5c873
Rename many2many table
2021-08-13 11:24:46 +02:00
Matthieu Dietrich
31e4f4d8cd
Corrections
2021-08-13 11:24:46 +02:00
Matthieu Dietrich
56840f6cf9
Rename last values
2021-08-13 11:24:46 +02:00
Matthieu Dietrich
37213bf017
Remane import modules
2021-08-13 11:24:46 +02:00