Finding the xml file corresponding to an F2 click

Asked by Bushair

Hi,
Navigate to MainMenu->PointOfSale
Click PointOfSale

while Adding a new product to the pos window using the add product button.
PRess F2 from the product field.
Which will bring a pop up as shown below

Search Products

* Basic Search * Advanced Search

Name: Code:
Category: Variant Price Margin: -

Variant Price Extra: -

Here i would like to make the "Name: " field as a Combobox type field(widget="selection").
Which xml file i should modify for this?Do we need to modify the products_view.xml file?if yes which line we have to modify?

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mantavya Gajjar (Open ERP) (mga) said :
#1

You have to modify view in pos mode
------Original Message------
From: Bushair
Sender: <email address hidden>
To: <email address hidden>
ReplyTo: <email address hidden>
Subject: [Question #99200]: Finding the xml file corresponding to an F2 click
Sent: Jan 30, 2010 12:14 PM

New question #99200 on OpenObject Addons:
https://answers.launchpad.net/openobject-addons/+question/99200

Hi,
Navigate to MainMenu->PointOfSale
Click PointOfSale

while Adding a new product to the pos window using the add product button.
PRess F2 from the product field.
Which will bring a pop up as shown below

Search Products

* Basic Search * Advanced Search

Name: Code:
Category: Variant Price Margin: -

Variant Price Extra: -

Here i would like to make the "Name: " field as a Combobox type field(widget="selection").
Which xml file i should modify for this?Do we need to modify the products_view.xml file?if yes which line we have to modify?

--
You received this question notification because you are an answer
contact for OpenObject Addons.

Sent from my BlackBerry® smartphone from !DEA

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) said :
#2

-mode
+module

------Original Message------
From: mga \(Open ERP\)
Sender: <email address hidden>
To: <email address hidden>
ReplyTo: <email address hidden>
Subject: Re: [Question #99200]: Finding the xml file corresponding to an F2click
Sent: Jan 30, 2010 12:21 PM

Question #99200 on OpenObject Addons changed:
https://answers.launchpad.net/openobject-addons/+question/99200

    Status: Open => Answered

mga (Open ERP) proposed the following answer:
You have to modify view in pos mode
------Original Message------
From: Bushair
Sender: <email address hidden>
To: <email address hidden>
ReplyTo: <email address hidden>
Subject: [Question #99200]: Finding the xml file corresponding to an F2 click
Sent: Jan 30, 2010 12:14 PM

New question #99200 on OpenObject Addons:
https://answers.launchpad.net/openobject-addons/+question/99200

Hi,
Navigate to MainMenu->PointOfSale
Click PointOfSale

while Adding a new product to the pos window using the add product button.
PRess F2 from the product field.
Which will bring a pop up as shown below

Search Products

* Basic Search * Advanced Search

Name: Code:
Category: Variant Price Margin: -

Variant Price Extra: -

Here i would like to make the "Name: " field as a Combobox type field(widget="selection").
Which xml file i should modify for this?Do we need to modify the products_view.xml file?if yes which line we have to modify?

--
You received this question notification because you are an answer
contact for OpenObject Addons.

Sent from my BlackBerry® smartphone from !DEA

You received this question notification because you are an answer
contact for OpenObject Addons.

Sent from my BlackBerry® smartphone from !DEA

Revision history for this message
Bushair (bushairka) said :
#3

Hi,
Thanks for the information.

But i couldnt see the fields corresponding to the following in pos_view.xml

Name: Code:
Category: Variant Price Margin: -

Variant Price Extra: -

In pos_view.xml i can see the fields corresponding to the page displayed in POS.
But i want to modify the page which will pop up when i press F2 from the Product field in POS page.

Thanks

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#4

Hello Bushair ,

For that you need to modify the product tree view by inheriting the related product view.
You need to add one argument widget="selection" in filed tag.

Hope this will help you.

Thanks.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) said :
#5

Hello Bushair,

You want the Products' List view.

You should have gone to the list views of Product.product and modify it according to your need.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Bushair for more information if necessary.

To post a message you must log in.