hello ,
I will start by thanking anyone who has picked my question . so , here is my issue . I created a module on odoo CE 11. and in my model i used the field 'Active'. when I installed that module and loaded it on local , i noticed something:
"i couldn't save a new object without checking the 'Active' field.I guess this is because the default value of that field (the "active" field) is true.The most strange for me, i did not assign the instruction "default=True" to that field in my model.
Seeing that i was able to save my new object only if the field active is checked , I modified my model again : I changed his name , and removed the field 'active'. I removed my module and installed it again. Now my module works perfectly. I can create and save object now using my form. My object is visible on the tree view. so here are my questions:
1.Can somebody please understand why i had to check the field 'active' for the object to be saved by my form view in my tree view ? ( based on the fact that i did not made that field required or did not set the instruction "default=True" on that field ? )
2. now i have a my old model that i want to delete but when i am trying to delete it i have the message :" Model 'filter on warehouses' contains module data and cannot be removed". Please can somebody help me , how can i have access to these datas ? so that i can first delete them
once again thank you for your help and your understanding