Skip to content

Commit

Permalink
Merge pull request #39 from AngelMoya-Domatix/mig_product_sequence
Browse files Browse the repository at this point in the history
MIG product_sequence
  • Loading branch information
pedrobaeza committed Jan 28, 2015
2 parents 365ad04 + 39bc389 commit 61cc344
Show file tree
Hide file tree
Showing 12 changed files with 204 additions and 163 deletions.
28 changes: 0 additions & 28 deletions __unported__/product_sequence/i18n/es.po

This file was deleted.

27 changes: 0 additions & 27 deletions __unported__/product_sequence/i18n/product_sequence.pot

This file was deleted.

82 changes: 0 additions & 82 deletions __unported__/product_sequence/product_product.py

This file was deleted.

26 changes: 26 additions & 0 deletions product_sequence/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
A module that adds sequence to the product.
===========================================

This module allows to associate a sequence to the product reference.
The reference (default code) is unique (SQL constraint) and required.

Credits
=======

Contributors
------------

* Angel Moya <angel.moya@domatix.com>

Maintainer
----------

.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved.
# Jesús Martín <jmartin@zikzakmedia.com>
# $Id$
# Copyright (c) 2015 Domatix (http://domatix.com)
# Angel Moua <angel.moya@domatix.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Expand All @@ -21,4 +20,4 @@
#
##############################################################################

import product_product
from . import models
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved.
# Copyright (c) 2011 Zikzakmedia S.L. (http://zikzakmedia.com)
# All Rights Reserved.
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
Expand All @@ -21,23 +22,18 @@
##############################################################################

{
'name' : 'Product Sequence',
'version' : '0.1',
"author": "Zikzakmedia SL",
"website": "http://www.zikzakmedia.com",
"license" : "AGPL-3",
"category" : "Generic Modules/Inventory Control",
"description": """
This module allows to associate a sequence to the product reference.
The reference (default code) is unique (SQL constraint) and required.
Note: This module is incompatible with nan_product_sequence.
""",
'depends' : [
'name': 'Product Sequence',
'version': '0.1',
'author': 'Zikzakmedia SL',
'website': 'http://www.zikzakmedia.com',
'license': 'AGPL-3',
'category': 'Generic Modules/Inventory Control',
'depends': [
'product',
],
"data" : [
'product_sequence.xml',
'data': [
'data/product_sequence.xml',
],
'installable': False,
'active': False,
'auto_install': False,
'installable': True,
}
File renamed without changes.
File renamed without changes.
34 changes: 34 additions & 0 deletions product_sequence/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_sequence
# angel <angel.moya@domatix.com>, 2015.
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-13 22:04+0000\n"
"PO-Revision-Date: 2015-01-13 23:06+0200\n"
"Last-Translator: angel <angel.moya@domatix.com>\n"
"Language-Team: Domatix\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Virtaal 0.7.1\n"

#. module: product_sequence
#: code:addons/product_sequence/models/product_product.py:64
#, python-format
msgid "-copy"
msgstr "-copia"

#. module: product_sequence
#: model:ir.model,name:product_sequence.model_product_product
msgid "Product"
msgstr "Producto"

#. module: product_sequence
#: sql_constraint:product.product:0
msgid "The reference must be unique"
msgstr "La referencia debe ser única"
33 changes: 33 additions & 0 deletions product_sequence/i18n/product_sequence.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_sequence
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-13 22:04+0000\n"
"PO-Revision-Date: 2015-01-13 22:04+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: product_sequence
#: code:addons/product_sequence/models/product_product.py:64
#, python-format
msgid "-copy"
msgstr ""

#. module: product_sequence
#: model:ir.model,name:product_sequence.model_product_product
msgid "Product"
msgstr ""

#. module: product_sequence
#: sql_constraint:product.product:0
msgid "The reference must be unique"
msgstr ""

23 changes: 23 additions & 0 deletions product_sequence/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (c) 2015 Domatix (http://domatix.com)
# Angel Moya <angel.moya@domatix.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from . import product_product

0 comments on commit 61cc344

Please sign in to comment.