l10n_br_stock_account.models package

Submodules

l10n_br_stock_account.models.procurement module

class l10n_br_stock_account.models.procurement.ProcurementOrder(pool, cr)[código fonte]

Base: openerp.models.Model

l10n_br_stock_account.models.res_company module

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

Base: openerp.models.Model

stock_fiscal_category_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

stock_in_fiscal_category_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

stock_out_fiscal_category_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

l10n_br_stock_account.models.stock module

class l10n_br_stock_account.models.stock.ProcurementRule(pool, cr)[código fonte]

Base: openerp.models.Model

Create relation with l10n-brazil fiscal category, used to select taxes on branch / inter company transfers.

fiscal_category_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

class l10n_br_stock_account.models.stock.StockLocationPath(pool, cr)[código fonte]

Base: openerp.models.Model

fiscal_category_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

l10n_br_stock_account.models.stock_account module

class l10n_br_stock_account.models.stock_account.StockMove(pool, cr)[código fonte]

Base: openerp.models.Model

fiscal_category_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

fiscal_position

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

onchange_fiscal()[código fonte]
onchange_product_id(*args, **kwargs)[código fonte]
class l10n_br_stock_account.models.stock_account.StockPicking(pool, cr)[código fonte]

Base: openerp.models.Model

fiscal_category_id

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

fiscal_position

The value of such a field is a recordset of size 0 (no record) or 1 (a single record).

Parâmetros:
  • comodel_name – name of the target model (string)
  • domain – an optional domain to set on candidate values on the client side (domain or string)
  • context – an optional context to use on the client side when handling that field (dictionary)
  • ondelete – what to do when the referred record is deleted; possible values are: 'set null', 'restrict', 'cascade'
  • auto_join – whether JOINs are generated upon search through that field (boolean, by default False)
  • delegate – set it to True to make fields of the target model accessible from the current model (corresponds to _inherits)

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

onchange_fiscal()[código fonte]

Module contents