1
# -*- coding: utf-8 -*-
2
##############################################################################
4
# Author Vincent Renaville/Joel Grand-Guillaume. Copyright 2012 Camptocamp SA
6
# This program is free software: you can redistribute it and/or modify
7
# it under the terms of the GNU Affero General Public License as
8
# published by the Free Software Foundation, either version 3 of the
9
# License, or (at your option) any later version.
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU Affero General Public License for more details.
16
# You should have received a copy of the GNU Affero General Public License
17
# along with this program. If not, see <http://www.gnu.org/licenses/>.
18
##############################################################################
20
"name" : "Move in draft state by default",
22
"depends" : ["base", "account", "account_constraints"],
23
"author" : "Camptocamp",
26
Let the generated move in draft on invoice and bank statement
27
validation. The main reason is to ease the user work day-to-day. At
28
first we used account_cancel, but this module allow to cancel posted
29
move and that's not allowed.
33
- We want to be able to cancel an invoice (as soon as move are not
34
validated) without making a refund. Posted move can't be canceled.
35
- We want to ensure all move generated from bank statement and invoice
36
are generated in draft so we can still change them if needed.
38
Use this module with account_constraints (find it here:
39
https://launchpad.net/account-financial-tools or in
40
http://apps.openerp.com) and you'll get closely the same feature as
41
account_cancel, but with the insurance that user won't change posted
44
The new framework will then be: always work with draft moves, allowing
45
people to change what they want. At the end of the period, validate all
46
moves. Till there, you ensure no-one can change something (or they'll
47
need to make a refund).
50
'website': 'http://www.camptocamp.com',
55
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: