Merge lp:~koi-accounting-modules-maintainer/koi-accounting-modules/7.0-account_move_mail_thread into lp:~koi-accounting-modules-maintainer/koi-accounting-modules/7.0-accounting_query

Proposed by Andhitia Rama
Status: Merged
Approved by: Andhitia Rama
Approved revision: 10
Merged at revision: 31
Proposed branch: lp:~koi-accounting-modules-maintainer/koi-accounting-modules/7.0-account_move_mail_thread
Merge into: lp:~koi-accounting-modules-maintainer/koi-accounting-modules/7.0-accounting_query
Diff against target: 91 lines (+60/-0)
4 files modified
ar_account/__openerp__.py (+1/-0)
ar_account/object_other/__init__.py (+1/-0)
ar_account/object_other/account_move.py (+35/-0)
ar_account/view/view_AccountMove.xml (+23/-0)
To merge this branch: bzr merge lp:~koi-accounting-modules-maintainer/koi-accounting-modules/7.0-account_move_mail_thread
Reviewer Review Type Date Requested Status
Andhitia Rama Approve
Review via email: mp+220856@code.launchpad.net

Description of the change

Ok

To post a comment you must log in.
Revision history for this message
Andhitia Rama (andhitia-r) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ar_account/__openerp__.py'
2--- ar_account/__openerp__.py 2014-04-30 18:16:46 +0000
3+++ ar_account/__openerp__.py 2014-05-24 10:39:37 +0000
4@@ -63,6 +63,7 @@
5 'view/view_SupplierInvoices.xml',
6 'view/view_ResCompany.xml',
7 'view/view_Account.xml',
8+ 'view/view_AccountMove.xml',
9 'window_action/waction_VoucherType.xml',
10 'window_action/waction_BankPayment.xml',
11 'window_action/waction_BankReceipt.xml',
12
13=== modified file 'ar_account/object_other/__init__.py'
14--- ar_account/object_other/__init__.py 2014-05-06 02:26:15 +0000
15+++ ar_account/object_other/__init__.py 2014-05-24 10:39:37 +0000
16@@ -20,6 +20,7 @@
17 ##############################################################################
18
19 import account_journal
20+import account_move
21 import account_move_line
22 import res_currency
23 import res_currency_rate
24
25=== added file 'ar_account/object_other/account_move.py'
26--- ar_account/object_other/account_move.py 1970-01-01 00:00:00 +0000
27+++ ar_account/object_other/account_move.py 2014-05-24 10:39:37 +0000
28@@ -0,0 +1,35 @@
29+# -*- encoding: utf-8 -*-
30+##############################################################################
31+#
32+# OpenERP, Open Source Management Solution
33+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
34+# $Id$
35+#
36+# This program is free software: you can redistribute it and/or modify
37+# it under the terms of the GNU General Public License as published by
38+# the Free Software Foundation, either version 3 of the License, or
39+# (at your option) any later version.
40+#
41+# This program is distributed in the hope that it will be useful,
42+# but WITHOUT ANY WARRANTY; without even the implied warranty of
43+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44+# GNU General Public License for more details.
45+#
46+# You should have received a copy of the GNU General Public License
47+# along with this program. If not, see <http://www.gnu.org/licenses/>.
48+#
49+##############################################################################
50+
51+
52+from osv import fields, osv
53+
54+class account_move(osv.osv):
55+ _name = 'account.move'
56+ _inherit = ['account.move','mail.thread']
57+
58+
59+account_move()
60+
61+
62+
63+
64
65=== added file 'ar_account/view/view_AccountMove.xml'
66--- ar_account/view/view_AccountMove.xml 1970-01-01 00:00:00 +0000
67+++ ar_account/view/view_AccountMove.xml 2014-05-24 10:39:37 +0000
68@@ -0,0 +1,23 @@
69+<?xml version="1.0" encoding="utf-8"?>
70+<openerp>
71+ <data>
72+
73+ <record id="form_account_accountMove" model="ir.ui.view">
74+ <field name="name">Form Journal Entry - ar_account</field>
75+ <field name="model">account.move</field>
76+ <field name="inherit_id" ref="account.view_move_form"/>
77+ <field name="arch" type="xml">
78+ <data>
79+ <sheet string="Journal Entries" position="after">
80+ <div class="oe_chatter">
81+ <field name="message_follower_ids" widget="mail_followers"/>
82+ <field name="message_ids" widget="mail_thread"/>
83+ </div>
84+ </sheet>
85+ </data>
86+ </field>
87+ </record>
88+
89+
90+ </data>
91+</openerp>

Subscribers

People subscribed via source and target branches