Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1796 Visualizzazioni

1) STEPS

See steps in screen captures in attach

- Go to App: POint of Sale

https://samadeva-oerp-brstaging-12658111.dev.odoo.com/web#action=1932&model=pos.config&view_type=kanban&cids=1&menu_id=1158

- Click on button : [ new Session ]

- Select a product

- Select a customer (Client)

- Select payment method (Espece)

- Click on button : [ Validate ]

- Click in top menubar on [ Close Session ] (Fermer)

- Go menu Session and open the last session

(see images in attach)

- Open the AccountMoveLines (Pieces comptable) that are associated to this PoS-Session

2) BEHAVIOR

There is no value for the "partner" field

(see last image in attach)

3) EXPECTED

The partner should correspond to the customer (client) chosen for the corresponding purchase in the pos-Session


For accounting purposes, it would be necessary too to set a default partner for all account move lines too, that are related to a pos-order, if customer is not specified.

But, i can see in the code of addons/point_of_sale/pos_session.py that the partner_id value for the pos related AccountMoveLines is set to:

* self.env["res.partner"]._find_accounting_partner(payment.partner_id)

* or, for other type of AccountMoveLine: 'partner_id': False,

* or in the other cases: partner_id is just not set on creation of AccountMoveLines

* or, it other cases, no value is given for partner_id




Avatar
Abbandona
Risposta migliore

You have to achieve it through customization. Whenever customer is Settled on the order at that time system should capture that customer name in the partner in the Journal Entry.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 25
900
1
set 23
1854
3
apr 25
1571
0
set 24
1662
1
ago 24
2452