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

Search In

How to Compute the quantity invoiced If case of a refund in openerp(odoo)-9

To Compute the quantity invoiced If case of a refund in openerp to Compute the quantity invoiced. If case of a refund, the quantity invoiced is decreased. Note that this is the case only if the refund is generated from and function given below to us

How to copy data form account_invoice_line table in PostgreSQL

To copy data from account_invoice_line table in account module in PostgreSQL use this code in pgadmin and user can copy data from account_invoice_line table. Copy account_invoice_lines copy (SELECT * FROM account_invoice_lines INNER JOIN account

How to make readonly field in OpenERP(Odoo) ?

In readonly field first we have to go in .py file (python file) After that we have to decide where we want readonly field and then give attribute readonly to that field. See below python code in py file for reference : - class spartner(osv.osv):

How to create membership IDs in OpenERP

In OpenERP first we create the form and browse the record of  account invoice line and then select to the product in product form and then find to the the current user’s ID for security checks. In account invoice line we check to

How to return Membership State For Given Partner in OpenERP

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

How to create Membership State for Given Partner in OpenERP

In OpenERP first create partner and then validate the partner form. After this compare it with the membership of the other partner. Then standard dictionary for contextual values and the dictionary of Membership state Value. Use this function show b

How to get the invoice associate with the picking of invoice in OpenERP/Odoo ?

Step-1 Go to picking_invoice_relation module. Step-2 invoice->invoice.py. Step-3 After that used below code in invoice.py file. if not isinstance(ids, types.ListType): # Ensure it is a list before proceeding. ids = [ids]

Get a many2one field in a list with domain

To get a many2one field of another model in your model as a drop-down list, you have to define a column or a field and a write a function for it. Suppose, you want to get a list of invoices in a drop down list based on the customer selected or base

How to generate invoice programmatically in magento ?

In magento lets see, if we are required to generate invoices of the orders from admin panel. how we can do it: 1.  Create a file config.xml in etc folder in our module. 2. Then Create a controller folder in which add Adminhtml folder which cont

How to generate programmatically invoices of the orders and their pdf consecutively in magento?

In Magento lets see if we are required to generate invoices of the orders and their pdf consecutively from admin panel. how we can do it: 1. Create a file config.xml in an etc folder in our module. 2. Then Create a controller folder in which ad

prev 1 3 11
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: