l10n_br_sale_product.models package

Submodules

l10n_br_sale_product.models.res_company module

class l10n_br_sale_product.models.res_company.ResCompany(pool, cr)[código fonte]

Base: openerp.models.Model

default_ind_pres
Parâmetros:
  • selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
  • selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).

The attribute selection is mandatory except in the case of related fields or field extensions.

l10n_br_sale_product.models.sale module

class l10n_br_sale_product.models.sale.SaleOrder(pool, cr)[código fonte]

Base: openerp.models.Model

amount_costs

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
amount_discount

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
amount_extra

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
amount_freight

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
amount_gross

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
amount_insurance

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
amount_tax

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
amount_total

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
amount_untaxed

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
ind_pres
Parâmetros:
  • selection – specifies the possible values for this field. It is given as either a list of pairs (value, string), or a model method, or a method name.
  • selection_add – provides an extension of the selection in the case of an overridden field. It is a list of pairs (value, string).

The attribute selection is mandatory except in the case of related fields or field extensions.

class l10n_br_sale_product.models.sale.SaleOrderLine(pool, cr)[código fonte]

Base: openerp.models.Model

customer_order

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
customer_order_line

Basic string field, can be length-limited, usually displayed as a single-line string in clients

Parâmetros:
  • size (int) – the maximum size of values stored for that field
  • translate (bool) – whether the values of this field can be translated
discount_value

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
freight_value

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
insurance_value

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
other_costs_value

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
price_gross

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)
price_subtotal

The precision digits are given by the attribute

Parâmetros:digits – a pair (total, decimal), or a function taking a database cursor and returning a pair (total, decimal)

Module contents