Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] account: Analytic account domain in reconcile with writeoff wizard
The domain for the analytic account in the `reconcile with writeoff` wizard should be based on the `type` field, which must be `view`, not on the `parent_id` field, as it's done everywhere else (e.g. in the supplier invoice form). `[('parent_id', '!=', False)]` and `[('type', '!=', 'view')]` is almost the same, but the second domain is more appropriate. Closes odoo#4562
- Loading branch information