Commit Graph

25 Commits

Author SHA1 Message Date
Luc De Meyer
7c3d7ff7bd move Debit Order after Payments in Customer menu 2020-07-25 17:55:23 +02:00
Luc De Meyer
47febefe8d [13.0][IMP]move payment order menus 2020-07-24 20:47:32 +02:00
Alexis de Lattre
16fe869244 Fix state condition on invoice view 2020-06-06 23:37:16 +02:00
OCA-git-bot
35d87a1723 Merge PR #712 into 13.0
Signed-off-by pedrobaeza
2020-05-29 07:47:28 +00:00
Valentin Vinagre Urteaga
234d07e3c3 [FIX] account_payment_order: fix the attachment file name & dowload.
Case: After the configuration of a debit order and generating the .xml file, user can't download it from the next step screen using the download link.
This fix makes the .xml file downloadable from the .xml file name as it was in older versions
2020-05-28 20:21:31 +02:00
Valentin Vinagre Urteaga
15219150e6 [FIX] account_payment_order: fix payment orders from invoice tree view
Case: User can't add invoices to payment/debit orders from the tree view but it's still possible to add them one by one from the form view.
- Remove binding_views="form": by default are "tree & form".
With this fix, users can add payment/debit orders from the invoice tree view
2020-05-28 20:18:37 +02:00
Stefan Rijnhart
dad347ddb0 [FIX] Set priority on alternate view 2020-05-15 18:16:52 +02:00
Raf Ven
1e6ce5225e [MIG] account_payment_order: Migration to 13.0 2020-03-17 17:12:10 +01:00
Raf Ven
3506c0ad12 [IMP] account_payment_order: black, isort 2020-03-17 17:12:10 +01:00
Pedro M. Baeza
551be31d76 [FIX] account_payment_order: Restore colors in payment order tree view 2020-03-17 17:11:23 +01:00
Thomas Binsfeld
559bbbcf03 [ADD] Payment Order: only payment order option on payment methods
New option on payment methods: payment order only (unchecked by default) allowing to enforce the use of payment orders for some payment methods
2020-03-17 17:11:23 +01:00
Pedro M. Baeza
f52b6dd3f7 [FIX] account_payment_order: Fix journal domain
Steps to reproduce
------------------

* Create a payment mode with "Link to Bank Account" = "Variable".
* Select several journals.
* Create a payment order with that payment mode.
* Save.
* Go to other menu and come back to payment order.
* Try to select a journal: the list is empty.

Fixes #544
2020-03-17 17:11:23 +01:00
Pedro M. Baeza
3d8012f2d2 [MIG] account_payment_order: Finish migration to v12
* Removed deprecated YAML tests.
* Removed document dependency, as now there's no attachment dropdown.
* Switched deprecated `compute` method of res.currency.
* Restored missing field `reference_type` in invoices.
* Fixed call to `message_post`.
* Added missing description in model.
2020-03-17 17:11:22 +01:00
Enric Tobella
ed98ebab61 [FIX] default_partner_id added on partner_bank if it is created. 2020-03-17 17:11:22 +01:00
Alexis de Lattre
16bf3c23de 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.
2020-03-17 17:11:22 +01:00
Pedro M. Baeza
3ada208bc9 [FIX] account_payment_order: Correct domain definition on account.payment.line view 2020-03-17 17:11:22 +01:00
Jordi Ballester
3f23e9814a 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.
2020-03-17 17:11:22 +01:00
etobella
bc19537abf [MIG] account_payment_order 2020-03-17 17:11:22 +01:00
gilles
1064831e46 [ADD] description field for payment order 2020-03-17 17:11:22 +01:00
mdietrichc2c
757127c3f4 [IMP] account_payment_order: Don't allow deletion of an uploaded payment order + allow to cancel an uploaded payment order 2020-03-17 17:11:22 +01:00
Alexis de Lattre
e119d02831 [FIX+IMP] account_payment_order:
* FIX: Bug #353 crash when selecting a payment mode that has a variable link to a bank account
* FIX: Add 'post_move' option on account.payment.mode with default True, to keep the previous behavior
* IMP: Explicit error when bank account is missing on bank journal
* IMP: Add field default_date_prefered on payment mode.
2020-03-17 17:11:22 +01:00
mdietrichc2c
e9843f4643 Fix 2 issues on form view for payment order 2020-03-17 17:11:22 +01:00
Alexis de Lattre
b61019c384 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)
2020-03-17 17:11:22 +01:00
Alexis de Lattre
9ab681ca81 [FIX] account_payment_order: 4 things:
* 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)
* For the communication field, if self.move_id.ref is False, fallback on self.move_id.name
2020-03-17 17:11:22 +01:00
Alexis de Lattre
b3f57db604 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
- add wizard of selection of move lines to pay
2020-03-17 17:11:22 +01:00