~altegra/altegra/altegra_dev_gio

« back to all changes in this revision

Viewing changes to analytical_account_groups_altegra/account_voucher.py

  • Committer: Edgar Romero
  • Date: 2013-01-29 00:07:19 UTC
  • mfrom: (79.2.2 altegra_dev_carlos)
  • Revision ID: edgar.romero@grupoaltegra.com-20130129000719-n83jpzlumq1rcxed
[ADD] Added a group that only this can cancel the internal order.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        analytic_line_obj = self.pool.get('account.analytic.line')
55
55
        if context is None:
56
56
            context = {}
 
57
        group_analytic_ids = []
57
58
        move_pool = self.pool.get('account.move')
58
59
        move_line_pool = self.pool.get('account.move.line')
59
60
        for voucher in self.browse(cr, uid, ids, context=context):