Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to use fgets in PHP

Hello Reader's If you need to read a given file line by line then PHP will offer you to use Fgets to do. Lets see it's example as below:- $handle = fopen("yourfile.txt", "r"); if ($handle) { while (($line = fgets($handle)) !== false) {

How to adds a separator line in OpenERP/Odoo ?

To add a separator line separator string is used, below us the way to do this. Go to .xml file and use the below code . <separator string="Session" colspan="4"/> <field name="session" nolabel="1"> <tree> <field name="name"/>

How to get access right in OpenERP(Odoo)?

If you want to get access right in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: → class test_partner_firstname(common.TransactionCase): def setUp(self): super(test_partner_firstname, self).setUp() self.user_mode

How to make print a report in OpenERP(Odoo)?

If you want to make print a report in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: - def _get_invoice_id(self, uid, datas): ... return {’ids’: [...]} ... ’actions’: [_get_invoice_id], ’result’: {’type’:’print’,

How to use greetingswidget in OpenERP/Odoo ?

If you want to use greetingswidget in OpenERP(Odoo) follow the below mentioned code and paste it in your wizard .js file: local.HomePage = instance.Widget.extend({ start: function() { this.$el.append("Hello dear Odoo user!"); va

How to use widget parents and Children in OpenERP/Odoo ?

If you want to widget parents and Children in OpenERP(Odoo) follow the below mentioned code and paste it in your wizard .js file: local.HomePage = instance.Widget.extend({ start: function() { var greeting = new local.GreetingsWidget(thi

How to inherit the modules in OpenERP (Odoo) ?

First we have to look customized module, according to there requirement fields class, model and then we have to decide to inherit existing module. As in below .py (Python file):- class Demo(osv.osv): _inherit='sale.order.line' // sale.order.l

How to manage counterpart in Point of sale in OpenERP(Odoo)?

Below is a code of Python script for counterpart. Below python code is written in .py file : insert_data('counter_part', { 'name': _("Trade Receivables"), #order.name, 'account_id': order_account, 'cr

How to find available user in live chat in OpenERP(Odoo)?

In below example, I have written Python script to find available user in live chat . If you are stuck in such case then directly copy below python code in your .py file: users = self.get_available_users(cr, uid, channel_id, context=context)

How to Convert OST File to PST in Outlook 2010 / 2013 Manually

Offline OST file is a medium, which allows to access the Exchange mailbox folders on a local machine. It can also be accessed by another account that was only created. Even if users want to access the OST file on different location via Outlook client

1 … 12 … 130
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: