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

Module: Indian - E-waybill

Entity: account.move

Compute Method: _compute_l10n_in_ewaybill_details

Inputs Method Outputs
for move in self:
            ewaybill = move.l10n_in_ewaybill_ids and move.l10n_in_ewaybill_ids[0]
            if move.country_code == 'IN' and move.company_id.l10n_in_ewaybill_feature and ewaybill.state == 'generated':
                move.l10n_in_ewaybill_name = ewaybill.name
                move.l10n_in_ewaybill_expiry_date = ewaybill.ewaybill_expiry_date
            else:
                move.l10n_in_ewaybill_name = False
                move.l10n_in_ewaybill_expiry_date = False

Back to entity