Commit Graph

27 Commits

Author SHA1 Message Date
Pedro M. Baeza
3d528208e8 [IMP] account_payment_order: Fix views permissions
Without this, pure salesman are not able to see invoices.
2018-12-11 12:39:54 +01:00
Enric Tobella
220a4be697 [FIX] default_partner_id added on partner_bank if it is created. 2018-08-29 17:07:53 +02:00
Alexis de Lattre
620ff30277 Several small usability improvements
- when manually encoding a payment line, get company currency as default currency
- Search on payment order numbers
- Direct search on bank journal name in payment orders
- remove widget="selection" on account.payement.mode : this object is rarely modified, so widget='selection' is not a time saver, but we miss the HTML link, which can be pretty convenient to check the configuration.
2018-05-23 10:05:16 +02:00
Pedro M. Baeza
64394aa392 [FIX] account_payment_order: Fix domain in account.move.line view 2017-12-11 10:44:42 +01:00
Pedro M. Baeza
c02b9f02f2 [FIX] account_payment_order: Correct domain definition on account.payment.line view 2017-12-11 10:33:45 +01:00
Jordi Ballester
ee3c27b747 When the user looks for open payables or receivables, in the
context of payment orders, she should ocus on the amount that
is due to be paid. In this method we are forcing to display both
the amount due in company and in the invoice currency.

We then hide the fields debit and credit, because they add no value.
2017-11-15 14:58:18 +01:00
etobella
4102166a47 [MIG] account_payment_order 2017-11-08 12:31:32 +01:00
gilles
61b6ddea99 [ADD] description field for payment order 2017-11-08 12:31:32 +01:00
mdietrichc2c
2fd87950f2 [IMP] account_payment_order: Don't allow deletion of an uploaded payment order + allow to cancel an uploaded payment order 2017-11-08 12:31:32 +01:00
Alexis de Lattre
441c1339c2 Add field default_date_prefered on payment mode 2017-11-08 12:31:32 +01:00
Alexis de Lattre
6bd9f48aa6 Add 'post_move' option on account.payment.mode 2017-11-08 12:31:32 +01:00
Alexis de Lattre
67ef09a048 [FIX] Bug #353 crash when selecting a payment mode that has a variable link to a bank account 2017-11-08 12:31:32 +01:00
mdietrichc2c
c633e9c34d Fix 2 issues on form view for payment order 2017-11-08 12:31:32 +01:00
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
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
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
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
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
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
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
aeee028636 Remove 'done' state on payment orders 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
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