Application pyflakes and pep8
This commit is contained in:
parent
a9bda9fabf
commit
27fd898d2d
|
@ -227,7 +227,7 @@ class ExportationCharge(Workflow, ModelSQL, ModelView):
|
|||
subtotals[lkey].fulles += line.fulles
|
||||
|
||||
return subtotals.values()
|
||||
|
||||
|
||||
@classmethod
|
||||
def copy(cls, records, default=None):
|
||||
default = {}
|
||||
|
|
|
@ -38,7 +38,6 @@ class InvoiceLine(metaclass=PoolMeta):
|
|||
'get_packing_value')
|
||||
|
||||
def get_packing_value(self, name=None):
|
||||
res = []
|
||||
if self.origin and hasattr(self.origin, name):
|
||||
value = getattr(self.origin, name)
|
||||
if value:
|
||||
|
|
|
@ -19,8 +19,6 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<label name="production_uom"/>
|
||||
<field name="production_uom"/>
|
||||
<group id="quantity" col="6" colspan="4">
|
||||
<label name="field_size"/>
|
||||
<field name="field_size"/>
|
||||
<label name="total_plants"/>
|
||||
<field name="total_plants"/>
|
||||
<label name="quantity_produced"/>
|
||||
|
@ -58,6 +56,8 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<page string="Additional Info" col="2" id="indicators">
|
||||
<label name="company"/>
|
||||
<field name="company" widget="selection"/>
|
||||
<label name="field_size"/>
|
||||
<field name="field_size"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<group col="6" colspan="4" id="state_buttons">
|
||||
|
|
Loading…
Reference in New Issue