Commit Graph

4 Commits

Author SHA1 Message Date
Thomas Binsfeld
f210639941 [REF+IMP] account_payment_order: invoice addition + move generation + restrict payment modes selection on orders
- allow add to order from invoice if order exists
- payment line creation from move line
  Benefits of the batch creation of Odoo 12.0
  The method returns the created payment lines
- split generate_move method
- 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
2024-02-26 22:06:41 +01:00
Jordi Ballester
6c1eb20bbf 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.
2024-02-26 22:06:40 +01:00
etobella
47e7e895f6 [MIG] account_payment_order 2024-02-26 22:06:40 +01:00
Akim Juillerat
e1352c972d [IMP] account_payment_order: Restriction + tests
* Restrict the deletion of bank payment line
* Add test_cancel_payment_order
2024-02-26 22:06:40 +01:00