Commit Graph

430 Commits (b8f42a46560a23d843847ef7fa95cda9971ddd68)

Author SHA1 Message Date
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
OCA-git-bot f8381d2d74 [ADD] icon.png 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
Sébastien BEAU 11b61160b1 [IMP] add filter for filtering the uncompleted move line that should be completed manually 2022-12-02 15:52:37 +01:00
Denis Leemann 82804587cd update test call 2022-12-02 15:52:37 +01:00
Denis Leemann aaae05a120 update tests 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
Pedro M. Baeza 2601f0f69e [MIG] Rename manifest files 2022-12-02 15:52:37 +01:00
Pedro M. Baeza 54f7b4dc9e [MIG] Make modules uninstallable 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
Matthieu Dietrich 0c027292d0 Correct sign for debit amount 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
Florian da Costa d26e204f4f Handle multi move in parser 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 d91c387203 Rename menu + add roadmap in readme 2022-12-02 15:52:37 +01:00
Matthieu Dietrich b27baeb3ec Remove last mentions of statement 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
Enric Tobella 16bacdcd5d
Merge pull request #507 from tegin/16.0-copier
Update template
2022-11-17 09:15:45 +01:00
Enric Tobella 178568986f Update template 2022-11-17 09:08:38 +01:00
oca-git-bot 6e28a29179
Initialize 16.0 branch 2022-10-03 19:48:24 +02:00