[tryton-commits] changeset in modules/stock:default Use date instead of datetime ...

2022-09-30 Thread Adrià Tarroja Caubet
changeset f80b86865a95 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=f80b86865a95
description:
Use date instead of datetime on delivery note report

issue11748
review431671003
diffstat:

 delivery_note.fodt |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 449fb2bdb0c0 -r f80b86865a95 delivery_note.fodt
--- a/delivery_note.fodtThu Sep 29 23:42:06 2022 +0200
+++ b/delivery_note.fodtFri Sep 30 09:01:20 2022 +0200
@@ -459,7 +459,7 @@


Delivery Note
-   Shipment 
Number: Customer Code: 
Reference: 
<', 
' if (shipment.origins and shipment.reference) else 
''>Date: 
+   Shipment 
Number: Customer Code: 
Reference: 
<', 
' if (shipment.origins and shipment.reference) else 
''>Date: 

 
 



[tryton-commits] changeset in modules/web_shop_vue_storefront:default Fill curren...

2022-09-30 Thread Maxime Richez
changeset 03358f28c2bc in modules/web_shop_vue_storefront:default
details: 
https://hg.tryton.org/modules/web_shop_vue_storefront?cmd=changeset&node=03358f28c2bc
description:
Fill currency on move in tests

issue11749
review418191003
diffstat:

 tests/test_module.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 58bc82a5a9cd -r 03358f28c2bc tests/test_module.py
--- a/tests/test_module.py  Sat Sep 10 17:35:38 2022 +0200
+++ b/tests/test_module.py  Fri Sep 30 10:08:46 2022 +0200
@@ -101,6 +101,7 @@
 move.from_location = supplier
 move.to_location = storage
 move.unit_price = Decimal(50)
+move.currency = web_shop.company.currency
 move.save()
 Move.do([move])
 Product.set_vsf_identifier([product])



[tryton-commits] changeset in modules/product_cost_fifo:default Fill currency on ...

2022-09-30 Thread Cédric Krier
changeset 2fc4498bbb1c in modules/product_cost_fifo:default
details: 
https://hg.tryton.org/modules/product_cost_fifo?cmd=changeset&node=2fc4498bbb1c
description:
Fill currency on move in tests

issue11749
diffstat:

 tests/scenario_product_cost_fifo_recompute_cost_price.rst|  5 +
 tests/scenario_product_cost_fifo_recompute_cost_price_production.rst |  2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diffs (62 lines):

diff -r 1dadc6237a4a -r 2fc4498bbb1c 
tests/scenario_product_cost_fifo_recompute_cost_price.rst
--- a/tests/scenario_product_cost_fifo_recompute_cost_price.rst Wed Sep 14 
19:10:34 2022 +0200
+++ b/tests/scenario_product_cost_fifo_recompute_cost_price.rst Fri Sep 30 
22:41:34 2022 +0200
@@ -56,6 +56,7 @@
 ... from_location=supplier_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('100'),
+... currency=company.currency,
 ... effective_date=today - dt.timedelta(days=2)).click('do')
 >>> StockMove(
 ... product=product,
@@ -63,6 +64,7 @@
 ... from_location=supplier_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('120'),
+... currency=company.currency,
 ... effective_date=today - dt.timedelta(days=1)).click('do')
 >>> StockMove(
 ... product=product,
@@ -76,6 +78,7 @@
 ... from_location=storage_loc,
 ... to_location=customer_loc,
 ... unit_price=Decimal('300'),
+... currency=company.currency,
 ... effective_date=today - dt.timedelta(days=1)).click('do')
 >>> StockMove(
 ... product=product,
@@ -83,6 +86,7 @@
 ... from_location=supplier_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('100'),
+... currency=company.currency,
 ... effective_date=today).click('do')
 >>> StockMove(
 ... product=product,
@@ -90,6 +94,7 @@
 ... from_location=storage_loc,
 ... to_location=customer_loc,
 ... unit_price=Decimal('300'),
+... currency=company.currency,
 ... effective_date=today).click('do')
 >>> StockMove(
 ... product=product,
diff -r 1dadc6237a4a -r 2fc4498bbb1c 
tests/scenario_product_cost_fifo_recompute_cost_price_production.rst
--- a/tests/scenario_product_cost_fifo_recompute_cost_price_production.rst  
Wed Sep 14 19:10:34 2022 +0200
+++ b/tests/scenario_product_cost_fifo_recompute_cost_price_production.rst  
Fri Sep 30 22:41:34 2022 +0200
@@ -65,6 +65,7 @@
 ... from_location=production_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('40.'),
+... currency=company.currency,
 ... effective_date=today).click('do')
 
 >>> [m.cost_price for m in StockMove.find([])]
@@ -90,6 +91,7 @@
 ... from_location=supplier_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('20.'),
