Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Sales PDF Quotation Builder

Entity: quotation.document

Compute Method: _compute_form_field_ids

Inputs Method Outputs
self.form_field_ids = [Command.clear()]
document_to_parse = self.filtered(lambda doc: doc.datas)
if document_to_parse:
            doc_type = 'quotation_document'
            self.env['sale.pdf.form.field']._create_or_update_form_fields_on_pdf_records(
                document_to_parse, doc_type
            )

Back to entity