~camptocamp/carriers-deliveries/vre-configuration-test-postlogitics-ireland

« back to all changes in this revision

Viewing changes to delivery_carrier_label_postlogistics/company.py

  • Committer: Vincent Renaville
  • Date: 2014-07-23 07:00:50 UTC
  • Revision ID: vincent.renaville@camptocamp.com-20140723070050-j7gj3wkf8j56hu15
[FIX] Add new delivery file for testing new service migrated to irland

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    _inherit = 'res.company'
27
27
 
28
28
    def _get_wsdl_url(self, cr, uid, ids, field_name, arg, context=None):
29
 
        wsdl_file, wsdl_path = file_open('delivery_carrier_label_postlogistics/data/barcode_v2_2.wsdl', pathinfo=True)
 
29
        wsdl_file, wsdl_path = file_open('delivery_carrier_label_postlogistics/data/barcode_v2_2_test.wsdl', pathinfo=True)
30
30
        wsdl_url = 'file://' + wsdl_path
31
31
        res = dict.fromkeys(ids, wsdl_url)
32
32
        return res