Merge lp:~dreis-pt/sale-wkfl/7.0-sale_noinvoice-dr into lp:~sale-core-editors/sale-wkfl/7.0

Proposed by Daniel Reis
Status: Needs review
Proposed branch: lp:~dreis-pt/sale-wkfl/7.0-sale_noinvoice-dr
Merge into: lp:~sale-core-editors/sale-wkfl/7.0
Diff against target: 78 lines (+63/-0)
3 files modified
sale_noinvoice/__init__.py (+1/-0)
sale_noinvoice/__openerp__.py (+37/-0)
sale_noinvoice/sale_workflow.xml (+25/-0)
To merge this branch: bzr merge lp:~dreis-pt/sale-wkfl/7.0-sale_noinvoice-dr
Reviewer Review Type Date Requested Status
Pedro Manuel Baeza Needs Resubmitting
Review via email: mp+221383@code.launchpad.net

Description of the change

A neat module to just skip the invoicing steps of the sales workflow.
This allows to use OpenERP just for CRM & Sales while keeping financials in another system.

To post a comment you must log in.
48. By Daniel Reis

Added new module sale_noinvoice

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

This project is now hosted on https://github.com/OCA/sale-workflow. Please move your proposal there. This guide may help you https://github.com/OCA/maintainers-tools/wiki/How-to-move-a-Merge-Proposal-to-GitHub

review: Needs Resubmitting

Unmerged revisions

48. By Daniel Reis

Added new module sale_noinvoice

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'sale_noinvoice'
2=== added file 'sale_noinvoice/__init__.py'
3--- sale_noinvoice/__init__.py 1970-01-01 00:00:00 +0000
4+++ sale_noinvoice/__init__.py 2014-05-29 13:47:17 +0000
5@@ -0,0 +1,1 @@
6+# -*- coding: utf-8 -*-
7
8=== added file 'sale_noinvoice/__openerp__.py'
9--- sale_noinvoice/__openerp__.py 1970-01-01 00:00:00 +0000
10+++ sale_noinvoice/__openerp__.py 2014-05-29 13:47:17 +0000
11@@ -0,0 +1,37 @@
12+# -*- coding: utf-8 -*-
13+##############################################################################
14+#
15+# Copyright (C) 2014 Daniel Reis
16+#
17+# This program is free software: you can redistribute it and/or modify
18+# it under the terms of the GNU Affero General Public License as
19+# published by the Free Software Foundation, either version 3 of the
20+# License, or (at your option) any later version.
21+#
22+# This program is distributed in the hope that it will be useful,
23+# but WITHOUT ANY WARRANTY; without even the implied warranty of
24+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25+# GNU Affero General Public License for more details.
26+#
27+# You should have received a copy of the GNU Affero General Public License
28+# along with this program. If not, see <http://www.gnu.org/licenses/>.
29+#
30+##############################################################################
31+{
32+ 'name': 'Sales Orders without Invoices',
33+ 'summary': 'Skip sales invoicing workflow steps',
34+ 'version': '1.0',
35+ 'category': 'Sales Management',
36+ 'description': """\
37+Skip invoicing workflow steps on Sales Orders, allowing the use of CRM & Sales
38+modules while using another system to manage the invoices.""",
39+ 'author': 'Daniel Reis',
40+ 'depends': [
41+ 'sale',
42+ ],
43+ 'data': [
44+ 'sale_workflow.xml',
45+ ],
46+ 'installable': True,
47+ 'application': False,
48+}
49
50=== added file 'sale_noinvoice/sale_workflow.xml'
51--- sale_noinvoice/sale_workflow.xml 1970-01-01 00:00:00 +0000
52+++ sale_noinvoice/sale_workflow.xml 2014-05-29 13:47:17 +0000
53@@ -0,0 +1,25 @@
54+<?xml version="1.0" encoding="utf-8"?>
55+<openerp>
56+ <data>
57+
58+ <record id="sale.trans_router_wait_invoice" model="workflow.transition">
59+ <field name="act_from" ref="sale.act_router"/>
60+ <field name="act_to" ref="sale.act_invoice_end"/>
61+ </record>
62+
63+
64+ <record id="view_order_form_noinvoice" model="ir.ui.view">
65+ <field name="name">view_order_form_noinvoice</field>
66+ <field name="model">sale.order</field>
67+ <field name="inherit_id" ref="sale.view_order_form"/>
68+ <field name="arch" type="xml">
69+
70+ <button string="Create Invoice" position="attributes">
71+ <attribute name="invisible">1</attribute>
72+ </button>
73+
74+ </field>
75+ </record>
76+
77+ </data>
78+</openerp>

Subscribers

People subscribed via source and target branches