-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '8.0-cagnotte-lga' of github.com:acsone/acsone-addons in…
…to abi_master
- Loading branch information
Showing
52 changed files
with
2,267 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
============= | ||
Cagnotte Base | ||
============= | ||
|
||
This module manages cagnotte : | ||
|
||
* define product on cagnotte to fill it | ||
* define journal on cagnotte to empty it | ||
* on account move lines assign cagnotte | ||
* When cagnotte is empty, it is not possible to use it | ||
|
||
Credits | ||
======= | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://www.acsone.eu/logo.png | ||
:alt: ACSONE SA/NV | ||
:target: http://www.acsone.eu | ||
|
||
This module is maintained by ACSONE SA/NV. |
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,3 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import models |
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,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# © 2015 Laetitia Gangloff, Acsone SA/NV (http://www.acsone.eu) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Cagnotte Base", | ||
"version": "8.0.1.0.0", | ||
'author': "Acsone SA/NV", | ||
"category": "Accounting & Finance", | ||
"website": "http://www.acsone.eu", | ||
"depends": ["account", | ||
], | ||
"data": ["views/cagnotte_views.xml", | ||
"security/ir.model.access.csv", | ||
"security/cagnotte_base_security.xml", | ||
], | ||
"demo": ["demo/account_cagnotte_demo.xml"], | ||
"license": "AGPL-3", | ||
"installable": True, | ||
"application": False, | ||
} |
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,43 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data> | ||
<record id="cagnotte" model="account.account"> | ||
<field name="code">X4404</field> | ||
<field name="name">Cagnotte - (test)</field> | ||
<field name="parent_id" ref="account.cas"/> | ||
<field name="type">other</field> | ||
<field name="user_type" ref="account.data_account_type_income"/> | ||
</record> | ||
<record id="sequence_cagnotte_journal" model="ir.sequence"> | ||
<field name="name">Account Default Cagnotte Journal</field> | ||
<field eval="3" name="padding"/> | ||
<field name="prefix">CAG/%(year)s/</field> | ||
</record> | ||
<record id="cagnotte_journal" model="account.journal"> | ||
<field name="name">Cagnotte Journal - (test)</field> | ||
<field name="code">CAG</field> | ||
<field name="type">bank</field> | ||
<field name="sequence_id" ref="sequence_cagnotte_journal"/> | ||
<field name="default_debit_account_id" ref="cagnotte"/> | ||
<field name="default_credit_account_id" ref="cagnotte"/> | ||
</record> | ||
<record id="product_product_cagnotte" model="product.product"> | ||
<field name="name">Cagnotte</field> | ||
<field name="standard_price">15</field> | ||
<field name="type">service</field> | ||
<field name="property_account_income" ref="cagnotte"/> | ||
</record> | ||
<record id="sequence_cagnotte_type" model="ir.sequence"> | ||
<field name="name">Cagnotte type</field> | ||
<field eval="3" name="padding"/> | ||
<field name="prefix">CAG-</field> | ||
</record> | ||
<record id="cagnotte_type" model="cagnotte.type"> | ||
<field name="name">Cagnotte Type</field> | ||
<field name="sequence_id" ref="sequence_cagnotte_type"/> | ||
<field name="account_id" ref="cagnotte"/> | ||
<field name="journal_id" ref="cagnotte_journal"/> | ||
<field name="product_id" ref="product_product_cagnotte"/> | ||
</record> | ||
</data> | ||
</openerp> |
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,136 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * cagnotte_base | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-12-03 18:21+0000\n" | ||
"PO-Revision-Date: 2015-12-03 18:21+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: cagnotte_base | ||
#: sql_constraint:cagnotte.type:0 | ||
msgid "A cagnotte type with the product already exist" | ||
msgstr "Un type de cagnotte avec ce produit existe déjà" | ||
|
||
#. module: cagnotte_base | ||
#: field:cagnotte.type,account_id:0 | ||
msgid "Account" | ||
msgstr "Compte" | ||
|
||
#. module: cagnotte_base | ||
#: constraint:cagnotte.type:0 | ||
msgid "Accounts not corresponding between product, journal and cagnotte" | ||
msgstr "Les comptes entre l'article, le journal et la cagnotte ne correspondent pas" | ||
|
||
#. module: cagnotte_base | ||
#: field:account.cagnotte,active:0 | ||
msgid "Active" | ||
msgstr "Active" | ||
|
||
#. module: cagnotte_base | ||
#: view:account.cagnotte:cagnotte_base.account_cagnotte_view_form | ||
#: view:account.cagnotte:cagnotte_base.account_cagnotte_view_tree | ||
#: field:account.move.line,account_cagnotte_id:0 | ||
#: model:ir.actions.act_window,name:cagnotte_base.account_cagnotte_action | ||
#: model:ir.ui.menu,name:cagnotte_base.account_cagnotte_menu | ||
#: model:ir.ui.menu,name:cagnotte_base.account_cagnotte_parent_menu | ||
#: model:product.template,name:cagnotte_base.product_product_cagnotte_product_template | ||
msgid "Cagnotte" | ||
msgstr "Cagnotte" | ||
|
||
#. module: cagnotte_base | ||
#: field:account.cagnotte,cagnotte_type_id:0 | ||
#: view:cagnotte.type:cagnotte_base.cagnotte_type_view_form | ||
#: view:cagnotte.type:cagnotte_base.cagnotte_type_view_tree | ||
#: model:cagnotte.type,name:cagnotte_base.cagnotte_type | ||
#: model:ir.actions.act_window,name:cagnotte_base.cagnotte_type_action | ||
#: model:ir.ui.menu,name:cagnotte_base.cagnotte_type_menu | ||
msgid "Cagnotte Type" | ||
msgstr "Type de cagnotte" | ||
|
||
#. module: cagnotte_base | ||
#: field:cagnotte.type,company_id:0 | ||
msgid "Company" | ||
msgstr "Compagnie" | ||
|
||
#. module: cagnotte_base | ||
#: field:account.cagnotte,create_uid:0 | ||
#: field:cagnotte.type,create_uid:0 | ||
msgid "Created by" | ||
msgstr "Créé par" | ||
|
||
#. module: cagnotte_base | ||
#: field:account.cagnotte,create_date:0 | ||
#: field:cagnotte.type,create_date:0 | ||
msgid "Created on" | ||
msgstr "Créé le" | ||
|
||
#. module: cagnotte_base | ||
#: field:account.cagnotte,id:0 | ||
#: field:cagnotte.type,id:0 | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: cagnotte_base | ||
#: field:cagnotte.type,journal_id:0 | ||
msgid "Journal" | ||
msgstr "Journal" | ||
|
||
#. module: cagnotte_base | ||
#: view:account.cagnotte:cagnotte_base.account_cagnotte_view_form | ||
#: field:account.cagnotte,account_move_line_ids:0 | ||
#: model:ir.actions.act_window,name:cagnotte_base.action_open_move_lines | ||
#: model:ir.model,name:cagnotte_base.model_account_move_line | ||
msgid "Journal Items" | ||
msgstr "Écritures comptables" | ||
|
||
#. module: cagnotte_base | ||
#: help:cagnotte.type,journal_id:0 | ||
msgid "Journal use to empty the cagnotte" | ||
msgstr "Journal utilisé pour vider la cagnotte" | ||
|
||
#. module: cagnotte_base | ||
#: field:account.cagnotte,write_uid:0 | ||
#: field:cagnotte.type,write_uid:0 | ||
msgid "Last Updated by" | ||
msgstr "Dernière mise à jour par" | ||
|
||
#. module: cagnotte_base | ||
#: field:account.cagnotte,write_date:0 | ||
#: field:cagnotte.type,write_date:0 | ||
msgid "Last Updated on" | ||
msgstr "Dernière mise à jour le" | ||
|
||
#. module: cagnotte_base | ||
#: field:cagnotte.type,name:0 | ||
msgid "Name" | ||
msgstr "Nom" | ||
|
||
#. module: cagnotte_base | ||
#: field:cagnotte.type,product_id:0 | ||
msgid "Product" | ||
msgstr "Article" | ||
|
||
#. module: cagnotte_base | ||
#: help:cagnotte.type,product_id:0 | ||
msgid "Product use to fill the cagnotte" | ||
msgstr "Article utilisé pour remplir la cagnotte" | ||
|
||
#. module: cagnotte_base | ||
#: constraint:account.move.line:0 | ||
msgid "The account doesn't correspond to the cagnotte account" | ||
msgstr "Le compte ne correspond pas au compte de la cagnotte" | ||
|
||
#. module: cagnotte_base | ||
#: constraint:account.move.line:0 | ||
msgid "The cagnotte amount is insufficient" | ||
msgstr "Le montant de la cagnotte n'est pas suffisant" | ||
|
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,3 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import cagnotte |
Oops, something went wrong.