
Search In
Hello Readers if you want to update mulitple record by multiple id, then you have to use in clause in MySql
Lets see the example as below:-
$ids = array(474,25, 99,101);
Here I have an array $ids with multiple id's. Now this array will be inse
In OpenERP first current row of the database cursor finds the current user’s ID for security checks. Then This Function return Membership State For Given Partner and return dictionary of membership state Value.
Use this function show below
d
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
To Use amount booked in the company currency in openerp Follow these step to given below
Step-1 Install the account_voucher module.
Step-2 After that custmozie account_voucher module.
In below example, I have custmozied account_voucher module. You
In existing partners first we have to go in .py file (Python file) After that we have to decide where we want Search through the existing partners based on the lead's partner fields and then give start to end Path to that field.Use below .py code in
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
When we apply onclick event to an element, sometimes we need to pass ID of that element to the event handling function. We can do this by passing id to function as this.id or we can pass the element itself.
Example: In the below example I've cre
Step-1 Install the account_voucher module and base module is also.
Step-2 After that customize account_voucher module and sales module:
In below example, I have customized account_voucher module. You can directly use the below account_voucher modul
In OpenERP first, we create custom module and then create function in your existing module and pass parameter in function name is MaterialsRecursive.
In below example I have written Python script to Include only parent level class. Like given below
In the below example code I have changed particular font size by using ttf file. Here I have added ttf file in assets folder using TypeFace class, I have also included zont zip file. You can see the below example it will clearly describe you How to c