+... currency=company.currency,
 ... effective_date=yesterday).click('do')
 
 Recompute cost price::



[tryton-commits] changeset in modules/product_cost_history:default Fill currency ...

2022-09-30 Thread Cédric Krier
changeset 1e611c15931f in modules/product_cost_history:default
details: 
https://hg.tryton.org/modules/product_cost_history?cmd=changeset&node=1e611c15931f
description:
Fill currency on move in tests

issue11749
diffstat:

 tests/scenario_product_cost_history.rst |  4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (35 lines):

diff -r 96445d8e52ad -r 1e611c15931f tests/scenario_product_cost_history.rst
--- a/tests/scenario_product_cost_history.rst   Mon May 02 17:00:19 2022 +0200
+++ b/tests/scenario_product_cost_history.rst   Fri Sep 30 22:41:34 2022 +0200
@@ -65,6 +65,7 @@
 ... from_location=supplier_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('100.'),
+... currency=company.currency,
 ... effective_date=today - dt.timedelta(days=2)).click('do')
 >>> modify_cost_price = Wizard('product.modify_cost_price', [product])
 >>> modify_cost_price.form.cost_price = '90.'
@@ -75,6 +76,7 @@
 ... from_location=supplier_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('90.'),
+... currency=company.currency,
 ... effective_date=today - dt.timedelta(days=1)).click('do')
 >>> modify_cost_price = Wizard('product.modify_cost_price', [product])
 >>> modify_cost_price.form.cost_price = '120.'
@@ -85,6 +87,7 @@
 ... from_location=supplier_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('120.'),
+... currency=company.currency,
 ... effective_date=today - dt.timedelta(days=1)).click('do')
 >>> modify_cost_price = Wizard('product.modify_cost_price', [product])
 >>> modify_cost_price.form.cost_price = '110.'
@@ -95,6 +98,7 @@
 ... from_location=supplier_loc,
 ... to_location=storage_loc,
 ... unit_price=Decimal('110.'),
+... currency=company.currency,
 ... effective_date=today).click('do')
 
 



[tryton-commits] changeset in modules/production:default Fill currency on move in...

2022-09-30 Thread Cédric Krier
changeset 24b2dca7b398 in modules/production:default
details: 
https://hg.tryton.org/modules/production?cmd=changeset&node=24b2dca7b398
description:
Fill currency on move in tests

issue11749
diffstat:

 tests/scenario_production_set_cost.rst |  1 +
 tests/scenario_production_waste.rst|  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 61a10108cce5 -r 24b2dca7b398 tests/scenario_production_set_cost.rst
--- a/tests/scenario_production_set_cost.rstWed Sep 14 19:27:28 2022 +0200
+++ b/tests/scenario_production_set_cost.rstFri Sep 30 22:41:34 2022 +0200
@@ -71,6 +71,7 @@
 >>> output.product = component
 >>> output.quantity = 2
 >>> output.unit_price = Decimal(0)
+>>> output.currency = company.currency
 >>> output.from_location = production.location
 >>> output.to_location = production.warehouse.storage_location
 >>> production.click('done')
diff -r 61a10108cce5 -r 24b2dca7b398 tests/scenario_production_waste.rst
--- a/tests/scenario_production_waste.rst   Wed Sep 14 19:27:28 2022 +0200
+++ b/tests/scenario_production_waste.rst   Fri Sep 30 22:41:34 2022 +0200
@@ -75,6 +75,7 @@
 >>> output.from_location = production.location
 >>> output.to_location = warehouse_loc.storage_location
 >>> output.unit_price = Decimal('0')
+>>> output.currency = company.currency
 >>> waste_output = production.outputs.new()
 >>> waste_output.quantity = 1.0
 >>> waste_output.product = product



[tryton-commits] changeset in weblate:default Monthly update

2022-09-30 Thread Weblate
changeset 106be4cc9d3f in weblate:default
details: https://hg.tryton.org/weblate?cmd=changeset&node=106be4cc9d3f
description:
Monthly update
diffstat:

 templates/account.pot  |   40 +
 templates/account_consolidation.pot|  235 ++
 templates/account_invoice.pot  |   36 +
 templates/account_statement_sepa.pot   |  120 +++
 templates/carrier_carriage.pot |  263 +++
 templates/company.pot  |3 +-
 templates/country.pot  |  324 +
 templates/product_cost_fifo.pot|6 +
 templates/purchase_shipment_cost.pot   |8 +
 templates/sale.pot |  116 +-
 templates/sale_history.pot |8 +
 templates/sale_opportunity.pot |  443 ++--
 templates/sale_product_recommendation.pot  |   45 +
 templates/sale_product_recommendation_association_rule.pot |  129 +++
 templates/sale_shipment_cost.pot   |8 +-
 templates/sale_subscription.pot|4 +
 templates/sale_supply_drop_shipment.pot|   12 +
 templates/sao.pot  |   20 +-
 templates/stock.pot|   44 +-
 templates/stock_shipment_cost.pot  |   24 +
 templates/tryton.pot   |3 +
 21 files changed, 1592 insertions(+), 299 deletions(-)

