Sale properties dynamic fields

sale_properties_dynamic_fields
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/8.0/sale_properties_dynamic_fields
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSeLBati, Stéphane Bidoul (ACSONE), Alex Comba, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/sale-workflow:
    - sale_properties_easy_creation
odoo/odoo:
    - sale_mrp
    - mrp
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - stock_account
    - stock
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
    - resource
    - sale_stock
    - sale
    - sales_team
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
mrp_property_group_form_view_draw mrp_property_group_form_view_draw mrp.property.group field Inherits mrp.mrp_property_group_form_view
Models touched (3)

New fields (0)

No new fields.

Public methods (5)
  • build_field_vals(self, cr, uid, group, context=None)
  • check_duplicate_field(self, cr, uid, field_id, context=None)
  • create(self, cr, uid, vals, context=None)
  • unlink(self, cr, uid, ids, context=None)
  • write(self, cr, uid, ids, vals, context=None)

New fields (0)

No new fields.

Public methods (3)
  • fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False)
  • test_field_presence(self, group, view)
  • test_linked_field_presence(self, group)

New fields (0)

No new fields.

Public methods (3)
  • build_prop_m2m_from_dict(self, cr, uid, prop_dict, context=None)
  • dynamic_property_changed(self, cr, uid, ids, property_ids, dynamic_property, context=None)
  • test_property_presence(self, prop, prop_dict)
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/7.0/sale_properties_dynamic_fields
VERSION
VERSION 0.1
CATEGORY
CATEGORY
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSLorenzo Battistini, Alexandre Fayolle, Alex Comba, moylop260
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 20:56:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/sale-workflow:
    - sale_properties_easy_creation
odoo/odoo:
    - sale_stock
    - sale
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - stock
    - procurement
    - mrp
    - resource
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to dynamically draw properties groups on sale order lines.
That is, if you have a property group 'Length' and set it as
'Draw dynamically', the module will automatically add the x_length field to
the sale order line and visualize it as char field in the form view.
When fill the 'Length' field, the module will update the properties field
(property_ids) according to it.
This allows to set the line's properties through normal fields, instead of
creating new properties or selecting existing properties.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
mrp_property_group_form_view_draw mrp_property_group_form_view_draw mrp.property.group field Inherits mrp.mrp_property_group_form_view
Models touched (3)

New fields (0)

No new fields.

Public methods (5)
  • build_field_vals(self, cr, uid, group, context=None)
  • check_duplicate_field(self, cr, uid, field_id, context=None)
  • create(self, cr, uid, vals, context=None)
  • unlink(self, cr, uid, ids, context=None)
  • write(self, cr, uid, ids, vals, context=None)

New fields (0)

No new fields.

Public methods (1)
  • fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False)

New fields (0)

No new fields.

Public methods (2)
  • build_prop_m2m_from_dict(self, cr, uid, prop_dict, context=None)
  • dynamic_property_changed(self, cr, uid, ids, property_ids, dynamic_property, context=None)