mirror of
https://github.com/NaN-tic/trytond-stock_external_reception_lot.git
synced 2023-12-14 03:22:54 +01:00
Add lot_number char field in reception lines
This commit is contained in:
parent
86358873d0
commit
4b3c71e57c
|
@ -1,2 +1,5 @@
|
|||
Version 3.4.1 - 2015-01-20
|
||||
* Add lot_number char field in reception lines
|
||||
|
||||
Version 3.4.0 - 2015-01-19
|
||||
* Initial release
|
||||
|
|
|
@ -5,3 +5,7 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
|
|||
msgctxt "field:stock.external.reception.line,lot:"
|
||||
msgid "Lot"
|
||||
msgstr "Lot"
|
||||
|
||||
msgctxt "field:stock.external.reception.line,lot_number:"
|
||||
msgid "Lot Number"
|
||||
msgstr "Número lot"
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "field:stock.external.reception.line,lot:"
|
||||
msgid "Lot"
|
||||
msgstr "Lote"
|
||||
|
||||
msgctxt "field:stock.external.reception.line,lot_number:"
|
||||
msgid "Lot Number"
|
||||
msgstr "Número lote"
|
||||
|
|
1
stock.py
1
stock.py
|
@ -10,6 +10,7 @@ __metaclass__ = PoolMeta
|
|||
|
||||
class ExternalReceptionLine:
|
||||
__name__ = 'stock.external.reception.line'
|
||||
lot_number = fields.Char('Lot Number')
|
||||
lot = fields.Many2One('stock.lot', 'Lot', domain=[
|
||||
('product', '=', Eval('product')),
|
||||
], depends=['product'])
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=3.4.0
|
||||
version=3.4.1
|
||||
depends:
|
||||
stock_external_reception
|
||||
stock_lot
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/field[@name='description']" position="after">
|
||||
<label name="lot_number"/>
|
||||
<field name="lot_number"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
<xpath expr="/form/field[@name='product']" position="after">
|
||||
<label name="lot"/>
|
||||
<field name="lot"/>
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='description']" position="after">
|
||||
<field name="lot_number"/>
|
||||
</xpath>
|
||||
<xpath expr="/tree/field[@name='product']" position="after">
|
||||
<field name="lot"/>
|
||||
</xpath>
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='description']" position="after">
|
||||
<field name="lot_number"/>
|
||||
</xpath>
|
||||
<xpath expr="/tree/field[@name='product']" position="after">
|
||||
<field name="lot"/>
|
||||
</xpath>
|
||||
|
|
Loading…
Reference in a new issue