diff options
| author | Olivier Dony <odo@openerp.com> | 2012-06-28 14:07:21 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-06-28 14:07:21 +0200 |
| commit | e3473f1b6d8be559300a94e7692e7eb9b3d0f9c7 (patch) | |
| tree | e0d33435e0ba7bd309ae36d2213603fd9e8ce242 /addons/account_invoice_layout/wizard | |
| parent | 0f2b27e161781957338cb7220a38dc337557ce56 (diff) | |
| parent | 6482483e1a43860b0802c6684c670bc9aa785c64 (diff) | |
[MERGE] Remove all *_layout modules - replaced by builtin features in 7.0
Dropped account_invoice_layout, sale_layout and
event_sale_layout. These modules implemented line
ordering, notes and extra titles in the list of
lines of the relevant documents (invoice, sale
order).
This is now mostly built-in:
- line ordering is supported by default, with
a new user-friendly widget for drag&drop
- notes can be added by default, with a new
improved layout/design
- extra titles/subtotals are not available
anymore
These modules were too complex to use, and
generated too many bugs.
The option to install those modules have
been removed in the new config wizards as
well.
bzr revid: odo@openerp.com-20120628120721-71t8xgdbxagluxhz
Diffstat (limited to 'addons/account_invoice_layout/wizard')
3 files changed, 0 insertions, 117 deletions
diff --git a/addons/account_invoice_layout/wizard/__init__.py b/addons/account_invoice_layout/wizard/__init__.py deleted file mode 100644 index 87cfa0d263b..00000000000 --- a/addons/account_invoice_layout/wizard/__init__.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). -# -# 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/>. -# -############################################################################## - -import account_invoice_special_message - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - diff --git a/addons/account_invoice_layout/wizard/account_invoice_special_message.py b/addons/account_invoice_layout/wizard/account_invoice_special_message.py deleted file mode 100644 index 27f6044a964..00000000000 --- a/addons/account_invoice_layout/wizard/account_invoice_special_message.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). -# -# 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/>. -# -############################################################################## - -from osv import osv, fields - -class account_invoice_special_msg(osv.osv_memory): - _name = 'account.invoice.special.msg' - _description = 'Account Invoice Special Message' - - _columns = { - 'message': fields.many2one('notify.message', 'Message', required = True, help="Message to Print at the bottom of report"), - } - - def check_report(self, cr, uid, ids, context=None): - if context is None: - context = {} - - data = self.read(cr, uid, ids, [], context=context)[0] - datas = { - 'ids': context.get('active_ids',[]), - 'model': 'account.invoice', - 'form': data - } - return { - 'type': 'ir.actions.report.xml', - 'report_name': 'notify_account.invoice', - 'datas': datas, - } - -account_invoice_special_msg() - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file diff --git a/addons/account_invoice_layout/wizard/account_invoice_special_message.xml b/addons/account_invoice_layout/wizard/account_invoice_special_message.xml deleted file mode 100644 index 1ddef75e05b..00000000000 --- a/addons/account_invoice_layout/wizard/account_invoice_special_message.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<openerp> - <data> - - <record id="account_invoice_special_msg_view" model="ir.ui.view"> - <field name="name">Account Invioce Special Message</field> - <field name="model">account.invoice.special.msg</field> - <field name="type">form</field> - <field name="arch" type="xml"> - <form string="Select Message" version="7.0"> - <header> - <button name="check_report" string="Print" type="object" icon="gtk-print"/> - <button special="cancel" string="Cancel" icon="gtk-cancel"/> - </header> - <group> - <field name="message"/> - </group> - </form> - </field> - </record> - - <record id="action_account_invoice_special_msg" model="ir.actions.act_window"> - <field name="name">Invoices and Message</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">account.invoice.special.msg</field> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="view_id" ref="account_invoice_special_msg_view"/> - <field name="target">new</field> - </record> - - <record model="ir.values" id="account_invoice_special_msg_values"> - <field name="model_id" ref="account.model_account_invoice" /> - <field name="name">Account Invioce Special Message</field> - <field name="key2">client_print_multi</field> - <field name="value" eval="'ir.actions.act_window,' + str(ref('action_account_invoice_special_msg'))" /> - <field name="key">action</field> - <field name="model">account.invoice</field> - </record> - - </data> -</openerp> |
