Attachment upload basic principle realization, can refer to this article:Https://www.cnblogs.com/ljwTiey/p/7348291.htmlhttp://blog.csdn.net/wangnan537/article/details/41903159First of all we look at the Odoo interface default attachment features, there is no feeling of wood is very friendly! Embarrassed:)Let's introduce another kind of Odoo's own attachment management method to our small partners!First, add the following definition to your model: #
Inventory allocation
Through "Inventory allocation" can be transferred between different warehouses or transfer of inventory products.
1, select the main Menu "Inventory management"-> "inventory allocation", as shown in the following figure
2, first fill out t
Transferred from: http://www.chinamaker.net/ Search filtering for OpenERP (Odoo) Development examples: Retrieving data for the last 3 monthsThe key to solving this problem lies in the application of Relativedelta The sample code is as follows: 1: "terp-personal"Name="Last_three_month"3:string="Last 3 Months"4:domain="[(' Date ', ' 5: ('Date','gt;=',6: ((Context_today () -7:relativedelta (months=3)). Strftime ('%%d/%%m/%%y')))8:]"/>explanation :
Odoo Calendar provides a reminder feature that includes email notifications and Web client pop-up features??When creating a calendar event, you can set a reminder??Meeting [ calendar.event ]??????Reminder [ calendar.alarm]????consists of 2 types
Email
Notification
????and then go through calendar.alarm_manager Interface object encapsulation for WebClient calls?WEB client Queries interface object calendar.alarm_manager every
nor the current user.
methods --A sequence of HTTP methods this route applies to. If not specified, all methods is allowed.
cors -the access-control-allow-origin cors Directive value.
RequestThe request object is automatically set on at the start of the openerp.http.request requestclassopenerp.http.WebRequest(httprequest)Parent class for all Odoo Web request types, mostly deals with initialization and setup of the Request object (the DISPA
To implement the steps, please step http://shine-it.net/index.php?topic=16603.0 or http://www.mindissoftware.com/2014/09/11/ run-odoo-in-pycharm-ubuntu/'s very good. But one thing needs to be adjusted.When configuring Pycharm in the 8th step, let's say click on the menu run to enter the Edit Configuration Editor configurations option.Script: the section. Should not point to the python2.7 location. Here should fill in is the position of openerp-server,
* 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
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Select
Hou. organization_id ou_org_id,
--
Org_id
Hou. Name ou_name,
--
Ou name
Ood. organization_id org_org_id,
--
Inventory organization ID
Ood. organization_code org_org_code,
--
Inventory OrganizationCode
MSI. secondary_inventory_name,
--
Sub-stock name
MSI. De
Solve the problem that inventory is reduced to negative in the case of concurrency, and the inventory is negative.
Scenario:
If a commodity is in stock, check the inventory before placing the order. If it is greater than 0, place inventory-1 and then place the order. If it is
select quantity from products WHERE id=3;
Large inventory of Path Problems and large inventory of paths1. the Physical path is the Physical path, which refers to the file path in the hard disk. For example, the following file location Representation Method: D: \ A \ B \ a.html
D: \ A \ B \ C \ B .html
D: \ A \ B \ C \ c.html
D: \ A \ B \ C \ D \ d.html2. Relative Path
The full name of the Relative Path is Relative Path. The following uses the examp
Large inventory of Path Problems and large inventory of paths
1. physical path
The physical path is Physicalpath, which refers to the file path in the hard disk. For example, the following file location representation method:
D: \ A \ B \ a.html
D: \ A \ B \ C \ B .html
D: \ A \ B \ C \ c.html
D: \ A \ B \ C \ D \ d.html
2. Relative Path
The full name of relative paths is RelativePath. The following uses t
Inventory Document Management
Inventory documents, including the purchase of warehousing orders, sales out of the warehouse list, inventory transfer orders, the inventory results list, return orders, other access to the list, etc., through the "document management" can be unified management of these documents, inquiri
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.