odoo implementation

Discover odoo implementation, include the articles, news, trends, analysis and practical advice about odoo implementation on alibabacloud.com

Odoo Translate Export window fix

When you work hard to correct Odoo's translation and want to export it to other systems,You will find that the Export Wizard window cannot display the drop-down list.The following methods fix this problem:1. Open "developer Mode".2. Go to Translation Export Wizard: Settings-translation-import/export-export translation3. In Debug view #, open the edit from view4. In the view, add "Odoo Translate Export window fix

Odoo pull-and-push library chain

that the lead is equal to consumption, unable to manage shop floor inventory. If you need to manage shop floor inventory1: Add a production shop location.2: Add a (picking demand) advanced Route Stock.location.route, set as follows:Add 2 replenishment rules under route Procurement.ruleA: Inventory to the shop pull replenishment, {action: move from another location, demand location: Workshop Source Location: Inventory, Mobile Supply method: From inventory acquisition, type: internal allocation}T

(+) Time in Odoo

* in modelFrom datetime import datetime, TimedeltaImport timeFrom Openerp.tools import Default_server_date_format, Default_server_datetime_formatThe package to be introduced aboveDefault_server_date_format = "%y-%m-%d"Default_server_time_format = "%h:%m:%s"Default_server_datetime_format = "%s%s"% (Default_server_date_format,Default_server_time_format)--------#没有设定日期, the date on which the system was introduced todayIf not date_order:Date_order = Time.strftime (Default_server_date_format)* In the

Odoo attrs x2many Types of filtering

There are children's shoes in the group asked the attrs in the Many2many type of field how to do domain filtering, in fact, very simple:The Many2many field gets the value in JS in the format [[6,false,[]].So the judgment of Many2many in Attrs can be written in the following format:attrs="{' Invisible ': [(' category_id ', ' = ', [[6, False, []]]]}".The various meanings of Many2many are as follows:Domain calculations are calculated in the Compute_domain method of the View_form.js.(0,0,{}): Create

(in) Odoo Product Price field

Open Product.template and Product.product models find a lot of fields about price descriptions Product.template:PriceList_priceLst_priceStandard_price Product.product:PricePrice_extraLst_pricePriceThis is a calculated field in Product.template used in the product price list, the sales unit of measurement,The price calculated in the currency is based on the List_priceIn Product.product is also the same meaning calculated based on list_price Price_extraList_priceThis is only in Product.template, i

Odoo HR Payslip

, rate, and the three are the salaries defined by the rule, the results of which are grouped together to form the total salary, and the combination of these rules is the salary structure.??There are three types of calculations Fix Percentage Python Code ??If it is fix, the formula saved by the field quantity is executed using Python eval to get the result qtymethod Compute_rule () returns the result as Fixed_amount, qty, 100.0For example:Weekdays 10 per day??If it is percen

Nginx as a reverse server configuration for Odoo

This article mainly introduces the Nginx as Odoo's reverse server configuration, has a certain reference value, now share to everyone, the need for friends can refer to Nginx installation is slightly. Using the Web server Nginx as Odoo's reverse proxy server has several advantages: 1. Cache the static content of the webpage and speed up the page loading. 2. Use Nginx to do data distribution, in the distributed deployment situation can break through the server performance limits. 3. If a server

Odoo View field Opton parameters

optionsJSON object Specifying configuration option for the field ' s widget (including default widgets)Option's content is given in JSON format to the JS widget in the option attribute.For example: Project.task.form the user_id field in the attempt.options= "{quot;no_openquot;: True}" context= "{' Default_groups_ref ': [' Base.group_user ', ' Base.group_partner_manager ', ' Project.group_project_user ']} "/>There is such a piece of code in Form_view.js that the link button is not displayed if th

(ten) Odoo controller operation

* A simple controllerClass MyModule (HTTP. Controller)@http. Route (' mymodule/mymodule/', auth= ' public ')def index (self)Return "Hello, World"#return Http.request.render ("Mymodule.index", {' Fruits ': [' apple ', ' banana ', ' pear ']})Using templatesThe corresponding template file* RoutingOpenerp.http.route (Route=none, **kw)See http://werkzeug.pocoo.org/docs/0.11/routing/* RequestClass Openerp.http.WebRequest (HttpRequest)Encapsulated propertiesHttprequest:werkzeug.wrappers.Request the ori

Odoo Website Replace summernote for third-party Rich text editor

With more and more people with Odoo, the demand for exotic flowers is more and more ....This is not, some students want to replace website forum inside of the Summernote control, took a little time to study a bit, first said the conclusion: replacement is feasible. First replace the diagram, here is replaced by Kindeditor:To replace the other, is also possible, just need to use Odoo's front-end development rules, this module is planned to make a demo

Odoo error Resource interpreted as Stylesheet but transferred with MIME type APPLICATION/X-CSS:

Odoo8 page content display half, Web console display errorResource interpreted as Stylesheet but transferred with MIME type application/x-css: Workaround:The D:\workspace\mtlcs_odoo\odoo\addons\web\static\src\css\full.css file is preceded by a line@charset "UTF-8";POS module enters the development mode, also shows the same error, the solution is the same as the corresponding module of the CSS file added to the line.Odoo error Resource interpreted as S

