Most Powerful Open Source ERP

Payment Simulation

How to configure a payment.
  • Last Update:2016-05-16
  • Version:001
  • Language:en

How to configure a payment.

Table of Contents

How to configure payment simulation

To make payment simulation working, you need to configure the followings:

  • payment simulation rule
  • payment conditions

Configure payment simulation rule

To make simulation movements for payment, payment simulation rule should know which 'account' (eg. bank, cash, etc.) should be used as 'source' or 'destination' category.

The configuration of payment simulation rules is similar to the configuration of invoice transaction rules, i.e. you need to add a Predicate first, and then you need to define accounting rule cell to specify 'source' and/or 'destination' category. You can see the example on Products/ERP5/tests/testAccountingRules.py.

Configure payment conditions

The typical procedure is:

  • create a trade condition and configure a payment condition there
  • when the trade condition is applied to the order, the payment condition is automatically copied into the order
  • if you want to modify the payment condition, you can modify the copied one

Related Articles