|
1.
|
|
|
In the field 'Promissory note' you need put the text that you like that was colocate in the report as promissory, if you like take a data from the parner, company or the invoice you need create a new variable in the field 'Variables to use in text' as follows :
'name_variable' : object.value of object, and when you need use an variable you put %(variable)s for use information from an object.
When you need information from the partner, use partner.field that you need from the partner, for company use company.field an equal for an field from invoice.
NOTE: If you need use symbol '%', you need use %%.
|
|
|
module: l10n_mx_notes_invoice
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
code:addons/l10n_mx_notes_invoice/res_company.py:48
|
|
2.
|
|
|
Variables to use in text
|
|
|
module: l10n_mx_notes_invoice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
field:res.company,details:0
field:res.company,dict_var:0
field:res.company,sample:0
field:res.company,sample_dict:0
|
|
3.
|
|
|
If you like put the text
I Partner pay to the order of My Company the amount of $500.00, you need put:
|
|
|
module: l10n_mx_notes_invoice
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
code:addons/l10n_mx_notes_invoice/res_company.py:58
|
|
4.
|
|
|
This text will put in the report of Invoice
|
|
|
module: l10n_mx_notes_invoice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
help:res.company,dinamic_text:0
|
|
5.
|
|
|
Companies
|
|
|
module: l10n_mx_notes_invoice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
model:ir.model,name:l10n_mx_notes_invoice.model_res_company
|
|
6.
|
|
|
'partner_name' : partner.name, 'company_name' : company.name, 'invoice_amount' : invoice.amount_total
|
|
|
module: l10n_mx_notes_invoice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
code:addons/l10n_mx_notes_invoice/res_company.py:62
|
|
7.
|
|
|
Sample
|
|
|
module: l10n_mx_notes_invoice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
view:res.company:0
|
|
8.
|
|
|
Put te variables used in text
|
|
|
module: l10n_mx_notes_invoice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
help:res.company,dict_var:0
|
|
9.
|
|
|
Promissory note
|
|
|
module: l10n_mx_notes_invoice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
field:res.company,dinamic_text:0
field:res.company,sample_text:0
|
|
10.
|
|
|
'I %(partner_name)s pay to the order of %(company_name)s the amount of %(invoice_amount)s'
|
|
|
module: l10n_mx_notes_invoice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
code:addons/l10n_mx_notes_invoice/res_company.py:60
|