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

Search In

How to generate programmatically invoices of the orders and their pdf consecutively in magento?

In Magento lets see if we are required to generate invoices of the orders and their pdf consecutively from admin panel. how we can do it: 1. Create a file config.xml in an etc folder in our module. 2. Then Create a controller folder in which ad

How to transfer stock in product module in Odoo-9

If you want transfer stock in Product module you have to follow the following code in your .py file. class stock_immediate_transfer(models.TransientModel): _inherit = 'stock.immediate.transfer' @api.multi def process(self): self.ensure_one()

How to Hit Delete API of MVC5

Hi, I am trying to hit a MVC web API for deleting the record but i am getting the error that no resource found. I am able to hit the API using PostMan and fiddler but i am unable to hit it using Rest Clinet. Here is my code var request = new RestRe

How to define the _sel_ function in OpenERP/Odoo ?

If you want to make the _sel_ function in OpenERP use below code - def _sel_func(self, cr, uid, context={}): obj = self.pool.get(’Test.relation.model’) ids = obj.search(cr, uid, []) res = obj.read(cr, uid, ids, [’Demo’, ’id’], context) res = [(r[’id

How to extract website tittle using the given URL

Hello Reader's! If you having a set of given url's you need just the title of them, then you can use the PHP code below to extract title <?php function TitleURL($YourURL){ $str = file_get_contents($YourURL); if(strlen($str)>0){ $str

How to subtract days from a given date?

Hello Reader's. If you have given a date and you just need to add or subtract number of days from it then you can use the code below:- var SubDays = 15; $.datepicker.formatDate('yy/mm/dd', new Date() - SubDays) ; Or you can also calculate as follo

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 get count records in OpenERP/Odoo ?

In count records retrieve a list of records and count them, search_count() can be used to retrieve only the number of records matching the query. It takes the same domain filter as search() and no other parameter.For example code is like below. mode

How to use defaults function in OpenERP(Odoo)?

In defaults function first we have to go in .py file (python file) After that we have to decide where we want defaults function and then give attribute defaults function to that field. See below python code in .py file for reference : -class hr_empl

how to consume Asp.net webservice from php client

I have tried this code: require_once('php/lib/nusoap.php'); $client = new nusoap_client('http://210.212.23.51/rtpsappeal/service1.asmx?WSDL',true); $userKey = "Zxo7654IBN"; $applicationId = '040172192101500191'; $result = $client->call(

1 100 408
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: