Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4542 Widoki

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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.


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
paź 20
6380
0
sty 16
3254
1
cze 25
603
2
kwi 25
1007
0
sty 25
1009