Application pyflakes and pep8

This commit is contained in:
oscar alvarez 2022-11-15 11:54:02 -05:00
parent a9bda9fabf
commit 27fd898d2d
5 changed files with 241 additions and 6228 deletions

View File

@ -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 = {}

483
crop.py

File diff suppressed because it is too large Load Diff

5979
es.po

File diff suppressed because it is too large Load Diff

View File

@ -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:

View File

@ -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">