Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to check credential key in avalara-salestax in OpenERP/Odoo ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 151
    Comment on it

    Step-1 Go to avalara_salestax module.
    Step-2 avalara_salestax->account_tax.py.
    Step-3 After that used below code in account_tax.py file.

     avalara_obj = AvaTaxService(avatax_config.account_number, avatax_config.license_key,
                                     avatax_config.service_url, avatax_config.request_timeout, avatax_config.logging)
            avalara_obj.create_tax_service()
            addSvc = avalara_obj.create_address_service().addressSvc
            origin = BaseAddress(addSvc, ship_from_address.street or None,
                                 ship_from_address.street2 or None,
                                 ship_from_address.city, ship_from_address.zip,
                                 ship_from_address.state_id and ship_from_address.state_id.code or None,
                                 ship_from_address.country_id and ship_from_address.country_id.code or None, 0).data
            destination = BaseAddress(addSvc, shipping_address.street or None,
                                      shipping_address.street2 or None,
                                      shipping_address.city, shipping_address.zip,
                                      shipping_address.state_id and shipping_address.state_id.code or None,
                                      shipping_address.country_id and shipping_address.country_id.code or None, 1).data

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: