<commit_before># -*- coding: utf-8 -*-
##############################################################################
#
#    OpenERP, Open Source Management Solution
#    Copyright 2013 Camptocamp SA
#    Author: <NAME>
#
#    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" : "Product Price History",
    "version" : "1.2",
    "author" : "Camptocamp",
    "category" : "Generic Modules/Inventory Control",
    "depends" : [ "product","purchase"],
    "description": """
Product Price History
=====================

This module allow you to :

* Record various prices of a same product for different companies. This way, every company can have his own cost (average or standard) and sale price. 
* Historize the prices in a way that you'll then be able to retrieve the cost (or sale) price at a given date.

Note that to benefit those values in stock report (or any other view that is based on SQL),
you'll have to adapt it to include this new historized table. Especially true for stock
valuation.

This module also contain demo data and various tests to ensure it work well. It show 
how to configure OpenERP properly when you have various company, each of them having 
their product setup in average price and using different currency. The goal is to share
the products between all company, keeping the right price for each of them.

Technically, this module updates the definition of field standard_price, list_price 
of the product and will make them stored in an external table. We override the read, 
write and create methods to achieve that and don't used ir.property for performance
and historization purpose. 

You may want to also use the module analytic_multicurrency from  bzr branch lp:account-analytic
in order to have a proper computation in analytic line as well (standard_price will be converted
in company currency with this module when computing cost of analytic line).<commit_msg>[FIX] typos in __openerp__.py (../port-add-product_multi_company_7.0-bis-jge/ rev 213.5.8)<commit_after># -*- coding: utf-8 -*-
##############################################################################
#
#    OpenERP, Open Source Management Solution
#    Copyright 2013 Camptocamp SA
#    Author: <NAME>
#
#    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" : "Product Price History",
    "version" : "1.2",
    "author" : "Camptocamp",
    "category" : "Generic Modules/Inventory Control",
    "depends" : ["product",
                 "purchase",
                 ],
    "description": """
Product Price History
=====================

This module allows you to:

* Record various prices of a same product for different companies. This
  way, every company can have its own costs (average or standard) and
  sale prices.
* Historize the prices in a way that you'll then be able to retrieve the
  cost (or sale) price at a given date.

Note that to benefit those values in stock report (or any other view that is based on SQL),
you'll have to adapt it to include this new historized table. Especially true for stock
valuation.

This module also contains demo data and various tests to ensure it works well. It shows
how to configure OpenERP properly when you have various company, each of them having 
their product setup in average price and using different currencies. The goal is to share
the products between all companies, keeping the right price for each of them.

Technically, this module updates the definition of field standard_price, list_price 
of the product and will make them stored in an external table. We override the read, 
write and create methods to achieve that and don't used ir.property for performance
and historization purpose.

You may want to also use the module analytic_multicurrency from `bzr branch lp:account-analytic/7.0`
in order to have a proper computation in analytic line as well (standard_price will be converted
in company currency with this module when computing cost of analytic line).
{'fraction_non_alphanumeric': 0.11975492016338656, 'fraction_numerical': 0.004641663572224285, 'mean_word_length': 4.058215962441315, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '112308', 'n_tokens_mistral': 1340, 'n_tokens_neox': 1279, 'n_words': 728}