mirror of
https://github.com/NaN-tic/trytond-contract_shipment_work.git
synced 2023-12-14 03:52:53 +01:00
Remove asset field from shipment work list
This commit is contained in:
parent
80bb018150
commit
10d2a912a5
|
@ -196,7 +196,7 @@ class ContractLine:
|
|||
|
||||
rs = line.service.rrule
|
||||
r = rrule(rs._freq, interval=rs._interval, dtstart=start_date,
|
||||
until=line.contract.end_date)
|
||||
until=line.contract.end_date) # TODO: it must to be end_date?
|
||||
for date in r.between(todatetime(start_date),
|
||||
todatetime(end_date), inc=True):
|
||||
shipment_work = line.get_shipment_work(date.date())
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='party']" position="after">
|
||||
<field name="asset"/>
|
||||
<field name="contract"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
|
Loading…
Reference in a new issue