tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

[ADD] zero_stock_approval: add "zero_stock_approval" field in SO

Open stan-odoo opened this issue 3 months ago • 1 comments

Currently, Sales/Users can confirm quotations without any approval.

This change introduces a new module "zero_stock_approval" which adds:

  • A boolean field "zero_stock_approval" on sales orders
  • A computed field "is_manager" to identify whether the current user is a Sales/Administrator

Behavior:

  • If "zero_stock_approval" is checked, Sales/Users can confirm the quotation
  • If unchecked, Sales/Users cannot confirm the quotation
  • The "zero_stock_approval" field is read-only for Sales/Users and can only be set by Sales/Administrators

This ensures proper approval control and restricts confirmation rights based on the approval status.

task-5081749

stan-odoo avatar Sep 12 '25 05:09 stan-odoo

Pull request status dashboard

robodoo avatar Sep 12 '25 05:09 robodoo