This commit is contained in:
Elvis 2023-01-16 10:37:38 -05:00
parent c0707bba8a
commit a86b3244eb
5 changed files with 860 additions and 851 deletions

View File

@ -0,0 +1 @@
,presik,presik,16.01.2023 10:11,file:///home/presik/.config/libreoffice/4;

View File

@ -357,13 +357,13 @@ class ProductionSummaryReport(Report):
'quantity': _inp.quantity,
'uom': product.default_uom.name,
'solidos': 0,
'qty_pending': qty_pending
'quantity_pending': qty_pending
}
else:
qty = inputs[key]['quantity']
pend = inputs[key]['qty_pending']
pend = inputs[key]['quantity_pending']
inputs[key]['quantity'] = qty + _inp.quantity
inputs[key]['qty_pending'] = pend + qty_pending
inputs[key]['quantity_pending'] = pend + qty_pending
with Transaction().set_context({'locations': list(locations)}):
products = Product.search_read(

File diff suppressed because it is too large Load Diff

View File

@ -301,7 +301,7 @@ class ExportationPhyto(Workflow, ModelSQL, ModelView):
'invisible': Eval('state') != 'draft',
},
'select_phytos': {
'invisible': Eval('state') != 'draft',
'invisible': (Eval('state') != 'draft') | Eval('lines', []),
},
})

View File

@ -19,16 +19,16 @@ this repository contains the full copyright notices and license terms. -->
<field name="unit_price_ref"/>
</group>
</xpath>
<xpath expr="/form/notebook/page[@id='general']/separator[@name='description']"
<!-- <xpath expr="/form/notebook/page[@id='general']/separator[@name='description']"
position="replace">
</xpath>
</xpath> -->
<xpath expr="/form/notebook/page[@id='notes']" position="after">
<page string="Quality Analysis" col="4" id="quality_analysis">
<field name="quality_analysis" colspan="4"/>
</page>
</xpath>
<xpath expr="/form/notebook/page[@id='general']/field[@name='description']"
position="replace">
<!-- <xpath expr="/form/notebook/page[@id='general']/field[@name='description']"
position="after">
<newline />
<group id="kits" col="1" colspan="2" yfill="1" yexpand="1">
<field name="kits" colspan="4"/>
@ -39,5 +39,5 @@ this repository contains the full copyright notices and license terms. -->
<separator name="note"/>
<field name="note"/>
</group>
</xpath>
</xpath> -->
</data>