Anup(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-hr_expense_invoice_readonly-bugfix-ind-ach
into lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.
Requested reviews:
Husen Daudi (husendaudi)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-hr_expense_invoice_readonly-bugfix-ind-ach/+merge/58274
Hello,
Accounting Data in HR Expenses should be read only.
Whenever an expense is shown the invoice is always visible. It should not be
the case. The invoice would be there only when it is approved and has an
invoice related.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-hr_expense_invoice_readonly-bugfix-ind-ach/+merge/58274
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.
=== modified file 'hr_expense/hr_expense_view.xml'
--- hr_expense/hr_expense_view.xml 2011-02-18 13:27:42 +0000
+++ hr_expense/hr_expense_view.xml 2011-04-19 11:06:37 +0000
@@ -112,7 +112,7 @@
<group col="2" colspan="2">
<separator colspan="2" string="Accounting data"/>
<field name="journal_id"/>
- <field name="invoice_id" context="{'type':'in_invoice', 'journal_type': 'purchase'}"/>
+ <field name="invoice_id" context="{'type':'in_invoice', 'journal_type': 'purchase'}" readonly="1"/>
</group>
<group col="2" colspan="2">
<separator colspan="2" string="Validation"/>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help : https://help.launchpad.net/ListHelp