Basically, as with the MacOS 10.12.x Sierra configuration process, see:MacOS Sierra 10.12.6 Odoo 10.0 Development Environment ConfigurationMacOS Sierra (10.12.6), Odoo (11.0), Python (3.5.4) configurationError encountered when starting Odoo on the command line:valueerror: unknown locale: UTF-8 To edit the. Bash_profile, proceed as follows:Open command Line t
* OverviewQweb is the Odoo main template engine, using XML representation, and finally generating HTML files* General UsageResults:You can see that the T-tag statement takes the tee-startcan also be mixed with the HMTL labelResults:----------#数据输出 T-esc T-rawT-esc will escape HTML tagsT-raw output content as-is---------#条件语句 t-if---------#循环语句 T-foreach T-asSuppose $as is a variable of t-as,#codeThe loop also has the following available variables:$as
Some of Odoo's CSS files refer to Google fonts, but because Google servers are wall-loaded, some page loads are affected.Here's how to fix it:360 site defender Common Front-end public Library CDN Service has saved the Google Font library to its CDN, so we just need to replace the original link of Google font in the stylesheet with the 360 link.Search for files containing fonts.googleapis.com in the Odoo directory and replace them with fonts.useso.com.
In the process of Odoo warehouse allocation, sometimes you will encounter the wrong content:The roundings of your Unit of Measures on the Move vs. On the product, do these operations or your is not transferring the picking at once.The hint of this error is inexplicable, it looks as if the unit of a product set the wrong cause, but after some analysis, only found inside Shia. (Here I can not help but still have to spit a little bit.) Chinese translatio
-----------------------------------Check the effect of the change:All right, check it out.---------------------------------------Below to upgrade a module, the module has the Chinese file name as an example:The module directory is as follows:Point "module Upgrade" error.Find openerp/tools/osutil.py ", line walksymlinksNot encoded as utf-8, naturally cannot get the Chinese file name correctly, then the variable is UnicodeAdd only one line, as follows:Save can, have this line, later in the module
Suggest a Chinese translation to Odoo via Osc-git??Osc-git is the GIT platform for ' open source China '.URL is http://git.oschina.net/??Registration Osc-git account omitted.??????The following is the Osc-git operation Guide, which is intended to submit changes to Osbzr/openerp-china.??Fork Openerp-china Library??Login to Osc-git website??Enter Openerp-china in the search box????????Find Jeff Wang/openerp-china Open??Click the Fork button to create a
Odoo Interlock (Sword fly 373500710)1. Preparatory work1.1. Refer to the article "odoo8.0+pycharm4.5 Development Environment Configuration" To configure the Odoo development environment1.2. Download the Chrome browser and install it.1.3. Download the Chrome debugging plugin and unzip the installation.Http://yunpan.cn/ccSnIjbuYf6qB Access Password 6AB92. Configuring the development environment2.1.openerp-ser
Openerp,odoo, Crm,tms,fhsaastms (Feng and logistics software) 2.0Third-party logistics management system: Distribution Center, financial settlement, human resources, basic data.Distribution Center: Consignment Order (new consignment list, single list), Transportation Order Management (new consignment order, transport order management), receipt management, car distribution (new, query)Financial settlement: receivable, payable (fare, salary, other expen
(). Search ([(search condition)])return Http.send_file (Stringio (Base64.standard_b64decode (record. Multimedia field)), Filename="The file name can be set by itself, note that the suffix must have, Otherwise the IO stream sent back cannot be parsed correctly ", As_attachment=true)Where: Multimedia fields can be pgadmin to view the corresponding model database tables, storage content is binary data is the field of the preservation of multimedia content, with the field name to extract binary con
Previously, the company received a project, one of the functional requirements in the selection of suppliers, the product in the schedule is after the supplier as a filter, and after the selected products, I think after the implementation code is:Among them, the main is through the "domain" of its own properties or functions, to achieve product filtering.' Seller_ids.name ', the main product table in which the Supplier attribute corresponds to the supplier's name, "partner_id", is mainly the cur
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
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
* 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
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
, 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
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
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
Previously, the company received a project, one of the functional requirements in the selection of suppliers, the product in the schedule is after the supplier as a filter, and after the selected products, I think after the implementation code is:Among them, the main is through the "domain" of its own properties or functions, to achieve product filtering.' Seller_ids.name ', the main product table in which the Supplier attribute corresponds to the supplier's name, "partner_id", is mainly the cur
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
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.