-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] fiscal_company_product: Migration to 16.0 (from 12.0)
- Loading branch information
1 parent
02f9920
commit 12b33e0
Showing
18 changed files
with
21 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +0,0 @@ | ||
============= | ||
CAE - Product | ||
============= | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:d3db2ab38cb55d96485d2b22ddb080cc5e0c6272d0b6e4d647044ee548b6d51f | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-grap%2Fodoo--addons--cae-lightgray.png?logo=github | ||
:target: https://github.com/grap/odoo-addons-cae/tree/12.0/fiscal_company_product | ||
:alt: grap/odoo-addons-cae | ||
|
||
|badge1| |badge2| |badge3| | ||
|
||
This module extend Odoo functionnalities, regarding companies features to | ||
manage CAE (Coopearatives of Activities and Employment) that is a special | ||
status for french companies. | ||
|
||
This module is a glue module for the Odoo Product module. | ||
|
||
**Features** | ||
|
||
* User in mother company can see product of all child company | ||
* User in fiscal company can see but not update / delete product | ||
of mother company | ||
* Add a field ```cae_administrative_ok``` on ```product.product```. if checked | ||
the product will not be updatable by non 'CAE Manager' users | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/grap/odoo-addons-cae/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/grap/odoo-addons-cae/issues/new?body=module:%20fiscal_company_product%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* GRAP | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Julien WESTE | ||
* Sylvain LE GAL <https://twitter.com/legalsylvain> | ||
|
||
Other credits | ||
~~~~~~~~~~~~~ | ||
|
||
The development of this module has been financially supported by: | ||
|
||
* GRAP, Groupement Régional Alimentaire de Proximité (http://www.grap.coop) | ||
|
||
Porting from odoo V8 to odoo V10 has been funded by : | ||
* BABEL.COOP, leverage cooperation through the digital age (<http://babel.coop>) | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is part of the `grap/odoo-addons-cae <https://github.com/grap/odoo-addons-cae/tree/12.0/fiscal_company_product>`_ project on GitHub. | ||
|
||
You are welcome to contribute. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +0,0 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * fiscal_company_product | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 12.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2019-09-26 14:34+0000\n" | ||
"PO-Revision-Date: 2019-09-26 14:34+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: fiscal_company_product | ||
#: model:product.template,name:fiscal_company_product.product_template_administrative | ||
msgid "CAE - Administrative Mother Product Template" | ||
msgstr "CAE - Produit administratif de la société mère" | ||
|
||
#. module: fiscal_company_product | ||
#: model:product.template,name:fiscal_company_product.product_template_child | ||
msgid "CH1 - Child 1 Product Template" | ||
msgstr "CAE - Article de la société CH1" | ||
|
||
#. module: fiscal_company_product | ||
#: model:product.product,name:fiscal_company_product.product_product_child | ||
#: model:product.template,name:fiscal_company_product.product_product_child_product_template | ||
msgid "CH1 - Child 1 Product Variant" | ||
msgstr "CH1 - Variante d'article de la société CH1" | ||
|
||
#. module: fiscal_company_product | ||
#: model:product.template,name:fiscal_company_product.product_template_mother | ||
msgid "CAE - Mother Product Template" | ||
msgstr "CAE - Article de la société mère" | ||
|
||
#. module: fiscal_company_product | ||
#: model:product.product,name:fiscal_company_product.product_product_mother | ||
#: model:product.template,name:fiscal_company_product.product_product_mother_product_template | ||
msgid "CAE - Mother Product Variant" | ||
msgstr "CAE - Variante d'article de la société mère" | ||
|
||
#. module: fiscal_company_product | ||
#: model:product.pricelist,name:fiscal_company_product.sale_product_pricelist_CH1 | ||
msgid "CH1 - Main Sale Pricelist" | ||
msgstr "CH1 - Liste de prix par défaut" | ||
|
||
#. module: fiscal_company_product | ||
#: model:product.pricelist,name:fiscal_company_product.sale_product_pricelist_CH2 | ||
msgid "CH2 - Main Sale Pricelist" | ||
msgstr "CH2 - Liste de prix par défaut" | ||
|
||
#. module: fiscal_company_product | ||
#: model:ir.model.fields,help:fiscal_company_product.field_product_product__cae_administrative_ok | ||
#: model:ir.model.fields,help:fiscal_company_product.field_product_template__cae_administrative_ok | ||
msgid "If checked, this product will be readonly for users and updatable only by specific group" | ||
msgstr "Si cette case est cochée, cet article sera en lecture seul pour les utilisateurs, et modifiable seulement par les membres d'un groupe spécifique" | ||
|
||
#. module: fiscal_company_product | ||
#: model:ir.model.fields,field_description:fiscal_company_product.field_product_product__cae_administrative_ok | ||
#: model:ir.model.fields,field_description:fiscal_company_product.field_product_template__cae_administrative_ok | ||
msgid "Is CAE Administrative" | ||
msgstr "Est administratif" | ||
|
||
#. module: fiscal_company_product | ||
#: model:res.groups,name:fiscal_company_product.product_creation | ||
msgid "Product Creation" | ||
msgstr "Création d'articles" | ||
|
||
#. module: fiscal_company_product | ||
#: model:ir.model,name:fiscal_company_product.model_product_template | ||
msgid "Product Template" | ||
msgstr "Modèle d'article" | ||
|
||
#. module: fiscal_company_product | ||
#: model:product.product,uom_name:fiscal_company_product.product_product_child | ||
#: model:product.product,uom_name:fiscal_company_product.product_product_mother | ||
#: model:product.template,uom_name:fiscal_company_product.product_product_child_product_template | ||
#: model:product.template,uom_name:fiscal_company_product.product_product_mother_product_template | ||
#: model:product.template,uom_name:fiscal_company_product.product_template_administrative | ||
#: model:product.template,uom_name:fiscal_company_product.product_template_child | ||
#: model:product.template,uom_name:fiscal_company_product.product_template_mother | ||
msgid "Unit(s)" | ||
msgstr "Unité(s)" | ||
|
||
#. module: fiscal_company_product | ||
#: code:addons/fiscal_company_product/models/product_template.py:43 | ||
#, python-format | ||
msgid "You have no right to create or update an administrative product" | ||
msgstr "Nous n'avez pas le droit de créer ou de modifier un produit de type Administratif CAE" | ||
|
||
#. module: fiscal_company_product | ||
#: model:product.product,weight_uom_name:fiscal_company_product.product_product_child | ||
#: model:product.product,weight_uom_name:fiscal_company_product.product_product_mother | ||
#: model:product.template,weight_uom_name:fiscal_company_product.product_product_child_product_template | ||
#: model:product.template,weight_uom_name:fiscal_company_product.product_product_mother_product_template | ||
#: model:product.template,weight_uom_name:fiscal_company_product.product_template_administrative | ||
#: model:product.template,weight_uom_name:fiscal_company_product.product_template_child | ||
#: model:product.template,weight_uom_name:fiscal_company_product.product_template_mother | ||
msgid "kg" | ||
msgstr "kg" | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
from . import product_template | ||
from . import product_pricelist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (C) 2024-Today: GRAP (http://www.grap.coop) | ||
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from odoo import models | ||
|
||
|
||
class ProductPricelist(models.Model): | ||
_name = "product.pricelist" | ||
_inherit = ["product.pricelist", "fiscal.company.check.company.mixin"] | ||
|
||
_fiscal_company_forbid_fiscal_type = ["group", "fiscal_mother"] |
Oops, something went wrong.