Author Publishing

Creating Cron and Server Action in Odoo 11

Creating Cron and Server Action in Odoo 11

For creation the Cron in odoo11, you will have also have to set model_id fields also as now in odoo11 ir.cron  have the delegate based relationship with ir.actions.server in which the  model_id is set to required. Below code is explaining the delegate based relation between ir.cron and ir.actions.server.   class ir_cron(models.Model): _name = “ir.cron” _order […]

Read More

Performing String and Bytes Data Conversion in Python3.x

Performing String and Bytes Data Conversion in Python3.x

In Python 3.5 String and Bytes are not same as in Python2.7, the manual conversion between them need to done using and  encode<==> decode method. String===>(encode)==>Byte===>(decode)==>String   String Encode: encode(…) method of builtins.str instance S.encode(encoding=’utf-8′, errors=’strict’) -> bytes Bytes Decode: decode(…) method of builtins.bytes instance B.decode(encoding=’utf-8′, errors=’strict’) -> str   While doing Python 2.7 to […]

Read More

Generating API Credentials: Multi Channel Magento1x Odoo Bridge

Generating  API Credentials: Multi Channel Magento1x Odoo Bridge

Multi Channel Magento1x Odoo Bridge extension connects Odoo with Magento1.x version using  SOAP/XML-RPC API . Prior to connecting  Odoo and Magento you need to create an SOAP/XML-RPC API User at  Magento end and place the API User Name and Api Key in Odoo. By default Magento provide 2 types API SOAP/XML-RPC REST In this articles we […]

Read More

Exploring External Dependencies ,Pre and Post INIT Hook In Odoo

Exploring External Dependencies ,Pre and Post  INIT Hook In Odoo

In the __opererp__.py you can use the special keys like: external_dependencies pre_init_hook post_init_hook These keys can be very useful for doing lots of stuff like validating the module compatibility and it’s required dependency ,running some script at the time of installation . External Dependencies In the __openerp __.py you can use external_dependencies key for   declaring   all the external […]

Read More