diff options
| author | Raphael Collet <rco@openerp.com> | 2014-08-05 10:01:07 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2014-08-05 10:01:07 +0200 |
| commit | c0997d332adf78eb42fc3a1a1280dfa25889e7d5 (patch) | |
| tree | cc895d09b9a1eb8d3ac7222c227e7edab2b328a2 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | dbca34511e141144ac6add55400ef529bdfa07b1 (diff) | |
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
Problem: the field account_invoice.reconciled was invalidated by a workflow
signal sent from the compute method of the field. The purpose of the signal was
to re-open the invoice when the account move lines were no longer reconciled,
for instance after cancelling a reconciliation.
Solution: modify the workflow such that it makes an automatic transition from
'paid' to 're-open' when the condition 'not reconciled' is met. This works
because the field 'reconciled' is stored, and each recomputation forces a
reevaluation the workflow. The signal to re-open the invoice is thus no longer
necessary.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
