twanda / vertical-agriculture

Verticalization of Odoo for farms and agroindustries
GNU Affero General Public License v3.0
0 stars 1 forks source link

Agriculture Modul: "Code" and "Name" in "Farm" and "Plot" #71

Closed dastcaboz closed 2 years ago

dastcaboz commented 2 years ago
220906_issue_08

For "Plot" and "Farm" the field "Name" should be UNIQUE. We use here a internal Code. In all references to "Plot" or "Farm" we should be able to search for this internal Code rather than the code automatically generated by odoo. The field "Code" can stay but should not be editable for non-authorized users.

candidroot commented 2 years ago

@dastcaboz Removed Street2 and removed code from Plots. Applied constraint for unique name of the plot.

dastcaboz commented 2 years ago

"Name" is still not unique. If not yet existing: please add a unique ID and display it as a non-editabel field (where "Code" was). 220909_issue_14

siddharth7815 commented 2 years ago

For Plot name unique, constraint applied on the test server.