mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
. 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:
committed by
Alexis de Lattre
parent
9e5b2cb7c4
commit
2ea16f5a78
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user