Update version
This commit is contained in:
parent
4e4893e224
commit
7b759bceab
|
@ -0,0 +1,29 @@
|
|||
# See https://help.github.com/ignore-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/build
|
||||
/dist
|
||||
*egg-info
|
||||
|
||||
|
||||
/node_modules
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
|
||||
.DS_Store
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
package-lock*
|
||||
|
||||
/__pycache__
|
||||
/app/__pycache__
|
||||
/app/commons/__pycache__
|
20
contract.py
20
contract.py
|
@ -19,17 +19,18 @@ except:
|
|||
print("Please install it...!")
|
||||
|
||||
|
||||
__all__ = ['StaffContract', 'ContractReturnActive', 'ContractsEmployees',
|
||||
'ContractsEmployeesReport', 'ContractsEmployeesStart',
|
||||
'StaffContractFuthermore', 'AddFuthermore', 'AddFuthermoreStart',
|
||||
'PriorNoticeReport', 'FinishContractReport', 'LegalContractReport',
|
||||
'ContractCertificationReport', 'FuthermoreContractReport',
|
||||
'FuthermoreContractStart', 'FuthermoreContract',
|
||||
'OperationalContractReport',]
|
||||
__all__ = [
|
||||
'StaffContract', 'ContractReturnActive', 'ContractsEmployees',
|
||||
'ContractsEmployeesReport', 'ContractsEmployeesStart',
|
||||
'StaffContractFuthermore', 'AddFuthermore', 'AddFuthermoreStart',
|
||||
'PriorNoticeReport', 'FinishContractReport', 'LegalContractReport',
|
||||
'ContractCertificationReport', 'FuthermoreContractReport',
|
||||
'FuthermoreContractStart', 'FuthermoreContract',
|
||||
'OperationalContractReport'
|
||||
]
|
||||
|
||||
|
||||
class StaffContract:
|
||||
__metaclass__ = PoolMeta
|
||||
class StaffContract(metaclass=PoolMeta):
|
||||
__name__ = 'staff.contract'
|
||||
transport_bonus = fields.Numeric('Transport Bonus', digits=(16, 2),
|
||||
states={'readonly': (Eval('state') != 'draft'),})
|
||||
|
@ -65,6 +66,7 @@ class StaffContract:
|
|||
customer = fields.Many2One('party.party', 'Customer', states={
|
||||
'readonly': Eval('state') == 'finished',
|
||||
})
|
||||
week_work_days = fields.Integer('Week Work Days', select=True)
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
|
|
24
locale/es.po
24
locale/es.po
|
@ -88,7 +88,7 @@ msgstr "Otrosí"
|
|||
|
||||
msgctxt "field:staff.contract,last_salary:"
|
||||
msgid "Last Salary"
|
||||
msgstr ""
|
||||
msgstr "Última Salario"
|
||||
|
||||
msgctxt "field:staff.contract,require_trial_time:"
|
||||
msgid "Require Trial Time"
|
||||
|
@ -114,6 +114,10 @@ msgctxt "field:staff.contract,trial_time:"
|
|||
msgid "Trial Time"
|
||||
msgstr "Período de Prueba"
|
||||
|
||||
msgctxt "field:staff.contract,week_work_days:"
|
||||
msgid "Week Work Days"
|
||||
msgstr "Dias de Trabajo Semanales"
|
||||
|
||||
msgctxt "field:staff.contract.futhermore,contract:"
|
||||
msgid "Contract"
|
||||
msgstr "Contrato"
|
||||
|
@ -168,7 +172,7 @@ msgstr "Nuevo Salario"
|
|||
|
||||
msgctxt "field:staff.contract.futhermore,salary_words:"
|
||||
msgid "Salary (Words)"
|
||||
msgstr ""
|
||||
msgstr "Salario (Letras)"
|
||||
|
||||
msgctxt "field:staff.contract.futhermore,state:"
|
||||
msgid "State"
|
||||
|
@ -450,6 +454,11 @@ msgctxt "report:staff_co.bank_letter_report:"
|
|||
msgid "Apertura de cuenta para"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:staff_co.bank_letter_report:"
|
||||
msgid "C"
|
||||
msgstr "C"
|
||||
|
||||
msgctxt "report:staff_co.bank_letter_report:"
|
||||
msgid "C.C."
|
||||
msgstr ""
|
||||
|
@ -634,6 +643,11 @@ msgctxt "report:staff_co.contract_certification_report:"
|
|||
msgid "_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:staff_co.contract_certification_report:"
|
||||
msgid "c"
|
||||
msgstr "c"
|
||||
|
||||
msgctxt "report:staff_co.contract_certification_report:"
|
||||
msgid "de"
|
||||
msgstr ""
|
||||
|
@ -1858,9 +1872,10 @@ msgctxt "report:staff_co.legal_contract_report:"
|
|||
msgid ". 3)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:staff_co.legal_contract_report:"
|
||||
msgid "1"
|
||||
msgstr ""
|
||||
msgstr "ACEITES Y LUBRICANTES"
|
||||
|
||||
msgctxt "report:staff_co.legal_contract_report:"
|
||||
msgid "10"
|
||||
|
@ -2503,9 +2518,10 @@ msgctxt "report:staff_co.operational_contract_report:"
|
|||
msgid "0) mensual. PARÁGRAFO 1: Los pagos se harán"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "report:staff_co.operational_contract_report:"
|
||||
msgid "1"
|
||||
msgstr ""
|
||||
msgstr "ACEITES Y LUBRICANTES"
|
||||
|
||||
msgctxt "report:staff_co.operational_contract_report:"
|
||||
msgid "10"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=5.0.0
|
||||
version=5.0.1
|
||||
depends:
|
||||
party
|
||||
currency
|
||||
|
|
|
@ -18,6 +18,8 @@ this repository contains the full copyright notices and license terms. -->
|
|||
<field name="require_trial_time"/>
|
||||
<label name="trial_time"/>
|
||||
<field name="trial_time"/>
|
||||
<label name="week_work_days"/>
|
||||
<field name="week_work_days"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/notebook/page[@id='additional_info']/field[@name='company']"
|
||||
|
|
Loading…
Reference in New Issue