How to Show Sample Data in Odoo Tree or Kanban View ? – CBMS Odoo ERP

From version 14, Odoo has introduced a new interactive way to display their models. They provide the opportunity to display dummy data if no records exist within the model while accessing their tree, kanban, graph, or pivot view. These data appear as blurred views in their respective view forms and this gives the user a […]

Automated Actions Using Odoo 14 Studio – CBMS Odoo ERP

Automated actions can be used to automatically trigger actions based on some conditions. We can use them to automatically perform some operations on records that meet certain criteria or based on time conditions. Automated Actions are a powerful way to add functionality to Odoo without any programming. Also, if you are using Odoo Online you […]

How to Create & Share Promotional Codes in E-commerce Odoo 14? – CBMS Odoo ERP

Promotional programs can be used as a marketing tool where you can target the specific audience and can implement the loyalty program. This video explains how these promotional programs are created and learn how to encourage potential customers to use promo codes on your eCommerce and increase your sales. #odoo #odoo14 #odoowebsite #Create #Share #Promotional […]

Introspection & Inspection | Odoo External API | Odoo XMLRPC – CBMS Odoo ERP

While we previously used fields_get() to query a model and have been using an arbitrary model from the start, Odoo stores most model metadata inside a few meta-models which allow both querying the system and altering models and fields (with some limitations) on the flyover XML-RPC. #odooexternalapi #xmlrpc #odooxmlrpc #Introspection #Inspection #Odoo #External #API #Odoo […]

How to use unlink method() | Odoo External API | Odoo XMLRPC – CBMS Odoo ERP

Records can be deleted in bulk by providing their ids to unlink(). #odooexternalapi #xmlrpc #odooxmlrpc url = ” db = ‘test_local_enterprise_db’ username = ’14’ password = ’14’ import xmlrpc.client common = xmlrpc.client.ServerProxy(‘{}/xmlrpc/2/common’.format(url)) version = common.version() print(“version”, version) uid = common.authenticate(db, username, password, {}) print(“uid = “,uid) models = xmlrpc.client.ServerProxy(‘{}/xmlrpc/2/object’.format(url)) delete_rec = models.execute_kw(db, uid, password, ‘res.partner’, […]

How to use search_count method in Odoo | XML RPC | Odoo External API – CBMS Odoo ERP

Rather than retrieve a possibly gigantic list of records and count them, search_count() can be used to retrieve only the number of records matching the query. It takes the same domain filter as search() and no other parameter. url = ” db = ‘test_local_enterprise_db’ username = ’14’ password = ’14’ import xmlrpc.client common = xmlrpc.client.ServerProxy(‘{}/xmlrpc/2/common’.format(url)) […]

Listing record fields | Odoo External API | Odoo XMLRPC – CBMS Odoo ERP

fields_get() can be used to inspect a model’s fields and check which ones seem to be of interest. Because it returns a large amount of meta-information (it is also used by client programs) it should be filtered before printing, the most interesting items for a human user are ‘string’ (the field’s label), ‘help’ (a help […]