() Odoo Extension API

, event=none):Text = Self.get (' 1.0 ', ' End ')Self.id = Self.api.set (text, self.id)Tkmessagebox.showinfo (' Info ', ' Note%d Saved. '% self.id) if __name__ = = ' __main__ ':SRV, db = ' http://localhost:8069 ', ' V8dev 'User, pwd = ' admin ', ' admin 'API = Noteapi (SRV, DB, user, PWD)For note in API.get ():x = NoteText (API, note[' name '], note[' id '))X.master.mainloop ()---------------- * ErppeekThe first thing to install is Erppeek$ pip install-u Erppeek #API usage:>>> Import Erppeek>>>

The JavaScript unit test in Odoo

trueStrictequal (Actual,expected[,message]): Strictly Test for equalityNotstrictequal (Actual,expected[,message]): rigorously tested for unequalDeepequal (Actual,expected[,message]): For object and array types, ensure that the key values for each element are equalNotdeepequal (Actual,expected[,message]): Contrary to deepequalThrows (Block[,expected][,messsage]): Block throws an exception to verify that the thrown exception is the same as expected (expected).Equal (Actual,expected[,message]): Te

Odoo 8.0 New API's environment

"" An environment wraps data for ORM records: -: attr: ' Cr ', the current database cursor; -: attr: ' uid ', the current user ID; -: attr: ' context ', the current context dictionary. It also provides access to the registry, a cache for records, and a data structure to manage Recomputations. "" The Environment class provides encapsulation of an ORM object, provides access to the registration class, caches the Recordset, and manages the data structure

Nginx Reverse proxy odoo, speed boost

1:sudo Apt-get Install Nginx2:add server: Add an available server in/etc/nginx/sites-enabled. File as shown3: Restart Nginx server in effect4: Note If you need to forward the 80 port, the NGINGX default configuration is 80 of the server that is defined, you need to modify the 80 port definition in/etc/nginx/sites-enabled/default, otherwise the server that is added later 80 definitions cannot be used.A small example of native port forwarding, in the/etc/nginx/sites-enabled directory (note must be

Nginx Reverse proxy odoo and switch to HTTPS

;proxy_buffering on;Expires864000;Proxy_passhttp://127.0.0.1:8069; }}Server{# Turn 80 ports to 443 HTTPSListen the;server_name__;Add_headerStrict-transport-security max-age=2592000;rewrite ^/.*$https://$host $request_uri?Permanent;}Server{# 8069 Port of a specific IP to 443 HTTPSListen192.168.1.102:8069;# This is the IP of the virtual machineserver_name__;Add_headerStrict-transport-security max-age=2592000;rewrite ^/.*$https://$host $request_uri?Permanent;} Configure Access Source Host SER

Odoo Kanban views and reports

remove--purge wkhtmltopdf$ cd/tmp$ wget HTTP://DOWNLOADS.SOURCEFORGE.NET/PROJECT/WKHTMLTOPDF/ARCHIVE/0.12.1/Wkhtmltox-0.12.1_linux-trusty-adm64.deb $ sudo dpkg-i wkhtmltox-0.12.1_linux-trusty-amd64.deb #在报表中呈现数据Available variables:The docs loop prints out a recordsetDoc_ids The IDs list of a recordset is printedDoc_model call which model to handleTimeUser of this execution reportRes_company the company where the current user is located Field values can also be supplemented with the T-field pro

Odoo View operation

for a record by conditionCreate,delete,edit is not available if set to False * Search ViewThe code is as follows:Model= "Ir.ui.view" >(' name ', ' ilike ', self), (' user_id ', ' ilike ', self)] "/>Domain= "[(' is_done ', ' = ', False)]"/>Domain= "[(' Is_done ', '! = ', False)]"/>context= "{' group_by ': ' user_id '}"/> # Shown above, only name and user_id searchField element-defined propertiesName field ID NameString Label signatureoperator operatorDomain_filter filtering records by conditionG

Ubuntu install Odoo when the Python dependency

sudo apt-get install Graphviz Ghostscript postgresql-client \Python-dateutil Python-feedparser python-gdata \Python-ldap python-libxslt1 python-lxml python-mako \Python-openid python-psycopg2 Python-pybabel python-pychart \Python-pydot python-pyparsing Python-reportlab python-simplejson \Python-tz python-vatnumber python-vobject python-webdav \Python-werkzeug PYTHON-XLWT Python-yaml python-imaging \Python-matplotlib Python-unittest2 Python-setuptools\Python-mock python-docutils python-pypdf\Pyth

Odoo (openerp) on Windows Azure-2. Deploying Odoo on Ubuntu virtual machines (OPENERP)

The steps to create a virtual machine are not mentioned here, please refer to the previous blog post. First update the Ubuntu system with the following command: 1. sudo apt-get update 2. Sudo apt-get upgrade 3. Sudo apt-get dist-upgrade Then use

Total Pages: 15 1 .... 4 5 6 7 8 .... 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.