Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Why I can not modify the shop_id field of model 'pos.config'? Ver 7.0

By
Qinn Zoou
on 7/31/16, 10:06 PM 124 views

According the details (Settings > Technical > DataBase Structure > Models) of model 'pos.config', it has a field which name is 'shop_id' and 'many2one' to model 'sale.shop'.

However, I can't edit 'shop_id' on the edit page for 'pos.config'.

Anyway, I extend the form view of 'pos.config' add this field to the page with the code:

    <record id="view_form_smallposconfig" model="ir.ui.view">
      <field name="name">View Form SmallPos</field>
      <field name="model">pos.config</field>
      <field name="inherit_id" ref="point_of_sale.view_pos_config_form"/>
      <field name="arch" type="xml">
        <field name="name" position="after">
          <field name="shop_id"/>
        </field>
      </field>
    </record>

When I create new shop on the dialog page, it always complain:

The following fields are invalid: Pricelist

So, are there anyone can give me some advice to solve this issue?

Thanks.

0
Qinn Zoou
On 8/2/16, 4:01 AM

I have figure out is issue finally.

To check two checkboxes:

Settings > Configuration > Sales > Quotations and Sales Orders > Customer Features > Use pricelists to adapt your price per customers

Settings > Configuretion > Warehouse > Laction & Warehouse > Logistic > Manage multiple locations and warehouses

Then, I can config the shop of Point of Sale.


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/31/16, 10:06 PM
Seen: 124 times
Last updated: 8/2/16, 4:02 AM