In ODOO V16 -need approval before posting ( before confirming)
How to implement approval for vendor payment
First manager approves then my GM need to approve
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
In ODOO V16 -need approval before posting ( before confirming)
How to implement approval for vendor payment
First manager approves then my GM need to approve
To do that you have to inherit account.move make sure from your context for Context Value? = {'default_move_type': 'in_invoice', 'display_account_trust': True}
ex :
state = fields.Selection(
string='State',
selection=[('draft', 'Draft'), ('first_approve', 'First Approve'),('final_approve', 'Final Approve'), ('sent', 'Sent By Email'), ('customer', 'Waiting Customer Confirm'),('sale', 'Sale Order'),
('cancel', 'Cancelled') ],default='draft',
required=False, )
so make your own function to control your bottom depending on context above
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire