Skip to content

Commit a177cb5

Browse files
🚑 access error for poses created for different companies
1 parent bc7a37a commit a177cb5

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

pos_multi_session/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"category": "Point Of Sale",
1010
# "live_test_url": 'http://apps.it-projects.info/shop/product/pos-multi-session?version=11.0',
1111
"images": ["images/pos-multi-session.png"],
12-
"version": "11.0.4.2.10",
12+
"version": "11.0.4.2.11",
1313
"application": False,
1414

1515
"author": "IT-Projects LLC, Ivan Yelizariev",

pos_multi_session/doc/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
`4.2.11`
2+
--------
3+
4+
- **Fix:** Access error for poses created for different companies
5+
16
`4.2.10`
27
--------
38

pos_multi_session/views/pos_multi_session_views.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,29 @@
8888
</div>
8989
</div>
9090
</xpath>
91+
<xpath expr="//field[@name='journal_id']/../../../../.." position="after">
92+
<h2 attrs="{'invisible': [('is_installed_account_accountant', '=', True)]}">Accounting</h2>
93+
<div class="row mt16 o_settings_container" attrs="{'invisible': [('is_installed_account_accountant', '=', True)]}">
94+
<div class="col-xs-12 col-md-6 o_setting_box">
95+
<div class="o_setting_right_pane">
96+
<label string="Journal Entries"/>
97+
<div class="text-muted">
98+
Configuration for journal entries of PoS orders
99+
</div>
100+
<div class="content-group">
101+
<div class="row mt16" title="Whenever you close a session, one entry is generated in the following accounting journal for all the orders not invoiced. Invoices are recorded in accounting separately.">
102+
<label string="Sales Journal" for="journal_id" class="col-md-3 o_light_label" widget="selection"/>
103+
<field name="journal_id"/>
104+
</div>
105+
<div class="row" groups="account.group_account_user" title="Get one journal item per product rather than one journal item per receipt line. This works for any anonymous order. If the customer is set on the order, one journal item is created for each receipt line. This option is recommended for an easy review of your journal entries when managing lots of orders.">
106+
<label string="Group Journal Items" for="group_by" class="col-md-3 o_light_label"/>
107+
<field name="group_by"/>
108+
</div>
109+
</div>
110+
</div>
111+
</div>
112+
</div>
113+
</xpath>
91114
</field>
92115
</record>
93116

0 commit comments

Comments
 (0)