diffs (2520 lines):

diff -r 8d7cf814b46b -r 106be4cc9d3f templates/account.pot
--- a/templates/account.pot Sat Sep 24 11:18:01 2022 +
+++ b/templates/account.pot Sat Oct 01 02:13:02 2022 +0200
@@ -1289,6 +1289,18 @@
 msgid "Tax Lines"
 msgstr ""
 
+msgctxt "field:account.move.line.delegate.start,description:"
+msgid "Description"
+msgstr ""
+
+msgctxt "field:account.move.line.delegate.start,journal:"
+msgid "Journal"
+msgstr ""
+
+msgctxt "field:account.move.line.delegate.start,party:"
+msgid "Party"
+msgstr ""
+
 msgctxt "field:account.move.line.group.start,description:"
 msgid "Description"
 msgstr ""
@@ -2616,6 +2628,10 @@
 msgid "Account Move Line"
 msgstr ""
 
+msgctxt "model:account.move.line.delegate.start,name:"
+msgid "Delegate Lines"
+msgstr ""
+
 msgctxt "model:account.move.line.group.start,name:"
 msgid "Group Lines"
 msgstr ""
@@ -2816,6 +2832,10 @@
 msgid "Create Periods"
 msgstr ""
 
+msgctxt "model:ir.action,name:act_delegate_lines_wizard"
+msgid "Delegate Lines"
+msgstr ""
+
 msgctxt "model:ir.action,name:act_fiscalyear_form"
 msgid "Fiscal Years"
 msgstr ""
@@ -2872,6 +2892,10 @@
 msgid "Account Moves"
 msgstr ""
 
+msgctxt "model:ir.action,name:act_move_form_delegate"
+msgid "Delegate Account Move"
+msgstr ""
+
 msgctxt "model:ir.action,name:act_move_form_grouping"
 msgid "Grouped Account Move"
 msgstr ""
@@ -3128,6 +3152,14 @@
 msgid "Deferral must be unique by account and fiscal year."
 msgstr ""
 
+msgctxt "model:ir.message,text:msg_delegate_line_same_company"
+msgid "You cannot delegate together lines of different companies."
+msgstr ""
+
+msgctxt "model:ir.message,text:msg_delegate_line_same_origins"
+msgid "You cannot delegate together lines with different origins."
+msgstr ""
+
 msgctxt "model:ir.message,text:msg_delete_account_with_move_lines"
 msgid "You cannot delete account \"%(account)s\" because it has move lines."
 msgstr ""
@@ -4598,6 +4630,14 @@
 msgid "Cancel"
 msgstr ""
 
+msgctxt "wizard_button:account.move.line.delegate,start,delegate:"
+msgid "Delegate"
+msgstr ""
+
+msgctxt "wizard_button:account.move.line.delegate,start,end:"
+msgid "Cancel"
+msgstr ""
+
 msgctxt "wizard_button:account.move.line.group,start,end:"
 msgid "Cancel"
 msgstr ""
diff -r 8d7cf814b46b -r 106be4cc9d3f templates/account_consolidation.pot
--- a/templates/account_consolidation.pot   Sat Sep 24 11:18:01 2022 +
+++ b/templates/account_consolidation.pot   Sat Oct 01 02:13:02 2022 +0200
@@ -0,0 +1,235 @@
+#
+msgid ""
+msgstr "Content-Type: text/plain; charset=utf-8\n"
+
+msgctxt "field:account.account.type,consolidation:"
+msgid "Consolidation"
+msgstr ""
+
+msgctxt "field:account.consolidation,amount:"
+msgid "Amount"
+msgstr ""
+
+msgctxt "field:account.consolidation,amount_cmp:"
+msgid "Amount"
+msgstr ""
+
+msgctxt "field:account.consolidation,assets:"
+msgid "Assets"
+msgstr ""
+
+msgctxt "field:account.consolidation,children:"
+msgid "Children"
+msgstr ""
+
+msgctxt "field:account.consolidation,currency:"
+msgid "Currency"
+msgstr ""
+
+msgctxt "field:account.consolidation,name:"
+msgid "Name"
+msgstr ""
+
+msgctxt "field:account.consolidation,parent:"
+msgid "Parent"
+msgstr ""
+
+msgctxt "field:account.consolidation,statement:"
+msgid "Statement"
+msgstr ""
+
+msgctxt "field:account.consolidat