Questions tagged [odoo-view]

All data’s of the odoo programs are stored as objects. Views are defined to expose these objects to the user. Odoo uses dynamic user interface, which means it is not statically built by some codes, it is dynamically built from XML descriptions. And these screen descriptions are called views.

Odoo Views

Odoo is an enterprise resource management software that is applicable to all kind of business domains. This is simply amazing because it covers all business requirements such as sale, purchase, billing, accounting, manufacturing, warehouse, project management etc… in a single software. Also, they are integrated to each other.

All data’s of the odoo programs are stored as objects. Views are defined to expose these objects to the user. Odoo uses dynamic user interface, which means it is not statically built by some codes, it is dynamically built from XML descriptions. And these screen descriptions are called views.

In Odoo, views define the way by which the models/objects displayed to user-end. Views are of several types, each view represents a mode of visualization. They make the modules more user-friendly and can vary according to the need. In Odoo we use several types of views such as tree, form, search, calendar, graph, pivot, Kanab etc. As the name suggests each kind of views are different, ‘tree’ view provides the list view of objects, ‘Form’ view displays a single object, ‘Search’ view helps to filter the objects etc..

References

295 questions
4
votes
1 answer

Odoo 9 How to sort order for a field in form view

I've been trying to modify project issue object. and When I click Assign to field, It shows a list of users with dropdown. But I'd like to change its order to DESC. Is there any thing I can do in View? here is my code below
Eric Lee
  • 700
  • 2
  • 9
  • 30
4
votes
2 answers

Odoo 10.0 change POS Logo

I'm already able to to change the General Odoo logo by activating the Developer Mode. And Click on the logo it self and "Edit Company Data", choose the logo. But this is not work on POS. The logo's still the default Odoo Logo. How to change it ?…
Galvion
  • 1,353
  • 7
  • 23
  • 35
4
votes
1 answer

QWebException: "'NoneType' object has no attribute 'with_context'" while evaluating "doc.with_context({'lang':doc.partner_id.lang})"

I am new to odoo, I created a module by inheriting sales_order to create a custom report. I am getting the above error when I am printing the report. Need help please? Here is the code snippets: test/my_module.py: class sale_order(models.Model): …
Arshad
  • 61
  • 1
  • 5
3
votes
1 answer

Migrating to odoo 14

I'm trying to install an Odoo 12 module to check the breaking changes in the application, my process is to try to install, go, and fix an issue and then move to the next error. is there any tool to help with the potential braking changes instead of…
pedrommuller
  • 15,741
  • 10
  • 76
  • 126
3
votes
3 answers

How to change fields.One2Many view in odoo 12?

i trying to create fields.One2Many for my invoice module, i create two different module, one called ms_produk and another called invoice, then for the ms_produk i use as master product, which serve CRUD for item and have a table named…
Ke Vin
  • 3,478
  • 11
  • 60
  • 91
3
votes
1 answer

Change button's action dynamically

Can a button's action be changed dynamically depending on another field's value? Example code: %(action1)d
Deimoks
  • 728
  • 6
  • 20
3
votes
1 answer

Odoo notebook position

Odoo 10 I want to move a notebook page but having errors when I do so. I want to move the membership notebook before the Contacts & Addresses In the Membership addon I replaced to before but this did not work and…
user2379186
  • 421
  • 6
  • 27
3
votes
3 answers

How to make dropdown for groups instead of checkboxes in Odoo?

I have made some groups A,B,C,D through GUI in Odoo v10. These groups are shown as check-boxes on the user page. I want that instead of these check-boxes a dropdown must be shown so that user can be assigned to only a single group i.e. a user can…
Sankalp Kataria
  • 479
  • 7
  • 24
3
votes
2 answers

Odoo - Filter users with specific group in many2one

I am trying to create a drop-down in my custom module form where i want to show users from a specific group fields.Many2one('res.user',string="Admins", domain=[('groups_id','=',12)]) this is what i tried, adding a domain but it is not working. I…
Ancient
  • 3,007
  • 14
  • 55
  • 104
3
votes
1 answer

Odoo - View customization with colspan or may be col

I am using odoo 10-e . Earlier i asked a question how can we merge two or multiple header to show one header against multiple fields Combine two fields heading in one2many . So answer was good and it worked but now i want to do some more…
Ancient
  • 3,007
  • 14
  • 55
  • 104
3
votes
1 answer

Odoo - Filter child records in parent class

I am using Odoo 10-e. I am working on a sample module. I have 5 models (customer, product, order, order details, movement) Customer : class Customer(models.Model): _name ="amgl.customer" …… all other fields related to customer …
Ancient
  • 3,007
  • 14
  • 55
  • 104
3
votes
1 answer

Odoo- Hide field for multiple groups OR visible to multiple groups

e. The issue i am facing is that i need to show a field to multiple user groups. I know how to show field to one group but i want to show this field to multiple…
Ahsan Attari
  • 987
  • 3
  • 12
  • 26
3
votes
2 answers

In Odoo, how can I make a click on a tree view item, open the related record taking up the entire document space instead of in a 'new' popup window?

By default, when you click on a tree view item in Odoo (while inside some other document's Form), it will open the linked document as a popup instead of navigating to the document, replacing the content of the 'current' window (which is the expected…
Erick Tejada
  • 261
  • 3
  • 6
  • 14
3
votes
1 answer

Odoo UI widget - how to get settings from database?

I'm writing an Odoo v9 widget, which renders a URL, based on concatenation of a setting in the database, and the actual form fields. The setting in the database I figure should live in ir_config_parameter. I'm inserting a default value with my…
Nik
  • 2,718
  • 23
  • 34
3
votes
1 answer

Odoo. Creating empty view

What's the easiest way to create empty view in Odoo, which renders custom HTML? There are no such type of views in advanced views
Nikolay Fominyh
  • 8,946
  • 8
  • 66
  • 102
1
2
3
19 20