Why the Create button in the main form does not work?
问题 When I click on the "Attach PDF" button, the list form opens, but the "Create" button does not work. But when I go to the list form from the main menu, then everything is fine. What is the problem? model.py from odoo import models, fields, api class AttachPDF(models.Model): _name = 'attach.pdf' product_id = fields.Many2one('product.template', string='Product', required=True) product_attribute_value_id = fields.Many2one('product.attribute.value', string='Attribute Value', required=True,