
Search In
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
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."))


Hi Friends,
We always face challenges when we don't have an amazon account or we don't want to open amazon account and give credit card credentials. So I came up with a solution where you can see step by step how to setup server or map elastic addres
In below example I have written Python script to the partner's sale currency . Use below python code in .py file :
for order in self.pool.get('pos.order').browse(cr, uid, ids, context=context):
if order.invoice_id:
i
Online business is increasing rapidly, and as per the survey, the growth of online business worldwide is remarkably faster as compared to traditional businesses. Due to this, So many established business houses have already started selling their prod
In below example, I have written Python script for each tax group. see below python code in .py file :
(tax_code_pos, base_code_pos, account_pos, tax_id)= (0, 1, 2, 3)
for key, tax_amount in group_tax.items():
tax = s
If you want to create and exchange rate difference journal entry in Odoo follow the following code:
rate_diff = rec.debit_move_id.debit / rec.debit_move_id.amount_currency - rec.credit_move_id.credit / -rec.credit_move_id.amount_currency
Hi All,
I was searching for multiple skype window in linux (Ubuntu 13.10) and found lot of options but they are quite complicated for beginners. I found a post and found a simple and working option:
1: Open run window (Alt+ F2 or direct click on ic
If you want to get the outstanding residual value in invoice currency in Odoo then follow the following code in your .py file.
# -*- coding: utf-8 -*-
import json
from lxml import etree
from datetime import datetime
from dateutil.relativedelta imp
You’ve probably spent a number of months of your life in checkout queues – even if it feels longer. But ‘someone’ has worked out a way to beat the system. ‘Amazon’ has gone past offering fashion and beauty products
