Commit Graph

1196 Commits

Author SHA1 Message Date
Alexis de Lattre
b9e629b031 Add unittest for SEPA direct debit 2016-06-19 23:25:19 +02:00
Alexis de Lattre
717798b45e Better test that include several invoices (to test grouping) and refunds 2016-06-18 15:37:35 +02:00
Alexis de Lattre
c5ad5334ab Add a unit test 2016-06-16 23:23:32 +02:00
Alexis de Lattre
0d311316ac 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
2016-06-16 16:51:03 +02:00
Alexis de Lattre
e5769e665e FIX manual payment method 2016-06-16 15:19:01 +02:00
Alexis de Lattre
0e64b0295a 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
2016-06-14 22:25:23 +02:00
Alexis de Lattre
99d2403b8f Fix crash in mandate report 2016-06-11 10:38:50 +02:00
Alexis de Lattre
21bc911b20 Better handling of partner_bank_id and mandate_id on invoice: invisible/required/onchange 2016-06-07 00:58:19 +02:00
Alexis de Lattre
ca4dc40c14 Store field acc_type on res.partner.bank, so that we can search and groupby on it 2016-06-06 19:17:10 +02:00
Alexis de Lattre
4e548dacef Add wizard to select several invoices at once and add them to payment order
Fix bug in groupby on bank payment lines
2016-06-06 18:53:55 +02:00
Alexis de Lattre
8ebdcd0200 Simpler variable names
Rename method
2016-06-06 15:57:36 +02:00
Alexis de Lattre
0ed4046ae7 Move the code that generate the bank account number in the SEPA XML file in a dedicated method 2016-06-06 14:36:51 +02:00
Alexis de Lattre
b5588d9052 Add the bank_line as argument to some methods that generate SEPA XML 2016-06-06 14:05:43 +02:00
Alexis de Lattre
e885be0e12 Add local instrucment in PmtInfId to warranty unicity 2016-06-06 11:46:08 +02:00
Alexis de Lattre
020f9a4a0b Don't group payment lines that use structured communication 2016-06-06 11:21:52 +02:00
Alexis de Lattre
c6f0f5c805 Merge branch '9-sorrento-code-sprint' of github.com:akretion/banking into 9-sorrento-code-sprint 2016-06-05 00:45:12 +02:00
Alexis de Lattre
b094ad5da8 Add field local_instrument in payment lines and bank payment lines 2016-06-05 00:44:27 +02:00
Alexis de Lattre
190102306d Merge pull request #2 from acsone/setup-sbi
remove obsolete setup.py files that came from the 8.0 branch
2016-06-04 23:06:38 +02:00
Stéphane Bidoul
d476de0b5d pep8 long line 2016-06-04 14:50:04 +02:00
Stéphane Bidoul
7e23c1d133 remote obsolete setup.py files 2016-06-04 14:37:30 +02:00
Alexis de Lattre
7370d174f0 Adds flexibility to support direct debit direct debit for switzerland (pain.008.001.02.ch.01)
Implement SEPA Core recommandations for postal address
2016-06-03 22:58:07 +02:00
Alexis de Lattre
ebf6741c16 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
2016-06-02 23:58:02 +02:00
Alexis de Lattre
386abad7f1 Merge pull request #1 from acsone/9.0-bp-setup-ape
[ADD] setup.py
2016-05-30 12:49:36 +02:00
Adrien Peiffer (ACSONE)
c6160de1cb [ADD] setup.py 2016-05-30 12:11:18 +02:00
Alexis de Lattre
bb66685735 name of payment mode is now translatable 2016-05-26 10:27:26 +02:00
Alexis de Lattre
d4d6a301b7 Take into accounts the remarks of Eric Caudal 2016-05-23 10:42:28 +02:00
Alexis de Lattre
bf8b706f1d No creation of bank accounts linked to contacts 2016-05-12 00:03:21 +02:00
Alexis de Lattre
fb6f93c351 Add ICS in account settings page 2016-05-11 23:33:29 +02:00
Alexis de Lattre
69264e5885 Add option no_debit_before_maturity on payment mode 2016-05-11 23:16:02 +02:00
Alexis de Lattre
7e727e62ca FIX use of communication type 2016-05-11 22:59:15 +02:00
Alexis de Lattre
4410acfb30 Add support for using bank account as offsetting account in journal entry 2016-05-11 22:48:48 +02:00
Alexis de Lattre
8ae4c6042f Add number of mandates in partner form (similar to number of bank accounts) 2016-05-10 23:47:01 +02:00
Alexis de Lattre
79e56499cd Avoid empty group in payment mode
Code cleanup in views
2016-05-10 23:28:38 +02:00
Alexis de Lattre
4e6261a9b1 Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2016-05-10 23:16:31 +02:00
Alexis de Lattre
b0c10a708d Add support for non-SEPA DD and CT without without IBANs 2016-05-09 23:23:43 +02:00
Alexis de Lattre
edc793f2c4 Payment date should never be in the past. 2016-05-09 22:06:55 +02:00
Alexis de Lattre
b48614cb71 Remove 'done' state on payment orders 2016-05-08 14:38:48 +02:00
Alexis de Lattre
8deb338ccb Add _id suffix on M2O fields customer_payment_mode and supplier_payment_mode (Odoo did the same on all the M2O property fields of res.partner) 2016-05-08 00:11:26 +02:00
Alexis de Lattre
ccb7e9f2a2 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
2016-05-07 23:55:46 +02:00
Alexis de Lattre
3b10598b36 Copy payment mode and mandate from invoice to refund
Run dos2unix on the few files that had DOS carriage return
2016-05-07 22:02:49 +02:00
Alexis de Lattre
882e0e5292 Add option 'target_move' (all or posted) in wizard to select move lines to pay
Remove module account_payment_include_draft_move
2016-05-07 20:13:22 +02:00
Alexis de Lattre
12a2076c1f 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) 2016-05-07 17:07:15 +02:00
Alexis de Lattre
2e9b5dcf2a Fix tests of account_banking_mandate 2016-05-07 15:27:02 +02:00
Alexis de Lattre
aefdda2ae3 PEP8 compliant with the latest version of flake8 2016-05-07 01:39:35 +02:00
Alexis de Lattre
777159e19f Take into account the review of @yvaucher 2016-05-07 01:33:42 +02:00
Alexis de Lattre
601d162d49 Remove module account_payment_purchase 2016-05-07 00:33:18 +02:00
Alexis de Lattre
51301645fa 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
2016-05-06 22:14:56 +02:00
Alexis de Lattre
eb7003f6c3 Update and re-enable demo data 2016-05-06 19:37:26 +02:00
Alexis de Lattre
9a998477b2 bank_bic on res.partner.bank is a related field in v9 and is not displayed in form view, so no need for explainations any more 2016-05-06 12:37:31 +02:00
Alexis de Lattre
43fe153eb3 Remove module account_payment_sale_stock 2016-05-06 01:19:25 +02:00