This question has been flagged

I'm trying to close the point of sale session and I'm not getting it, it's generating the error below:

A operação não pode ser concluída, provavelmente devido aos seguintes fatores:
- exclusão: você pode estar tentando excluir um registro enquanto outros registros ainda fazem referência a ele
- criação/atualização: um campo obrigatório não está configurado corretamente

[objeto com referência: payment_method_id - payment.method.id]

2019-04-25 17:24:23,630 1411 ERROR acai_iate odoo.sql_db: bad query: b'INSERT INTO "account_payment" ("id", "partner_type", "payment_difference_handling", "state", "move_name", "writeoff_label", "communication", "name", "amount", "partner_id", "journal_id", "payment_date", "payment_method_id", "currency_id", "payment_type", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval(\'account_payment_id_seq\'), \'customer\', \'open\', \'reconciled\', NULL, \'Write-Off\', \'Caixa 1/0023: \', \'POS/2019/04/24/03\', \'25.00\', 14, 10, \'2019-04-24\', NULL, 7, \'inbound\', 1, 1, (now() at time zone \'UTC\'), (now() at time zone \'UTC\')) RETURNING id'

ERROR: null value in column "payment_method_id" violates not-null constraint

DETAIL:  Failing row contains (26171, null, customer, 14, 25.00, 7, 2019-04-24, Caixa 1/0023: , 10, null, POS/2019/04/24/03, reconciled, inbound, null, null, null, open, null, Write-Off, null, 1, 2019-04-25 17:24:23.539933, 1, 2019-04-25 17:24:23.539933).

Erro
http://prntscr.com/nguhyp

http://prntscr.com/nguh28
http://prntscr.com/ngun1b

Configuração
http://prntscr.com/nguizp
http://prntscr.com/nguj6g
http://prntscr.com/ngujdu
http://prntscr.com/ngul08

Diaries
http://prntscr.com/nguk0z
http://prntscr.com/nguk4a
http://prntscr.com/nguk6y

http://prntscr.com/ngukdt
http://prntscr.com/ngukh4
http://prntscr.com/ngukk3

Avatar
Discard

I do not have the time to check all your screenshots. Did you properly define and assign your payment methods, as the error messages suggest?

Author

Yes, it was all attributed correctly, but still it still gives this error.