Sanjay Gohel (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-addons9-accounting-apa-menu-and-other-imp-sgo
into lp:~openerp-dev/openobject-addons/trunk-addons9-accounting-apa.
Requested reviews:
Amit Patel (OpenERP) (apa-tiny)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons9-accounting-apa-menu-and-other-imp-sgo/+merge/123715
Hello,
I have done following work.
1. changed breadcrumb for invoice and draft.
2. changed menu name from base.menu_action_currency_form to "Currencies".
3. hide in one 1 o2m which is no used in payment for better look.
Thank You.
SGO
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons9-accounting-apa-menu-and-other-imp-sgo/+merge/123715
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-addons9-accounting-apa.
=== modified file 'account/account_invoice.py'
--- account/account_invoice.py 2012-09-10 10:34:38 +0000
+++ account/account_invoice.py 2012-09-11 10:43:19 +0000
@@ -1095,10 +1095,10 @@
if not ids:
return []
types = {
- 'out_invoice': 'CI: ',
- 'in_invoice': 'SI: ',
- 'out_refund': 'OR: ',
- 'in_refund': 'SR: ',
+ 'out_invoice': 'Draft Invoice',
+ 'in_invoice': 'Draft Invoice ',
+ 'out_refund': 'Draft Refund ',
+ 'in_refund': 'Draft Refund',
}
return [(r['id'], (r['number']) or types[r['type']] + (r['name'] or '')) for r in self.read(cr, uid, ids, ['type', 'number', 'name'], context, load='_classic_write')]
=== modified file 'account/account_menuitem.xml'
--- account/account_menuitem.xml 2012-08-29 06:10:48 +0000
+++ account/account_menuitem.xml 2012-09-11 10:43:19 +0000
@@ -30,7 +30,7 @@
<menuitem id="menu_analytic" parent="menu_analytic_accounting" name="Accounts" groups="analytic.group_analytic_accounting"/>
<menuitem id="menu_journals" sequence="15" name="Journals" parent="menu_finance_configuration" groups="group_account_manager"/>
<menuitem id="menu_configuration_misc" name="Miscellaneous" parent="menu_finance_configuration" sequence="55"/>
- <menuitem id="base.menu_action_currency_form" parent="menu_configuration_misc" sequence="20" groups="base.group_no_one"/>
+ <menuitem id="base.menu_action_currency_form" name="Currencies" parent="menu_configuration_misc" sequence="20" groups="base.group_no_one"/>
<menuitem id="menu_finance_generic_reporting" name="Generic Reporting" parent="menu_finance_reports" sequence="100"/>
<menuitem id="menu_finance_entries" name="Journal Entries" parent="menu_finance" sequence="5" groups="group_account_user,group_account_manager"/>
<menuitem id="menu_account_reports" name="Financial Reports" parent="menu_finance_configuration" sequence="30" />
=== modified file 'account_voucher/voucher_payment_receipt_view.xml'
--- account_voucher/voucher_payment_receipt_view.xml 2012-09-10 20:14:08 +0000
+++ account_voucher/voucher_payment_receipt_view.xml 2012-09-11 10:43:19 +0000
@@ -328,7 +328,7 @@
<notebook>
<page string="Payment Information" groups="base.group_user">
- <field name="line_cr_ids" context="{'journal_id':journal_id, 'type':type, 'partner_id':partner_id}" on_change="onchange_line_ids(line_dr_ids, line_cr_ids, amount, currency_id, type, context)">
+ <field name="line_cr_ids" attrs="{'invisible': [('type', '=', 'receipt')]}" context="{'journal_id':journal_id, 'type':type, 'partner_id':partner_id}" on_change="onchange_line_ids(line_dr_ids, line_cr_ids, amount, currency_id, type, context)">
<tree string="Invoices and outstanding transactions" editable="bottom" colors="gray:amount==0">
<field name="move_line_id" context="{'journal_id':parent.journal_id, 'partner_id':parent.partner_id}"
on_change="onchange_move_line_id(move_line_id)"
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp