Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1107 Vistas

how to add product and the price comes from pricelist automatically with studio

Avatar
Descartar
Mejor respuesta

Hi Ashraf,

The query you provided is not sufficient for a proper answer; however, assuming you want to set the price of a product in a price list and have it automatically populate in a field, you can follow these steps in Odoo Studio:

  1. Add a Field for the Product: Drag and drop a "Many2one" field from the sidebar onto the Sales Order form. Select "Product" as the model and configure the other options as needed.
  2. Add a Field for the Price List: Similarly, add another "Many2one" field for the Price List.
  3. Add a Related Field for the Price: Drag and drop a "Related" field from the sidebar onto the Sales Order form. Select "Price" as the field to relate, and in the "Related Field" configuration, choose the Price List field you added earlier.
  4. Save Changes: Once you've added these fields, save your changes in Studio.
  5. Set Default Price List: Go back to the Sales Order form in regular mode. Click on "Edit" to enter edit mode. Select the desired price list for the Price List field you added.
  6. Add Products: Now, when you add a product to the Sales Order, the price should automatically come from the selected price list.

By following these steps, you can use Odoo Studio to customize the Sales Order form to include fields for selecting a product and a price list, and have the price automatically populated based on the selected price list.

Hope it helps

Avatar
Descartar