mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract_variable_quantity: black, isort, prettier
This commit is contained in:
@@ -7,15 +7,12 @@ from odoo import fields, models
|
||||
|
||||
|
||||
class ContractAbstractContractLine(models.AbstractModel):
|
||||
_inherit = 'contract.abstract.contract.line'
|
||||
_inherit = "contract.abstract.contract.line"
|
||||
|
||||
qty_type = fields.Selection(
|
||||
selection=[
|
||||
('fixed', 'Fixed quantity'),
|
||||
('variable', 'Variable quantity'),
|
||||
],
|
||||
selection=[("fixed", "Fixed quantity"), ("variable", "Variable quantity")],
|
||||
required=True,
|
||||
default='fixed',
|
||||
default="fixed",
|
||||
string="Qty. type",
|
||||
)
|
||||
qty_formula_id = fields.Many2one(
|
||||
|
||||
Reference in New Issue
Block a user