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