
Search In
To Create a transit location with company_id being the given company_id. This is needed in case of resupply routes between warehouses belonging to the same company, because we don't want to create accounting entries at that time. For this use this co
Sometimes when we delete few or all records from a table, we may want ids of records to be in sync with the last record or the first one, but what we get is that new ids with a significant amount of gap have been generated, for example if it should b
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 define Payment Transaction in sale order in sale module then first override the function and inherit to the view from sale and add fields acquirer_name in sale order model and set default draft method and use this function in your own module. Use
To override the function first install the sale module and override the class sale.order and set draft and use feedback function as show in given below code
def feedback(self, cr, uid, data, acquirer_name, context=None):
tx = None
r
While writing queries we use paranthesis while writing Table Name or Column Name
This is so because if you have any keyword used in your column or table no conflict can occur
-- To get User Details
SELECT @TargetUserID=[ID] ,@CompanyID=[C
This is our ruby on rails view from where called our jquery function().
<td id= <%= "reject_#{event.id}" %>>
<%= button_tag "Accept" , :onclick => "abc('#{event.id}', 'Accept');" %>
&
For deleting user information in cake php by clicking on delete button we have to first pass user id in URL by using below code in our view.
<?php echo $this->Html->link('Delete',array('action'=>'del'.$user['User']['id']));
And we hav
In OpenERP first create custom module and inherit the email_template object in your own module. Then create templates in .xml file.
Follow these step given below:
Step1- First, create module like: test and then create .py file like as: test
Hello Reader!. If you dealing with a array full of unsorted keys then you can use some of the syntax to sort them in any order, Consider the cases below:-
var MyArray = [
{ Entry: { Fname: 'Micky', Lname: 'Jones' }, CustomerID: 56563 },
{ E
