Commit Graph

137 Commits

Author SHA1 Message Date
Alexis de Lattre
98770e3d68 Port almost all modules to v10 (#305)
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug #300)
2017-11-08 12:31:32 +01:00
Pedro M. Baeza
2ec0a8bdcf [MIG] Rename manifest files 2017-11-08 12:31:32 +01:00
Pedro M. Baeza
e5354d9163 [MIG] Make modules uninstallable 2017-11-08 12:31:32 +01:00
Yannick Vaucher
edcfbc3f20 Reactivate company rules in account_payment_order 2017-11-08 12:31:32 +01:00
Stéphane Bidoul (ACSONE)
a96eae1a33 bump minor version of account_payment_order 2017-11-08 12:31:32 +01:00
Stéphane Bidoul (ACSONE)
13959ba9ed [IMP] set partner on offsetting account move line if possible
fixes #277
2017-11-08 12:31:32 +01:00
Stéphane Bidoul (ACSONE)
e321e2cfb4 [FIX] remove en.po that was erroneously created by transbot 2017-11-08 12:31:32 +01:00
OCA Transbot
bd69101143 OCA Transbot updated translations from Transifex 2017-11-08 12:31:32 +01:00
Alexis de Lattre
1039c8c1be For the communication field, if self.move_id.ref is False, fallback on self.move_id.name 2017-11-08 12:31:32 +01:00
Alexis de Lattre
6f4c9990d7 FIX crash when selecting a customer that has a direct debit payment mode but no mandate
Hide many fields when payment_order_ok is False on a payment_mode
Fix payment line communication when the move line is not linked to an invoice (problem found when porting donation_debit_debit to v9)
2017-11-08 12:31:32 +01:00
Stéphane Bidoul
01e3c2d2ff [FIX] payment order: remove duplicate in previous commit 2017-11-08 12:31:32 +01:00
Stéphane Bidoul
3b0a4a95bf [FIX] payment order: add missing onchange dependencies in move selection wizard 2017-11-08 12:31:32 +01:00
Stéphane Bidoul (ACSONE)
3dca43bcc1 [IMP] account_payment_order: extensibility of _prepare_move
Pass the list of bank lines to _prepare_move so it is possible to customize the move (eg it's name) based on the lines being paid.
2017-11-08 12:31:32 +01:00
Yannick Vaucher
5ae14e1e6d Move the account_payment_mode ir.rule in account_payment_mode module 2017-11-08 12:31:32 +01:00
Pedro M. Baeza
bc7082cfe7 [IMP] account_payment_order: Remove useless migration script 2017-11-08 12:31:32 +01:00
Alexis de Lattre
55bd50361d Add support for multi-currency in the generation of the account move.
Take into account all the remaining remarks of Frederic Clementi dated May 30:
- see multi-currency amounts in the wizard to add transaction lines
- add help msg on bank payment lines
2017-11-08 12:31:32 +01:00
Stéphane Bidoul
13c6b70d1e [FIX] better filtering of move lines already included in open payment order 2017-11-08 12:31:32 +01:00
Stéphane Bidoul
c2a48b1281 [IMP] prevent deleting a move-line that is linked to a payment order line 2017-11-08 12:31:32 +01:00
Alexis de Lattre
beb1170aba Enable the payment methods by default on bank journals (including existing bank journals via post_install scripts)
Enable "Generate Accounting Entries On File Upload" by default
2017-11-08 12:31:32 +01:00
Alexis de Lattre
95d18f3a3b FIX manual payment method 2017-11-08 12:31:32 +01:00
Alexis de Lattre
b4c2521a67 Move field bank_account_required from module account_payment_partner to account_payment_mode
Make the mandate a required field on payment line when the payment method has mandate_required=True
Make the bank account a required field on payment line when the payment method has bank_account_required=True
Minor code cleanup
PEP8
2017-11-08 12:31:32 +01:00
Stéphane Bidoul (ACSONE)
aa0aced0cb Avoid confusion between payment mode and payment method 2017-11-08 12:31:32 +01:00
Alexis de Lattre
efdb8cba03 Add wizard to select several invoices at once and add them to payment order
Fix bug in groupby on bank payment lines
2017-11-08 12:31:32 +01:00
Alexis de Lattre
dd18c5f421 Don't group payment lines that use structured communication 2017-11-08 12:31:32 +01:00
Alexis de Lattre
cf3ef65c9a Add hooks for l10n_ch_sepa (pain.001.001.03.ch.02)
Move code of account_banking_pain_base/models/banking_export_pain.py to account_banking_pain_base/models/account_payment_order.py
Allow cancel when payment order is in "File Generated" state
Add postal address in party block
2017-11-08 12:31:32 +01:00
Alexis de Lattre
2b95506d72 Take into accounts the remarks of Eric Caudal 2017-11-08 12:31:32 +01:00
Alexis de Lattre
88dbbebe43 Add option no_debit_before_maturity on payment mode 2017-11-08 12:31:32 +01:00
Alexis de Lattre
ed265873ce Add support for using bank account as offsetting account in journal entry 2017-11-08 12:31:32 +01:00
Alexis de Lattre
ad162ffacd Avoid empty group in payment mode
Code cleanup in views
2017-11-08 12:31:32 +01:00
Alexis de Lattre
b4f90385fd Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2017-11-08 12:31:32 +01:00
Alexis de Lattre
6b5bcebe88 Payment date should never be in the past. 2017-11-08 12:31:32 +01:00
Alexis de Lattre
aeee028636 Remove 'done' state on payment orders 2017-11-08 12:31:32 +01:00
Alexis de Lattre
f61c03e91a Add module account_banking_mandate_sale
Add option 'mandate_required' on payment orders
Autoselect first valid mandate on customer invoice that have a payment mode 'mandate_required' = True
Add option on select move lines to pay wizard to allow selection of litigation moves (unchecked by default), in order to integrate the feature of the module account_payment_blocking
2017-11-08 12:31:32 +01:00
Alexis de Lattre
cb77ae9450 Copy payment mode and mandate from invoice to refund
Run dos2unix on the few files that had DOS carriage return
2017-11-08 12:31:32 +01:00
Alexis de Lattre
4454a41241 Add option 'target_move' (all or posted) in wizard to select move lines to pay
Remove module account_payment_include_draft_move
2017-11-08 12:31:32 +01:00
Alexis de Lattre
b505cabcd9 Filter on allowed_journal_ids even if onchange of payment_mode_id is not played (for example when the payment line is pushed from the invoice) 2017-11-08 12:31:32 +01:00
Alexis de Lattre
72c22b39d1 PEP8 compliant with the latest version of flake8 2017-11-08 12:31:32 +01:00
Alexis de Lattre
5b0e29c80e Take into account the review of @yvaucher 2017-11-08 12:31:32 +01:00
Alexis de Lattre
8736d5722f Finalise merge of account_banking_payment_transfer into account_payment_order
Add support for transfer moves
Display transfer moves in a dedicated tab in payment order view
Code cleanup
2017-11-08 12:31:32 +01:00
Alexis de Lattre
469af80ee7 Finalise the wizard of selection of move lines to pay
Add button "Add to payment/debit order" on invoice form view
Started to integrate payment transfer in account_payment_order (not finished at all though)
Various fixes/changes/improvements/...
2017-11-08 12:31:32 +01:00
Alexis de Lattre
e00c726c7b Start to port bank-payment to v9 (with a lot of improvements) during the Sorrento Code sprint 2016
Improvements include:
- full re-organisation of modules and big re-organisation of the code
- simplification of the code related to the fact that support for direct debit is now in t
he base module, not added by an optional module account_direct_debit (module was removed)
- new design of the wizard to select move lines to pay
- support for non-SEPA file transfer-
- support for German direct debit SEPA files (fixes bug #129)
- remove workflow of payment.order

This port to v9 is not finished... there is still a lot of work:
- finish the code of account_payment_order/wizard/account_payment_line_create.py
- port account_banking_payment_transfer and integrate it inside account_payment_order
- fix bugs
- clean-up code, remove dead code
- test in several complex scenarios
2017-11-08 12:31:32 +01:00
Jordi Ballester Alomar
5104ee20df Merge pull request #400 from etobella/11.0-mig-account_payment_partner
[11.0] [MIG] account_payment_partner
2017-11-08 12:18:40 +01:00
OCA Git Bot
470a7f96bf [ADD] setup.py 2017-11-08 04:35:03 +01:00
Jordi Ballester
b95b767a5b add tests and small fixes 2017-11-07 15:12:12 +01:00
etobella
e322814034 [MIG] account_payment_partner 2017-11-07 14:04:07 +01:00
OCA Transbot
dab6988c58 OCA Transbot updated translations from Transifex 2017-11-07 14:04:07 +01:00
Pedro M. Baeza
697d7cc08f [FIX] account_banking_mandate/account_payment_partner: Signature changed in convert_to_write 2017-11-07 14:04:07 +01:00
Pedro M. Baeza
9d5589ed16 [IMP] account_payment_partner: Fill payment mode in invoices if none is provided
Using same method as in upstream, payment mode is filled on invoice creation if
no payment method is provided. This way, we don't need to install
account_payment_sale if we don't want to handle several payment modes at sales
level. Even more, if we install the module later and we have already existing
sales orders without payment mode filled, those orders will be invoiced with
the customer payment mode.
2017-11-07 14:04:07 +01:00
Pedro M. Baeza
5623b091d7 [CHG] *: Change copyright and author after company merging 2017-11-07 14:04:07 +01:00
Alexis de Lattre
bede87269e Port almost all modules to v10 (#305)
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug #300)
2017-11-07 14:04:07 +01:00