This question has been flagged
3264 Views
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: name - name]
Above Error happens when I do Bill from Purchase order. What could it be?
Avatar
Discard

Please check the log entries.

Where do I find logs?


On 15 Nov 2018, at 16:16, Ermin Trevisan <trevi@twanda.com> wrote:

Please check the log entries.

Sent by Odoo S.A. using Odoo.

odoo.sql_db: bad query: b'INSERT INTO "account_invoice_line" ("id", "create_uid", "create_date", "write_uid", "write_date", "account_analytic_id", "account_id", "currency_id", "discount", "display_type", "invoice_id", "is_rounding_line", "price_unit", "product_id", "purchase_line_id", "quantity", "sequence", "uom_id") VALUES (nextval(\'account_invoice_line_id_seq\'), 2, (now() at time zone \'UTC\'), 2, (now() at time zone \'UTC\'), NULL, 49, 147, \'0.00\', NULL, 10, false, \'6.00\', 13, 1, \'1.00\', 0, 3) RETURNING id'



On 15 Nov 2018, at 16:16, Ermin Trevisan <trevi@twanda.com> wrote:

Please check the log entries.

Sent by Odoo S.A. using Odoo.