25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
# Purchase Custom Form Visibility
|
|
|
|
Custom Odoo 19 module to dynamically manage the visibility of buttons and financial fields on the Purchase Order form on a per-user basis.
|
|
|
|
## Features
|
|
- Per-User Restricting Options: Toggle restriction flags directly on individual user accounts.
|
|
- Hide RFQ & Confirmation Buttons: Hide "Confirm Order" and "Send RFQ" buttons from the purchase order header for restricted users.
|
|
- Hide Financial Fields: Hide unit price, subtotal, and totals on purchase lists, forms, line kanbans, and footer groups for restricted users.
|
|
- Flexible and Stateless: Instant dynamically computed restrictions without storing redundant data in the database.
|
|
|
|
## Installation
|
|
1. Move the purchase_custom_visibility directory to Odoo's custom addons path.
|
|
2. Upgrade/Update Odoo addons list.
|
|
3. Install the module.
|
|
|
|
## Configuration (Per-User)
|
|
1. Go to Settings -> Users & Companies -> Users.
|
|
2. Select a User record and click Edit.
|
|
3. Open the Purchase Restrictions tab.
|
|
4. Check the desired restrictions (Hide Confirm Order & Send RFQ, Hide Price, Subtotal & Total).
|
|
5. Save the user record.
|
|
|
|
## Author
|
|
Suherdy Yacob
|