Hi,
How to know the user's who confirmed (the button) SO or invoice ? and print the name in the tree view for example
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
How to know the user's who confirmed (the button) SO or invoice ? and print the name in the tree view for example
Thanks
You can inherit sale.order add field "confirmed_by",
confirmed_by = fields.Many2one("res.users","Confirmed By")
Set confirm by users on confirmed button
@api.multi
def action_confirm(self):
for order in self:
--- add this line ---
order.confirmed_by = self._uid # set user who confirmed sale order
---then rest method ---
add confirmed_by field in to Tree view
You can see what happened to a document in the chatter history below of every document. To see it in the tree view you would have to create a module extending the existing tree view, but be aware that as time goes by a document can be confirmed multiple times by multiple persons.
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
3
lip 25
|
7144 | ||
|
1
maj 25
|
1201 | ||
|
2
sty 25
|
1987 | ||
|
1
sie 24
|
1948 | ||
Adding users to Odoo sh project
Rozwiązane
|
|
1
lip 24
|
2762 |