Add partner_area_data and partner_area_management

This module was written to enter a location's area based on different units of measure
The information is dependant on the different locations entered
This commit is contained in:
Agathe Mollé
2015-04-21 17:10:24 -04:00
parent a7272f41ff
commit 242544df1b
16 changed files with 609 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
Features
========
This module was written to add surface units of measure
Screenshots
===========
... next step (after development)
Installation
============
To install this module, you just need to select the module and insure yourself dependencies are available
Configuration
=============
No particular configuration to use this module
Usage
=====
* n/a
Known issues / Roadmap
======================
* n/a
Contributors
============
* Adriana Ierfino <adriana.ierfino@savoirfairelinux.com>
* Bruno Joliveau <bruno.joliveau@savoirfairelinux.com>
* Agathe Mollé <agathe.molle@savoirfairelinux.com>
Credits
=======
* Module developed and tested with Odoo version 8.0
* For questions, please contact our support services <support@savoirfairelinux.com>
Maintainer
==========
This module is maintained by Savoir-Faire Linux.

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,39 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Odoo, Open Source Management Solution
# This module copyright (C) 2015 Savoir-faire Linux
# (<http://www.savoirfairelinux.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/>.
#
##############################################################################
{
'name': 'Partner Area Data',
'version': '0.1',
'author': 'Savoir-faire Linux',
'maintainer': 'Savoir-faire Linux',
'website': 'http://www.savoirfairelinux.com',
'license': 'AGPL-3',
'category': 'Warehouse',
'summary': "Add surface units of measure",
'depends': [
'product',
],
'data': [
'data/partner_area_data.xml',
],
'installable': True,
'application': False,
}

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="product_uom_categ_surface" model="product.uom.categ">
<field name="name">Surface</field>
</record>
<record id="product_uom_m2" model="product.uom">
<field name="name"></field>
<field name="category_id" eval="product_uom_categ_surface"/>
</record>
<record id="product_uom_feet2" model="product.uom">
<field name="name">feet²</field>
<field name="category_id" eval="product_uom_categ_surface"/>
</record>
</data>
</openerp>

View File

@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_area_data
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-04-21 20:06+0000\n"
"PO-Revision-Date: 2015-04-21 16:08-0500\n"
"Last-Translator: Agathe Mollé <agathe.molle@savoirfairelinux.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 1.5.4\n"
"Language: fr\n"
"X-Poedit-SourceCharset: UTF-8\n"
#. module: partner_area_data
#: model:product.uom.categ,name:partner_area_data.product_uom_categ_surface
msgid "Surface"
msgstr "Surface"
#. module: partner_area_data
#: model:product.uom,name:partner_area_data.product_uom_feet2
msgid "feet²"
msgstr "pied²"
#. module: partner_area_data
#: model:product.uom,name:partner_area_data.product_uom_m2
msgid "m²"
msgstr "m²"

View File

@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_area_data
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-04-21 20:06+0000\n"
"PO-Revision-Date: 2015-04-21 20:06+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: partner_area_data
#: model:product.uom.categ,name:partner_area_data.product_uom_categ_surface
msgid "Surface"
msgstr ""
#. module: partner_area_data
#: model:product.uom,name:partner_area_data.product_uom_feet2
msgid "feet²"
msgstr ""
#. module: partner_area_data
#: model:product.uom,name:partner_area_data.product_uom_m2
msgid "m²"
msgstr ""