← Back to team overview

credativ team mailing list archive

[Branch ~credativ/openobject-addons/6.1] Rev 7066: [FIX] Multicompany issue with VAT report

 

------------------------------------------------------------
revno: 7066
committer: Ondřej Kuzník <ondrej.kuznik@xxxxxxxxxxxxxx>
branch nick: addons61
timestamp: Tue 2015-01-06 17:53:40 +0000
message:
  [FIX] Multicompany issue with VAT report
modified:
  account/wizard/account_vat.py


--
lp:~credativ/openobject-addons/6.1
https://code.launchpad.net/~credativ/openobject-addons/6.1

Your team credativ is subscribed to branch lp:~credativ/openobject-addons/6.1.
To unsubscribe from this branch go to https://code.launchpad.net/~credativ/openobject-addons/6.1/+edit-subscription
=== modified file 'account/wizard/account_vat.py'
--- account/wizard/account_vat.py	2012-05-01 14:16:10 +0000
+++ account/wizard/account_vat.py	2015-01-06 17:53:40 +0000
@@ -30,6 +30,7 @@
                                       ('payments', 'Payments'),],
                                       'Based on', required=True),
         'chart_tax_id': fields.many2one('account.tax.code', 'Chart of Tax', help='Select Charts of Taxes', required=True, domain = [('parent_id','=', False)]),
+        'company_id': fields.related('chart_tax_id', 'company_id', type='many2one', relation='res.company', string='Company', readonly=True),
         'display_detail': fields.boolean('Display Account Detail'),
         'detailed': fields.boolean('Display Journal Items Detail', help='Report will show individual account move lines instead of the total for the tax code',),
     }