From 65ce63cb4af48c98f03a7cd0693ca86378d09538 Mon Sep 17 00:00:00 2001 From: "Rucha (Open ERP)" Date: Tue, 6 Dec 2011 17:35:46 +0530 Subject: [PATCH] [ADD]: l10n_be: Added tooltip in vat intra wizard methods bzr revid: rpa@tinyerp.com-20111206120546-un1gyuz74aeygdjh --- addons/l10n_be/wizard/l10n_be_vat_intra.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/addons/l10n_be/wizard/l10n_be_vat_intra.py b/addons/l10n_be/wizard/l10n_be_vat_intra.py index 5a09b973ae7..d61af532ce9 100644 --- a/addons/l10n_be/wizard/l10n_be_vat_intra.py +++ b/addons/l10n_be/wizard/l10n_be_vat_intra.py @@ -68,6 +68,11 @@ class partner_vat_intra(osv.osv_memory): } def _get_datas(self, cr, uid, ids, context=None): + """Collects require data for vat intra xml + :param ids: id of wizard. + :return: dict of all data to be used to generate xml for Partner VAT Intra. + :rtype: dict + """ if context is None: context = {} @@ -175,6 +180,10 @@ class partner_vat_intra(osv.osv_memory): return xmldict def create_xml(self, cursor, user, ids, context=None): + """Creates xml that is to be exported and sent to estate for partner vat intra. + :return: Value for next action. + :rtype: dict + """ mod_obj = self.pool.get('ir.model.data') xml_data = self._get_datas(cursor, user, ids, context=context) data_file = ''