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

Search In

How to check and complete value of journal entry method in Odoo

If you want to check and complete value of journal entry method in Odoo follow the following code:   if 'account_id' not in vals or 'journal_id' not in vals: raise UserError(_("It is mandatory to specify an account and a journal t

How can I get the session ID in Laravel?

In some situation we need session id. In Laravel 3 and Laravel 4.x we have predefined function by which we can get session id. In laravel 3 we will get session id: Laravel 3: $session_id =_COOKIE["laravel_session"]; Laravel 4.x: $session_id = S

How to set process in subscription module in openerp?

To set process in subscription module, first you need to install subscription module and set interval number and interval type fields in subscription module is used to set the process. You can use this function as given below def process(self, cr,

How to check company unique or not in openerp

To configure and check weather the company is single or double in openerp you have to write this function in your own module in .py file, def check&_companyuniq(self, cr, uid, ids, context=None): sr_id = self.search(cr,uid,[],context=con

Type of Response while making API

While making API you can have different kind of response and you have to handle that for displaying data public IHttpActionResult GetDetails(string Id) { logger.Info("GetDetailsById method called"); // BadRequest det

  • 205
How to perform all checks on lines in Odoo?

If you want to perform all checks on lines in Odoo follow the following code: if 'account_id' not in vals or 'journal_id' not in vals: raise UserError(_("It is mandatory to specify an account and a journal to create a write-off."))

How to make sure the invoice due date should contain due date,entered by user when there is no payment term defined in OpenERP/Odoo.

If you want make sure the invoice due date should contain due date ,entered by user when there is no payment term defined in Odoo you have to customized .py file in account.invoice module.For example you can see below code . import itertools from l

Get country name of first contact of a partner related to ID sale order in OpenERP/Odoo

If you want to get the country name of the first contact of a partner related to the ID sale order in OpenERP use below code - country_name = sale.partner_id.address[0].country_id.name

How to each product partial reconciliation in OpenERP(Odoo)

In OpenERP first, create custom module and than override the function in .py file in custom module  and pass this file to the __init__.py file. Then get the correct line residual amount  and pass this line in account invoice. using thi

How to Use Calculation of an Aggregate Function as Filter Criteria?

I have tables on booking orders for trips. Bookings (booking_id, booking_time, driver_id, customer_id) Drivers (driver_id, name) I need to identify all customers who have had at least 60% of their bookings completed by the same driver within the last

1 … 55 … 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: