Browse Source

. Implemented the fiscal representative : for example, when you ship to the EU but invoice outside of the EU, your customer needs to have a fiscal representative inside the EU, which will be used for the DEB

. depend on base_vat instead of account.
pull/79/head^2
Alexis de Lattre 13 years ago
parent
commit
872800c76d
  1. 2
      intrastat_base/__terp__.py
  2. 1
      intrastat_base/intrastat_common.py

2
intrastat_base/__terp__.py

@ -39,7 +39,7 @@ Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for
""",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': ['account'],
'depends': ['base_vat'],
'init_xml': ['country_data.xml'],
'update_xml': [
'security/ir.model.access.csv',

1
intrastat_base/intrastat_common.py

@ -105,6 +105,7 @@ class report_intrastat_common(osv.osv_memory):
def _open_attach_view(self, cr, uid, attach_id, title='XML file', context=None):
'''Returns an action which opens the form view of the corresponding attachement'''
# Only works in v6 -> not used in v5
action = {
'name': title,
'view_type': 'form',

Loading…
Cancel
Save