From e1920cfd26ffcbc1c2f6ffe2822f1bdc7a01755d Mon Sep 17 00:00:00 2001 From: Marc Poch Date: Wed, 16 Dec 2020 18:08:48 +0100 Subject: [PATCH] [MIG] stock_orderpoint_automatic_create: Migration to 12.0 --- stock_orderpoint_automatic_creation/__manifest__.py | 3 +-- stock_orderpoint_automatic_creation/readme/CONFIGURE.rst | 6 ++++++ stock_orderpoint_automatic_creation/readme/CONTRIBUTORS.rst | 4 ++++ stock_orderpoint_automatic_creation/readme/DESCRIPTION.rst | 3 +++ stock_orderpoint_automatic_creation/views/product_views.xml | 4 ++-- 5 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 stock_orderpoint_automatic_creation/readme/CONFIGURE.rst create mode 100644 stock_orderpoint_automatic_creation/readme/CONTRIBUTORS.rst create mode 100644 stock_orderpoint_automatic_creation/readme/DESCRIPTION.rst diff --git a/stock_orderpoint_automatic_creation/__manifest__.py b/stock_orderpoint_automatic_creation/__manifest__.py index 08b6cef86..3aa128018 100644 --- a/stock_orderpoint_automatic_creation/__manifest__.py +++ b/stock_orderpoint_automatic_creation/__manifest__.py @@ -5,14 +5,13 @@ { "name": "Stock Orderpoint Automatic Creation", - "version": "10.0.1.0.0", + "version": "12.0.1.0.0", "author": "AvanzOSC, " "Tecnativa, " "Odoo Community Association (OCA)", "license": "AGPL-3", "website": "http://www.odoomrp.com", "depends": [ - "procurement", "stock", ], "category": "Inventory, Logistic, Storage", diff --git a/stock_orderpoint_automatic_creation/readme/CONFIGURE.rst b/stock_orderpoint_automatic_creation/readme/CONFIGURE.rst new file mode 100644 index 000000000..bec163927 --- /dev/null +++ b/stock_orderpoint_automatic_creation/readme/CONFIGURE.rst @@ -0,0 +1,6 @@ +To configure this module, you need to: + +#. Go to company form, tab "settings" and customize the default orderpoints + data. +#. Also you can configure orderpoint creation in product and product_category + checking 'Yes' or 'No' in the proper field. diff --git a/stock_orderpoint_automatic_creation/readme/CONTRIBUTORS.rst b/stock_orderpoint_automatic_creation/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..8dd137d9c --- /dev/null +++ b/stock_orderpoint_automatic_creation/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Daniel Campos +* Ana Juaristi +* Vicent Cubells +* Marc Poch diff --git a/stock_orderpoint_automatic_creation/readme/DESCRIPTION.rst b/stock_orderpoint_automatic_creation/readme/DESCRIPTION.rst new file mode 100644 index 000000000..bef0551e6 --- /dev/null +++ b/stock_orderpoint_automatic_creation/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This module automatically generates stock orderpoints for a product when it is +created, based on the information from the user's company. +Orderpoints creation can be automated from product, product category or company. diff --git a/stock_orderpoint_automatic_creation/views/product_views.xml b/stock_orderpoint_automatic_creation/views/product_views.xml index c78159397..54ec2cc8f 100644 --- a/stock_orderpoint_automatic_creation/views/product_views.xml +++ b/stock_orderpoint_automatic_creation/views/product_views.xml @@ -16,9 +16,9 @@ product.category - + - +