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
=== added directory 'sale_noinvoice'
=== added file 'sale_noinvoice/__init__.py'
--- sale_noinvoice/__init__.py 1970-01-01 00:00:00 +0000
+++ sale_noinvoice/__init__.py 2014-05-29 13:47:17 +0000
@@ -0,0 +1,1 @@
1# -*- coding: utf-8 -*-
02
=== added file 'sale_noinvoice/__openerp__.py'
--- sale_noinvoice/__openerp__.py 1970-01-01 00:00:00 +0000
+++ sale_noinvoice/__openerp__.py 2014-05-29 13:47:17 +0000
@@ -0,0 +1,37 @@
1# -*- coding: utf-8 -*-
2##############################################################################
3#
4# Copyright (C) 2014 Daniel Reis
5#
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.
10#
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.
15#
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#
19##############################################################################
20{
21 'name': 'Sales Orders without Invoices',
22 'summary': 'Skip sales invoicing workflow steps',
23 'version': '1.0',
24 'category': 'Sales Management',
25 'description': """\
26Skip invoicing workflow steps on Sales Orders, allowing the use of CRM & Sales
27modules while using another system to manage the invoices.""",
28 'author': 'Daniel Reis',
29 'depends': [
30 'sale',
31 ],
32 'data': [
33 'sale_workflow.xml',
34 ],
35 'installable': True,
36 'application': False,
37}
038
=== added file 'sale_noinvoice/sale_workflow.xml'
--- sale_noinvoice/sale_workflow.xml 1970-01-01 00:00:00 +0000
+++ sale_noinvoice/sale_workflow.xml 2014-05-29 13:47:17 +0000
@@ -0,0 +1,25 @@
1<?xml version="1.0" encoding="utf-8"?>
2<openerp>
3 <data>
4
5 <record id="sale.trans_router_wait_invoice" model="workflow.transition">
6 <field name="act_from" ref="sale.act_router"/>
7 <field name="act_to" ref="sale.act_invoice_end"/>
8 </record>
9
10
11 <record id="view_order_form_noinvoice" model="ir.ui.view">
12 <field name="name">view_order_form_noinvoice</field>
13 <field name="model">sale.order</field>
14 <field name="inherit_id" ref="sale.view_order_form"/>
15 <field name="arch" type="xml">
16
17 <button string="Create Invoice" position="attributes">
18 <attribute name="invisible">1</attribute>
19 </button>
20
21 </field>
22 </record>
23
24 </data>
25</openerp>

Subscribers

People subscribed via source and target branches