Odoo - OpenERP - How to Enable or Disable the Create & Edit button (option) in account journal voucher?

Support
Support
5000
| 2 1 2
Asked on 7/3/15, 8:08 PM
0
vote
6360 Views

For Tree View: --> Go to Settings > User Interface > Views > and select below view

View Name - account.voucher.tree_nocreate

View Type - Tree

Object - account.voucher

Then replace <tree colors="blue:state == 'draft';gray:state == 'cancel';red:audit" string="Voucher Entries" create="0" edit="0">

To <tree colors="blue:state == 'draft';gray:state == 'cancel';red:audit" string="Voucher Entries" create="1" edit="1">

 

For Form View: --> Go to Settings > User Interface > Views > and select below view

View Name - account.voucher.form

View Type - Form

Object - account.voucher

Then replace <form string="Accounting Voucher" create="0" edit="0">

To <form string="Accounting Voucher" create="1" edit="1">

Support
Support
5000
| 2 1 2
Answered on 7/3/15, 8:13 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 7/3/15, 8:08 PM
Seen: 6360 times
Last updated: 7/3/15, 8:13 PM