Odoo12 Major changes

Source: Internet
Author: User

Table of Contents

Refactoring features

Orm

Data import

Inventory

Inventory rules

Mrp

Multi-Step route

New features

IoT

Odoo12 is expected to release 2018/10 at the Odoo Experience 2018 summit, and most of its features are now ready.

Refactoring featuresORM

Support batch new, modify records

Add adorner @api. Model_create_multi is used to receive a list of variable dictionaries, while adorners @api. Model for receiving variable dictionaries

For example:

@api. Model

defCreate (self,vals):

...

@api. Model_create_multi

defCreate (self,vals_list):

...

Create () supports a single variable dictionary, or a list of variable dictionaries,

For example:

>>>self.create ({' name ': "Joe"})

Res.partner (78)

>>>self.create ([{' Name ': ' Jack '},{' name ': ' William '},{' name ': ' Averell '}])

Res.partner (79,80,81)

Data import

Export Template Support

Export Template

If you want to have the model provide an import template, you need to implement method Get_import_templates ()

StockInventory Rules

Pull rule, push rule merge named Inventory rule Stock.rule; stock in Inventory rules Stock.rule add 3 actions, push push, pull, push and pull Pull&push, before the supply way unchanged, or MTS and MTO; MRP in Library Stock.rule Increase action manufacturing manufacture, purchase in inventory rules stock.rule increase action purchase buy

Actions supported by the inventory rule:

MRPMulti-Step route

The default built-in delivery and inbound routes, in the warehouse configuration, you can choose

Manufacturing orders generated from warehouses using MRP routes will increase the corresponding warehouse operations, such as

new FeaturesIoT

The Odoo Posbox concept is upgraded to IoT box, a mini Odoo running in the Raspberry Pi, the core module is Hw_proxy, and the other modules that start with the Hw_

Run the IoT box to register with Odoo so that from Odoo you can view the registered IoT box and each IoT box connected device, which can be a printer, scanner, electronic scale, camera, display "AD/customer display"

At the same time, IoT device is integrated into the report. For printing reports

When the report is displayed as an HTML format, you can trigger the paper IoT Device.

It looks like it will also integrate the IoT box into the Enterprise edition of Quality, and MRP

Enclose the code submission log.

When a IoT box is configured as IoT box, it'll

Send all the information about itself and its devices

to its server. This is the server knows which IP and which

Devices is on the iotbox. Reports and in the enterprise

Version quality points is linked to devices.

In the module IoT, the models and the controller is defined for this.

There is also a JavaScript part with a widgets for taking

A measure and the possibility to link any report with a printer device.

 

Odoo12 Major changes

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.