[MERGE] forward port branch saas-11 up to dd7b2556c6
This commit is contained in:
@@ -16,8 +16,8 @@ LINE_FIELDS = ['debit', 'credit', 'account_id', 'move_id', 'partner_id']
|
|||||||
class AccountMove(models.Model):
|
class AccountMove(models.Model):
|
||||||
_inherit = "account.move"
|
_inherit = "account.move"
|
||||||
|
|
||||||
l10n_fr_secure_sequence_number = fields.Integer(readonly=True)
|
l10n_fr_secure_sequence_number = fields.Integer(readonly=True, copy=False)
|
||||||
l10n_fr_hash = fields.Char(readonly=True)
|
l10n_fr_hash = fields.Char(readonly=True, copy=False)
|
||||||
l10n_fr_string_to_hash = fields.Char(compute='_compute_string_to_hash', readonly=True, store=False)
|
l10n_fr_string_to_hash = fields.Char(compute='_compute_string_to_hash', readonly=True, store=False)
|
||||||
|
|
||||||
def _get_new_hash(self, secure_seq_number):
|
def _get_new_hash(self, secure_seq_number):
|
||||||
|
|||||||
@@ -3,4 +3,11 @@ xset s off
|
|||||||
xset -dpms
|
xset -dpms
|
||||||
|
|
||||||
export HOME=/tmp
|
export HOME=/tmp
|
||||||
/usr/bin/firefox http://localhost:8069/point_of_sale/display &
|
|
||||||
|
DISPLAY_URL='http://localhost:8069/point_of_sale/display'
|
||||||
|
|
||||||
|
# wait until odoo is ready, otherwise you will have to plug a
|
||||||
|
# keyboard into the posbox just to refresh firefox
|
||||||
|
until wget -q "${DISPLAY_URL}" -O /dev/null ; do sleep 1 ; done
|
||||||
|
|
||||||
|
/usr/bin/firefox "${DISPLAY_URL}" &
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
<field name="price_unit" widget="monetary"/>
|
<field name="price_unit" widget="monetary"/>
|
||||||
<field name="discount" widget="monetary"/>
|
<field name="discount" widget="monetary"/>
|
||||||
<field name="tax_ids_after_fiscal_position" widget="many2many_tags"/>
|
<field name="tax_ids_after_fiscal_position" widget="many2many_tags"/>
|
||||||
<field name="tax_ids" invisible="1"/>
|
<field name="tax_ids" widget="many2many_tags" invisible="1"/>
|
||||||
<field name="price_subtotal" widget="monetary"/>
|
<field name="price_subtotal" widget="monetary"/>
|
||||||
<field name="price_subtotal_incl" widget="monetary"/>
|
<field name="price_subtotal_incl" widget="monetary"/>
|
||||||
</tree>
|
</tree>
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
<field name="price_subtotal" invisible="1" widget="monetary"/>
|
<field name="price_subtotal" invisible="1" widget="monetary"/>
|
||||||
<field name="price_subtotal_incl" invisible="1" widget="monetary"/>
|
<field name="price_subtotal_incl" invisible="1" widget="monetary"/>
|
||||||
<field name="tax_ids_after_fiscal_position" widget="many2many_tags"/>
|
<field name="tax_ids_after_fiscal_position" widget="many2many_tags"/>
|
||||||
<field name="tax_ids" invisible="1"/>
|
<field name="tax_ids" widget="many2many_tags" invisible="1"/>
|
||||||
<field name="notice"/>
|
<field name="notice"/>
|
||||||
</group>
|
</group>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user