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

Search In

How to create function to returns value of product name, unit price based on event in OpenERP?

In OpenERP first you have to create the product and price of the product and then relate both price and product to the event form and return the value of the product and validate it to database like as in param self and param cr. Param self mean

Create a Delete Method for API : Error Method Map Undefined

@DeleteMapping("/term/{id}") public ResponseEntity <?> deleteTerm (@PathVariable(value="id")Long termId) { return ((Object) termService.findById(Id)).map(term -> { termService.delete(term); return ResponseEntit

Laravel, get last insert id using Eloquent

Laravel 4.x we have a facility to get last inserted id easily. By showing one of my code you will get easily understanding. Example: $karmaNote = new Karmanote; $karmaNote ->reqid = $meetingId; $karmaNote ->connectionidgGi

How to return models and ids of the user's in OpenERP?

In OpenERP first we create user's in user's form. Then the access of user's models res_users and pass the ids of the user's. After passing ids of the user's then user's selection will active and Return a tuple. Use this funct

How to make Long Term Agreement (Framework Agreement) for purchases in OpenERP/Odoo ?

Step-1 Install the Framework_agreement module. Step-2 Framework_agreement->Model->Purchases.py Step-3 After that custmozie purchases.py(Python file) file: In below example, I have custmozied purchases.py file. You can directly copy the below py

How to find BoM for particular product and product_uom in Odoo?

In Odoo first, we have to create own modules and then create a function to find the BOM in our own modules. After this, we will search product on the basis of the product_tmpl_id and relate it to the BOM.  Here, product_uom is the Unit of mea

How to create function of open event registration and send email to user in OpenERP

In OpenERP, first we create registration in event form and then pass the param ids like as list of event registration's IDs and also mapp to the standard dictionary for contextual values than we create email for users and validate to the event fo

How to function called by the js in OpenERP

In OpenERP first we will create the function and then create js file.  After this the no Google doc were associated with a record, with the aim to create one then no config is associated with the res_model, and hence it will result a blank text

Convert the amount in company currency using the currency rate and voucher conversion in openerp

To convert the amount in company currency using the currency rate and voucher conversion in openerp. use this function def _convert_amount in .py file in account voucher module in openerp def _convert_amount(self, cr, uid, amount, voucher_id, contex

How to apply ir_rules by filtering out in Odoo?

If you want to apply ir_rules by filtering out follow the following code . rows = self.env.cr.dictfetchall() ids = [x['account_id'] for x in rows] allowed_ids = set(self.env['account.account'].browse(ids).ids) rows = [row f

1 … 54 … 466
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: