
Search In
Below is a code of Python script for counterpart. Below python code is written in .py file :
insert_data('counter_part', {
'name': _("Trade Receivables"), #order.name,
'account_id': order_account,
'cr
If you want to check amounts in the partial reconcile table aren't signed or not then follow the following code .
amount = abs(line.debit - line.credit)
amount_residual_currency = abs(line.amount_currency) or 0.0
sign =
In OpenERP first we create custom module and module name is account_demo and then create four file like as __init__.py, __openerp__.py, account_demo.py, account_demo.xml file in your module and create function and function name like accoutss_residual
Using a credit card has many benefits, including zero interest on purchases for a period of 30 days, no cash advance fee, and grace periods for payment arrangements. The card is best for paying off the balance as much as possible each month. Addition
To maintain the data integrity sometimes we need the changes to database to occur when all of the actions have successfully finished. One of the examples is funds transfer from one account to another. One account should be debited and another a
If you want to use the amount booked in the company currency as the basis of the conversion into the voucher currency in OpenERP(Odoo) follow the below given steps-
Step-1 Install the account_voucher module.
Step-2 After that customize account_vouch
If you want to put the invoice link and partner_id on the account_move follow the following code :
invoice_id = fields.Many2one('account.invoice', oldname="invoice")
partner_id = fields.Many2one('res.partner', string='Partner', index=True, ond
If you want to get right debit / credit in accounting module follow the following code .
target_currency = target_currency or company_currency
line_currency = line.currency_id or company_currency
amount_currency_str = ""
Step-1 Install partner_res module.
Step-2 After that, install partner_res module.
In below example, I have customised partner_report module. You can directly use the below partner_res module in your addons and run in Odoo server.
import time
fro
In OpenERP first, install the account module and then create the own module and relate it to the fields payment term in account module.
Follow these steps given below:
Step1- First create add_penalty.py file in your own module and pass this file in
