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