the vehicle field in creating a new contract is empty
here the link
https\:\/\/www\.odoo\.com\/mail\/\
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi Niyas,
thank you for you quick response,
when I change the rule to inactive, user can see all vehicules of all companies and the same field is also empy in the contract.
when I delete the rule , I have same thing (field vehicule is empty in contract) so the fault is coming from fleet rental management !
--------------
Hi,
This is due to the record rule you have added, in th rule we have specified that the user should only see the vehicles of his company. There might not be any vehicles/fleet which belong to users company, that is why we are getting empty many2one field.
To make sure that the record rule is the reason, you can just make the newly added record rule active = false, just open the newly added record rule and untick the active field. And then check whether fleets are shown in the many2one field.
As a solution just create a fleet from current user login and see whether it is listed in the many2one field.
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jul 20
|
1469 | ||
|
2
Apr 19
|
2186 | ||
|
2
Feb 19
|
2573 | ||
|
3
Nov 24
|
346 | ||
|
0
Nov 24
|
149 |