Skip to content

Commit

Permalink
improve multie jpurnals
Browse files Browse the repository at this point in the history
  • Loading branch information
zaoral committed Sep 1, 2023
1 parent 41e73e7 commit 672185b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions l10n_uy_account/demo/account_customer_invoice_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<field name="invoice_payment_term_id" ref="account.account_payment_term_end_following_month"/>
<field name="move_type">out_invoice</field>
<field name="invoice_date" eval="time.strftime('%Y-%m')+'-01'"/>
<field name="journal_id" model="account.journal" eval="obj().search([('type', '=', 'sale'), ('l10n_uy_type', '=', 'preprinted')])"/>
<field name="journal_id" model="account.journal" eval="obj().search([('type', '=', 'sale'), ('l10n_uy_type', '=', 'preprinted')], limit=1)"/>
<field name="invoice_line_ids" eval="[
(0, 0, {'product_id': ref('product.product_product_2'), 'price_unit': 642.0, 'quantity': 1}),
(0, 0, {'product_id': ref('product.product_product_12'), 'price_unit': 120.0, 'quantity': 4}),
Expand All @@ -26,7 +26,7 @@
<field name="invoice_payment_term_id" ref="account.account_payment_term_end_following_month"/>
<field name="move_type">out_invoice</field>
<field name="invoice_date" eval="time.strftime('%Y-%m')+'-05'"/>
<field name="journal_id" model="account.journal" eval="obj().search([('type', '=', 'sale'), ('l10n_uy_type', '=', 'preprinted')])"/>
<field name="journal_id" model="account.journal" eval="obj().search([('type', '=', 'sale'), ('l10n_uy_type', '=', 'preprinted')], limit=1)"/>
<field name="l10n_latam_document_type_id" model="l10n_latam.document.type" eval="obj().env.ref('l10n_uy_account.dc_e_inv')"/>
<field name="invoice_line_ids" eval="[
(0, 0, {'product_id': ref('product.product_product_27'), 'price_unit': 642.0, 'quantity': 5}),
Expand All @@ -43,7 +43,7 @@
<field name="invoice_payment_term_id" ref="account.account_payment_term_end_following_month"/>
<field name="move_type">out_invoice</field>
<field name="invoice_date" eval="time.strftime('%Y-%m')+'-10'"/>
<field name="journal_id" model="account.journal" eval="obj().search([('type', '=', 'sale'), ('l10n_uy_type', '=', 'preprinted')])"/>
<field name="journal_id" model="account.journal" eval="obj().search([('type', '=', 'sale'), ('l10n_uy_type', '=', 'preprinted')], limit=1)"/>
<field name="l10n_latam_document_type_id" model="l10n_latam.document.type" eval="obj().env.ref('l10n_uy_account.dc_e_ticket')"/>
<field name="invoice_line_ids" eval="[
(0, 0, {'product_id': ref('product.product_product_27'), 'price_unit': 642.0, 'quantity': 5}),
Expand Down

0 comments on commit 672185b

Please sign in to comment.