~pedro.baeza/account-analytic/7.0-hr_expense_analytic_plans

Viewing all changes in revision 11.

  • Committer: Joel Grand-Guillaume
  • Date: 2012-12-20 14:20:55 UTC
  • mfrom: (10.1.1 account-analytic)
  • Revision ID: joel.grandguillaume@camptocamp.com-20121220142055-g2m97rbj6kfd9tzz
[MRG][IMP] account_analytic_required: do not enforce policy when credit=debit=0.0

This is useful in some situations where the tax generates move lines with credit=debit=0.0 with a non-zero tax amount (for instance with tax code VAT-IN-V82-21-EU-S in l10n_be). Without this patch the transaction would be rejected when analytic policy is 'required', since analytic accounts are not propagated through taxes in 6.1.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: