. 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.

This commit is contained in:
Alexis de Lattre
2011-06-06 20:42:04 +02:00
committed by Alexis de Lattre
parent 9e5b2cb7c4
commit 2ea16f5a78
2 changed files with 2 additions and 1 deletions

View File

@@ -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',

View File

@@ -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',