Hi to everyone,
When I try to validate a purchase invoice created from a purchase order, it is imposible to validate it
This error appears:
File "/opt/odoo/odoo-server/odoo/fields.py", line 1780, in convert_to_cache raise ValueError("Wrong value for %s: %r" % (self, value)) ValueError: Wrong value for ir.attachment.type: u'in_invoice'
It is shown in this post with no solution (instead purchases is sales)
https://www.odoo.com/fr_FR/groups/community-59/community-23545985#
Any idea?
Thanks.
try to pass context 'type': 'in_invoice' while creating your purchase order
Already such an issue is reported : https://github.com/odoo/odoo/issues/15279
How can I do such thing?
Thank you for answering.